aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h10
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 */
273struct btrfs_root { 277struct btrfs_root {
274 struct buffer_head *node; 278 struct buffer_head *node;