[Ocfs2-devel] [PATCH 3/3] ocfs2: Optimize inode group allocation by recording last used group.
Mark Fasheh
mfasheh at suse.com
Tue Jan 6 17:03:05 PST 2009
On Wed, Jan 07, 2009 at 08:49:24AM +0800, Tao Ma wrote:
> >> struct ocfs2_node_map osb_recovering_orphan_dirs;
> >> unsigned int *osb_orphan_wipes;
> >> wait_queue_head_t osb_wipe_event;
> >>+
> >>+ /* the group we used to allocate inodes. */
> >>+ u64 osb_last_alloc_group;
> >
> >Can you give this a name which is more specific to the inode allocators?
> >That way we can just add another u64 later for the metadata allocators,
> >should we decide to do the same for them.
> How about osb_inode_alloc_group?
That works for me.
--Mark
--
Mark Fasheh
More information about the Ocfs2-devel
mailing list