[Ocfs2-tools-devel] [PATCH 0/9] ocfs2-tools: add xattr support in ocfs2-tools v2

Tiger Yang tiger.yang at oracle.com
Fri Dec 19 01:32:53 PST 2008


Hi, Joel,

There are 9 patches add xattr support in ocfs2-tools. They are based on 
metaecc branch.

1: add xattr feature definitions in ocfs2_fs.h
2: update super_block and ocfs2_dinode fields about xattr for swap
3: update super_block and ocfs2_dinode fields about xattr in sizetest.c
4: add xattr_uuid_hash in libocfs2
5: add xattr support in mkfs.ocfs2
The top 5 patches are for mkfs.ocfs2, I have sent them before.
Now I recreate them for metaecc branch.
As xattr is an incompatible feature, you have to format ocfs2 volume
with --fs-features=xattr to enable xattr support.

6: add xattr support in lib
7: add xattr support in debugfs.ocfs2
a example output by debufs.ocfs2.

debugfs: xattr foo
debugfs: Xattrs inline: 3
         Xattr extent tree in index block #276490  Depth: 0  Records: 1
         Xattr extent record start at #308920  Has clusters: 1  Has 
buckets: 1
                 Xattrs in bucket #0: 18

         Xattrs in total: 21

8: add xattr support in fsck.ocfs2
9: add xattr support in tunefs.ocfs2

Thanks,
tiger




More information about the Ocfs2-tools-devel mailing list