From: Tao Ma Date: Mon, 18 Aug 2008 09:38:52 +0000 (+0800) Subject: ocfs2: Optionally limit extent size in ocfs2_insert_extent() X-Git-Tag: v2.6.28-rc1~572^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca12b7c48942d21b2e7890b820db9d578bc291cd;p=pandora-kernel.git 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 Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed