original_kernel/fs/ocfs2
Tao Ma 5a7bc8eb29 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>
2008-10-13 13:57:59 -07:00
..
cluster
dlm
Makefile
alloc.c ocfs2: Make high level btree extend code generic 2008-10-13 13:57:59 -07:00
alloc.h ocfs2: Make high level btree extend code generic 2008-10-13 13:57:59 -07:00
aops.c ocfs2: Make high level btree extend code generic 2008-10-13 13:57:59 -07:00
aops.h
buffer_head_io.c
buffer_head_io.h
dcache.c
dcache.h
dir.c ocfs2: Make high level btree extend code generic 2008-10-13 13:57:59 -07:00
dir.h
dlmglue.c
dlmglue.h
export.c
export.h
extent_map.c
extent_map.h
file.c ocfs2: Make high level btree extend code generic 2008-10-13 13:57:59 -07:00
file.h ocfs2: Make high level btree extend code generic 2008-10-13 13:57:59 -07:00
heartbeat.c
heartbeat.h
inode.c ocfs2: POSIX file locks support 2008-10-13 13:57:57 -07:00
inode.h
ioctl.c
ioctl.h
journal.c
journal.h ocfs2: Use ocfs2_extent_list instead of ocfs2_dinode. 2008-10-13 13:57:58 -07:00
localalloc.c ocfs2: track local alloc state via debugfs 2008-10-13 13:57:58 -07:00
localalloc.h ocfs2: throttle back local alloc when low on disk space 2008-10-13 13:57:57 -07:00
locks.c ocfs2: POSIX file locks support 2008-10-13 13:57:57 -07:00
locks.h ocfs2: POSIX file locks support 2008-10-13 13:57:57 -07:00
mmap.c
mmap.h
namei.c ocfs2: Make high level btree extend code generic 2008-10-13 13:57:59 -07:00
namei.h
ocfs1_fs_compat.h
ocfs2.h ocfs2: track local alloc state via debugfs 2008-10-13 13:57:58 -07:00
ocfs2_fs.h ocfs2: Add the basic xattr disk layout in ocfs2_fs.h 2008-10-13 13:57:59 -07:00
ocfs2_lockid.h
ocfs2_lockingver.h
resize.c
resize.h
slot_map.c
slot_map.h
stack_o2cb.c
stack_user.c ocfs2: POSIX file locks support 2008-10-13 13:57:57 -07:00
stackglue.c ocfs2: POSIX file locks support 2008-10-13 13:57:57 -07:00
stackglue.h ocfs2: POSIX file locks support 2008-10-13 13:57:57 -07:00
suballoc.c ocfs2: Abstract ocfs2_extent_tree in b-tree operations. 2008-10-13 13:57:58 -07:00
suballoc.h ocfs2: Abstract ocfs2_extent_tree in b-tree operations. 2008-10-13 13:57:58 -07:00
super.c ocfs2: throttle back local alloc when low on disk space 2008-10-13 13:57:57 -07:00
super.h
symlink.c
symlink.h
sysfile.c
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h