summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/uptodate.h
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2008-08-18 11:38:46 +0200
committerMark Fasheh <mfasheh@suse.com>2008-10-13 22:57:59 +0200
commit5a7bc8eb29b8c759df374d97b6189e03d4ea71c5 (patch)
tree9356d290dccd0afbb1b0e1f183c49bda843df052 /fs/ocfs2/uptodate.h
parentocfs2: Make high level btree extend code generic (diff)
downloadlinux-5a7bc8eb29b8c759df374d97b6189e03d4ea71c5.tar.xz
linux-5a7bc8eb29b8c759df374d97b6189e03d4ea71c5.zip
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.h')
0 files changed, 0 insertions, 0 deletions