diff options
author | Tao Ma <tao.ma@oracle.com> | 2008-08-18 11:38:52 +0200 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-10-14 01:57:03 +0200 |
commit | ca12b7c48942d21b2e7890b820db9d578bc291cd (patch) | |
tree | e051e6ceb77a05db7dd1d749d7f3f1682c69196c /sound/aoa/aoa.h | |
parent | ocfs2: Add xattr lookup code xattr btrees (diff) | |
download | linux-ca12b7c48942d21b2e7890b820db9d578bc291cd.tar.xz linux-ca12b7c48942d21b2e7890b820db9d578bc291cd.zip |
ocfs2: Optionally limit extent size in ocfs2_insert_extent()
In xattr bucket, we want to limit the maximum size of a btree leaf,
otherwise we'll lose the benefits of hashing because we'll have to search
large leaves.
So add a new field in ocfs2_extent_tree which indicates the maximum leaf cluster
size we want so that we can prevent ocfs2_insert_extent() from merging the leaf
record even if it is contiguous with an adjacent record.
Other btree types are not affected by this change.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'sound/aoa/aoa.h')
0 files changed, 0 insertions, 0 deletions