From: Chris Mason Date: Thu, 9 Aug 2007 00:17:12 +0000 (-0400) Subject: Btrfs: Replace extent tree preallocation code with some bit radix magic. X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~518 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26b8003f10569a9155b7539ef5a7379ee0c6b050;p=pandora-kernel.git Btrfs: Replace extent tree preallocation code with some bit radix magic. Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 8b7d01597f4f..59e09e37ab93 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -299,12 +299,7 @@ struct btrfs_fs_info { struct radix_tree_root block_group_radix; struct radix_tree_root block_group_data_radix; struct radix_tree_root extent_map_radix; - - u64 extent_tree_insert[BTRFS_MAX_LEVEL * 6]; - int extent_tree_insert_nr; - u64 extent_tree_prealloc[BTRFS_MAX_LEVEL * 6]; - int extent_tree_prealloc_nr; - + struct radix_tree_root extent_ins_radix; u64 generation; struct btrfs_transaction *running_transaction; struct btrfs_super_block *disk_super; Reading git-diff-tree failed