aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-10-15 16:15:19 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:56 -0400
commit96b5179d0d9b6368c203856f2ad6e8e12a8b2a2c (patch)
tree58b22f106bb06902c280c66af661d9e9d6a65597 /fs/btrfs/ctree.h
parentf510cfecfc98759d75283823cfccf0cc0d59a4c6 (diff)
Btrfs: Stop using radix trees for the block group cache
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 5262b28f468c..c6174b27fd13 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -271,8 +271,6 @@ struct btrfs_csum_item {
271} __attribute__ ((__packed__)); 271} __attribute__ ((__packed__));
272 272
273/* tag for the radix tree of block groups in ram */ 273/* tag for the radix tree of block groups in ram */
274#define BTRFS_BLOCK_GROUP_DIRTY 0
275#define BTRFS_BLOCK_GROUP_AVAIL 1
276#define BTRFS_BLOCK_GROUP_SIZE (256 * 1024 * 1024) 274#define BTRFS_BLOCK_GROUP_SIZE (256 * 1024 * 1024)
277 275
278 276
@@ -285,7 +283,6 @@ struct btrfs_block_group_item {
285struct btrfs_block_group_cache { 283struct btrfs_block_group_cache {
286 struct btrfs_key key; 284 struct btrfs_key key;
287 struct btrfs_block_group_item item; 285 struct btrfs_block_group_item item;
288 struct radix_tree_root *radix;
289 u64 first_free; 286 u64 first_free;
290 u64 last_alloc; 287 u64 last_alloc;
291 u64 pinned; 288 u64 pinned;
@@ -301,10 +298,9 @@ struct btrfs_fs_info {
301 struct radix_tree_root fs_roots_radix; 298 struct radix_tree_root fs_roots_radix;
302 struct radix_tree_root pending_del_radix; 299 struct radix_tree_root pending_del_radix;
303 struct radix_tree_root pinned_radix; 300 struct radix_tree_root pinned_radix;
304 struct radix_tree_root block_group_radix;
305 struct radix_tree_root block_group_data_radix;
306 struct radix_tree_root extent_ins_radix; 301 struct radix_tree_root extent_ins_radix;
307 struct extent_map_tree free_space_cache; 302 struct extent_map_tree free_space_cache;
303 struct extent_map_tree block_group_cache;
308 u64 generation; 304 u64 generation;
309 u64 last_trans_committed; 305 u64 last_trans_committed;
310 struct btrfs_transaction *running_transaction; 306 struct btrfs_transaction *running_transaction;