summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason2007-08-09 02:17:12 +0200
committerDavid Woodhouse2007-08-09 02:17:12 +0200
commit26b8003f10569a9155b7539ef5a7379ee0c6b050 (patch)
tree22d788e74199629ca4deb2d5774fd3e5b9ef748a /fs/btrfs/ctree.h
parentBtrfs: Let some locks go during defrag and snapshot dropping (diff)
downloadkernel-qcow2-linux-26b8003f10569a9155b7539ef5a7379ee0c6b050.tar.gz
kernel-qcow2-linux-26b8003f10569a9155b7539ef5a7379ee0c6b050.tar.xz
kernel-qcow2-linux-26b8003f10569a9155b7539ef5a7379ee0c6b050.zip
Btrfs: Replace extent tree preallocation code with some bit radix magic.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h7
1 files changed, 1 insertions, 6 deletions
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;