[Ocfs2-devel] [PATCH 0/15] ocfs2: Add extended attributes for ocfs2. V3

Tao Ma tao.ma at oracle.com
Wed Aug 6 23:23:48 PDT 2008


Hi all,
	Extended attributes are used for storing POSIX ACLs, SELinux labels, 
and user accessible metadata. They are essential for deploying file 
systems exported for workgroup use via samba. The following patches
implement extended attributes on the OCFS2 file system. This patch set 
implement extended attributes support for ocfs2.

Modification from V2 to V3:
1. Add ea support for symlink file, add xattr_sem, add ip_alloc_sem 
protect xattr and file data.
2. Remove all kmalloc+kmemcpy issue in set/list/get large numbers of EAs 
, so the efficiency should be improved a lot.
3. Add a thin layer for ocfs2_insert_extent.
4. Limit xattr entry to be only in 1st block of the bucket and limit 
xattr name/value pair within the same block.
5. Limit the xattr tree leaf size to be 64K.

Wish you enjoy it.

Regards,
Tiger and Tao



More information about the Ocfs2-devel mailing list