diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-04-25 15:52:25 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-04-25 15:52:25 -0400 |
commit | f2458e1d8c90958ed3631654cb7fd5ab01478505 (patch) | |
tree | 162aef9f17926d8ead01f00c22ebbe84b74179e5 /fs/btrfs/ctree.h | |
parent | f68cad0f9eb3c3cc100635bd0ea191ee093cf887 (diff) |
Btrfs: change around extent-tree prealloc
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 2d166ca8b104..26d0cdd46f49 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -244,12 +244,17 @@ struct btrfs_fs_info { | |||
244 | struct btrfs_root *extent_root; | 244 | struct btrfs_root *extent_root; |
245 | struct btrfs_root *tree_root; | 245 | struct btrfs_root *tree_root; |
246 | struct btrfs_root *dev_root; | 246 | struct btrfs_root *dev_root; |
247 | struct btrfs_key current_insert; | ||
248 | struct btrfs_key last_insert; | 247 | struct btrfs_key last_insert; |
249 | struct radix_tree_root fs_roots_radix; | 248 | struct radix_tree_root fs_roots_radix; |
250 | struct radix_tree_root pending_del_radix; | 249 | struct radix_tree_root pending_del_radix; |
251 | struct radix_tree_root pinned_radix; | 250 | struct radix_tree_root pinned_radix; |
252 | struct radix_tree_root dev_radix; | 251 | struct radix_tree_root dev_radix; |
252 | |||
253 | u64 extent_tree_insert[BTRFS_MAX_LEVEL * 3]; | ||
254 | int extent_tree_insert_nr; | ||
255 | u64 extent_tree_prealloc[BTRFS_MAX_LEVEL * 3]; | ||
256 | int extent_tree_prealloc_nr; | ||
257 | |||
253 | u64 generation; | 258 | u64 generation; |
254 | struct btrfs_transaction *running_transaction; | 259 | struct btrfs_transaction *running_transaction; |
255 | struct btrfs_super_block *disk_super; | 260 | struct btrfs_super_block *disk_super; |
@@ -267,8 +272,7 @@ struct btrfs_fs_info { | |||
267 | 272 | ||
268 | /* | 273 | /* |
269 | * in ram representation of the tree. extent_root is used for all allocations | 274 | * in ram representation of the tree. extent_root is used for all allocations |
270 | * and for the extent tree extent_root root. current_insert is used | 275 | * and for the extent tree extent_root root. |
271 | * only for the extent tree. | ||
272 | */ | 276 | */ |
273 | struct btrfs_root { | 277 | struct btrfs_root { |
274 | struct buffer_head *node; | 278 | struct buffer_head *node; |