]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: Add extended attribute support
authorTiger Yang <tiger.yang@oracle.com>
Mon, 18 Aug 2008 09:11:00 +0000 (17:11 +0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 13 Oct 2008 23:57:02 +0000 (16:57 -0700)
commit7146555292d7b153050e6c95d99eaa41feda0a31
tree85717dc9d20b7ac1e31b683653933f2d30099f44
parent351b0201c83adc866c3574e3ed99157459bd95fe
ocfs2: Add extended attribute support

This patch implements storing extended attributes both in inode or a single
external block. We only store EA's in-inode when blocksize > 512 or that
inode block has free space for it. When an EA's value is larger than 80
bytes, we will store the value via b-tree outside inode or block.

Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
16 files changed:
fs/ocfs2/Makefile
fs/ocfs2/file.c
fs/ocfs2/inode.c
fs/ocfs2/inode.h
fs/ocfs2/journal.h
fs/ocfs2/namei.c
fs/ocfs2/ocfs2.h
fs/ocfs2/ocfs2_fs.h
fs/ocfs2/suballoc.c
fs/ocfs2/suballoc.h
fs/ocfs2/super.c
fs/ocfs2/symlink.c
fs/ocfs2/xattr.c
fs/ocfs2/xattr.h [new file with mode: 0644]
fs/ocfs2/xattr_trusted.c [new file with mode: 0644]
fs/ocfs2/xattr_user.c [new file with mode: 0644]