summaryrefslogtreecommitdiff
path: root/fs/ocfs2/uptodate.c
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2008-08-18 17:38:46 +0800
committerMark Fasheh <mfasheh@suse.com>2008-10-13 13:57:59 -0700
commit5a7bc8eb29b8c759df374d97b6189e03d4ea71c5 (patch)
tree9356d290dccd0afbb1b0e1f183c49bda843df052 /fs/ocfs2/uptodate.c
parent0eb8d47e69a2211a36643b180f1843ef45f6017d (diff)
ocfs2: Add the basic xattr disk layout in ocfs2_fs.h
Ocfs2 uses a very flexible structure for storing extended attributes on disk. Small amount of attributes are stored directly in the inode block - up to 256 bytes worth. If that fills up, attributes are also stored in an external block, linked to from the inode block. That block can in turn expand to a btree, capable of storing large numbers of attributes. Individual attribute values are stored inline if they're small enough (currently about 80 bytes, this can be changed though), and otherwise are expanded to a btree. The theoretical limit to the size of an individual attribute is about the same as an inode, though the kernel's upper bound on the size of an attributes data is far smaller. Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/uptodate.c')
0 files changed, 0 insertions, 0 deletions