Skip to content

ocfs2: Add extended attributes for ocfs2. V1

Tao Ma ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Modify ocfs2_num_free_extents for future xattr usage.v1fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/aops.c +3 more+15 -110 replies
2/8Use ocfs2_extent_list instead of ocfs2_dinode.v1fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/aops.c +5 more+40 -200 replies
3/8Make ocfs2_lock_allocators generic for extent allocation.v1fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/aops.c +5 more+418 -2781 reply
3/8Make ocfs2_lock_allocators generic for extent allocation.v1+0 -01 reply
4/8Make extend allocation generic.v1fs/ocfs2/file.c fs/ocfs2/file.h fs/ocfs2/suballoc.c +1 more+128 -931 reply
4/8Make extend allocation generic.v1+0 -00 replies
5/8Add xattr header in ocfs2.v1fs/ocfs2/xattr.h+95 -01 reply
5/8Add xattr header in ocfs2.v1+0 -00 replies
6/8Add extent tree operation for xattr value.v1fs/ocfs2/Makefile fs/ocfs2/alloc.c fs/ocfs2/alloc.h +8 more+461 -322 replies
6/8Add extent tree operation for xattr value.v1+0 -01 reply
6/8Add extent tree operation for xattr value.v1+0 -00 replies
7/8ocfs2: Add extended attributes support. v1+0 -00 replies
7/8ocfs2: Add extended attributes support. v1+0 -00 replies
8/8Add large numbers of extended attributes support for ocfs2.v1fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/xattr.c +1 more+3028 -410 replies
8/8(Imporved)Add large numbers of extended attributes support for ocfs2.v1fs/ocfs2/alloc.c fs/ocfs2/alloc.h fs/ocfs2/xattr.c +1 more+3084 -430 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/8] ocfs2: Add extended attributes for ocfs2. V1

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.

Patch 1-4: The refactoring of extent tree operation. xattr will use ocfs2_extent_list for both the large EA and large numbers of EA. So we need some refactoring so that the old code can work with them.

Patch 5: Add ocfs2 xattr header.

Patch 6: Add operations for storing large EA in ocfs2. This is also refactor the old extent tree a little.

Patch 7: The extended attributes for ocfs2. It enables extended attributes storage for both in-inode and one meta block. The main design doc can be found at
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/ExtendedAttributes.

Patch 8: Enables storing large numbers of EAs in ocfs2. The main design doc can be found at
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/IndexedEATrees. The main process is almost the same, but some difference is described in detail in that patch.

Regards,
Tiger and Tao