[Ocfs2-devel] [PATCH 11/15] Add xattr bucket iteration for large numbers of EAs.v11

Mark Fasheh mfasheh at suse.com
Tue Aug 12 14:22:15 PDT 2008


On Thu, Aug 07, 2008 at 06:31:31AM +0800, Tao Ma wrote:
> Modification from V2 to V3:
> 1. Add a new abstration of ocfs2_xattr_bucket which records bhs
>    in this bucket and ocfs2_xattr_header for quick refrence.
> 2. Now ocfs2_iterate_xattr_buckets will only read the bhs of the
>    bucket, creat a ocfs2_xattr_bucket and let the caller do all
>    the rest of the work.
> 3. According to the discussion with Mark, now all the xe_entry
>    will only exist in the 1st block of the bucket and name/value
>    pair will not spread multiple blocks, so the efficiency will
>    be improved and the code is much easier.

Great, I like this new abstraction too.
	--Mark

--
Mark Fasheh



More information about the Ocfs2-devel mailing list