Skip to content

ocfs2: Add extended attributes for ocfs2. V3

Tao Ma ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15Modify ocfs2_num_free_extents for future xattr usage.fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/aops.c +3 more+15 -110 replies
2/15Use ocfs2_extent_list instead of ocfs2_dinode.fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/aops.c +5 more+40 -200 replies
3/15Abstract ocfs2_extent_tree in b-tree operations.fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/aops.c +5 more+456 -2881 reply
3/15Abstract ocfs2_extent_tree in b-tree operations.+0 -00 replies
4/15Make extend allocation generic.fs/ocfs2/aops.c fs/ocfs2/dir.c fs/ocfs2/file.c +4 more+177 -1351 reply
4/15Make extend allocation generic.+0 -01 reply
4/15Make extend allocation generic.+0 -01 reply
4/15Make extend allocation generic.+0 -03 replies
4/15Make extend allocation generic.+0 -00 replies
4/15Make extend allocation generic.+0 -00 replies
5/15Add xattr header in ocfs2. v3fs/ocfs2/ocfs2_fs.h+118 -01 reply
5/15Add xattr header in ocfs2.v3 revised.fs/ocfs2/ocfs2_fs.h+118 -01 reply
6/15Add helper function in uptodate for removing xattr clusters.V3fs/ocfs2/uptodate.c fs/ocfs2/uptodate.h+29 -61 reply
7/15Add extent tree operation for xattr value.v3fs/ocfs2/Makefile fs/ocfs2/alloc.c fs/ocfs2/alloc.h +10 more+568 -642 replies
7/15Add extent tree operation for xattr value.v3+0 -00 replies
7/15Add extent tree operation for xattr value.v3+0 -00 replies
10/15Add xattr tree operations in ocfs2_extent_tree.v3fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/suballoc.c+99 -00 replies
11/15Add xattr bucket iteration for large numbers of EAs.v11fs/ocfs2/ocfs2_fs.h fs/ocfs2/xattr.c fs/ocfs2/xattr.h+293 -61 reply
12/15Add xattr find process for xattr index btree.v3fs/ocfs2/xattr.c+324 -231 reply
12/15Add xattr find process for xattr index btree.v3fs/ocfs2/xattr.c+328 -231 reply
13/15Enable xattr set in index btree. v3fs/ocfs2/xattr.c fs/ocfs2/xattr.h+2275 -22 replies
13/15Enable xattr set in index btree. v3+0 -07 replies
13/15Enable xattr set in index btree. v3+0 -01 reply
14/15Delete all xattr buckets in inode removal.v3fs/ocfs2/xattr.c+80 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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