kernel_optimize_test/fs/ocfs2
Joel Becker f99b9b7ccf ocfs2: Make ocfs2_extent_tree the first-class representation of a tree.
We now have three different kinds of extent trees in ocfs2: inode data
(dinode), extended attributes (xattr_tree), and extended attribute
values (xattr_value).  There is a nice abstraction for them,
ocfs2_extent_tree, but it is hidden in alloc.c.  All the calling
functions have to pick amongst a varied API and pass in type bits and
often extraneous pointers.

A better way is to make ocfs2_extent_tree a first-class object.
Everyone converts their object to an ocfs2_extent_tree() via the
ocfs2_get_*_extent_tree() calls, then uses the ocfs2_extent_tree for all
tree calls to alloc.c.

This simplifies a lot of callers, making for readability.  It also
provides an easy way to add additional extent tree types, as they only
need to be defined in alloc.c with a ocfs2_get_<new>_extent_tree()
function.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
2008-10-13 16:57:05 -07:00
..
cluster ocfs2: Add extent tree operation for xattr value btrees 2008-10-13 16:57:01 -07:00
dlm
alloc.c ocfs2: Make ocfs2_extent_tree the first-class representation of a tree. 2008-10-13 16:57:05 -07:00
alloc.h ocfs2: Make ocfs2_extent_tree the first-class representation of a tree. 2008-10-13 16:57:05 -07:00
aops.c ocfs2: Make ocfs2_extent_tree the first-class representation of a tree. 2008-10-13 16:57:05 -07:00
aops.h
buffer_head_io.c
buffer_head_io.h
dcache.c
dcache.h
dir.c ocfs2: Make ocfs2_extent_tree the first-class representation of a tree. 2008-10-13 16:57:05 -07:00
dir.h
dlmglue.c
dlmglue.h
export.c
export.h
extent_map.c ocfs2: Add extent tree operation for xattr value btrees 2008-10-13 16:57:01 -07:00
extent_map.h ocfs2: Add extent tree operation for xattr value btrees 2008-10-13 16:57:01 -07:00
file.c ocfs2: Make ocfs2_extent_tree the first-class representation of a tree. 2008-10-13 16:57:05 -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: Add extended attribute support 2008-10-13 16:57:02 -07:00
inode.h ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
ioctl.c
ioctl.h
journal.c
journal.h ocfs2: Add extended attribute support 2008-10-13 16:57:02 -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
locks.h
Makefile ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
mmap.c
mmap.h
namei.c ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
namei.h
ocfs1_fs_compat.h
ocfs2_fs.h ocfs2: Add incompatible flag for extended attribute 2008-10-13 16:57:03 -07:00
ocfs2_lockid.h
ocfs2_lockingver.h
ocfs2.h ocfs2: Add incompatible flag for extended attribute 2008-10-13 16:57:03 -07:00
resize.c
resize.h
slot_map.c
slot_map.h
stack_o2cb.c
stack_user.c
stackglue.c
stackglue.h
suballoc.c ocfs2: Make ocfs2_extent_tree the first-class representation of a tree. 2008-10-13 16:57:05 -07:00
suballoc.h ocfs2: Make ocfs2_extent_tree the first-class representation of a tree. 2008-10-13 16:57:05 -07:00
super.c ocfs2: Add incompatible flag for extended attribute 2008-10-13 16:57:03 -07:00
super.h
symlink.c ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
symlink.h
sysfile.c
sysfile.h
uptodate.c ocfs2: Add helper function in uptodate.c for removing xattr clusters 2008-10-13 13:57:59 -07:00
uptodate.h ocfs2: Add helper function in uptodate.c for removing xattr clusters 2008-10-13 13:57:59 -07:00
ver.c
ver.h
xattr_trusted.c ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
xattr_user.c ocfs2: Add extended attribute support 2008-10-13 16:57:02 -07:00
xattr.c ocfs2: Make ocfs2_extent_tree the first-class representation of a tree. 2008-10-13 16:57:05 -07:00
xattr.h ocfs2: Enable xattr set in index btree 2008-10-13 16:57:03 -07:00