diff options
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index da0763135bf0..0cbf3491bb7c 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -709,6 +709,9 @@ struct btrfs_free_cluster { | |||
709 | /* first extent starting offset */ | 709 | /* first extent starting offset */ |
710 | u64 window_start; | 710 | u64 window_start; |
711 | 711 | ||
712 | /* if this cluster simply points at a bitmap in the block group */ | ||
713 | bool points_to_bitmap; | ||
714 | |||
712 | struct btrfs_block_group_cache *block_group; | 715 | struct btrfs_block_group_cache *block_group; |
713 | /* | 716 | /* |
714 | * when a cluster is allocated from a block group, we put the | 717 | * when a cluster is allocated from a block group, we put the |
@@ -726,6 +729,10 @@ struct btrfs_block_group_cache { | |||
726 | u64 pinned; | 729 | u64 pinned; |
727 | u64 reserved; | 730 | u64 reserved; |
728 | u64 flags; | 731 | u64 flags; |
732 | u64 sectorsize; | ||
733 | int extents_thresh; | ||
734 | int free_extents; | ||
735 | int total_bitmaps; | ||
729 | int cached; | 736 | int cached; |
730 | int ro; | 737 | int ro; |
731 | int dirty; | 738 | int dirty; |
@@ -734,7 +741,6 @@ struct btrfs_block_group_cache { | |||
734 | 741 | ||
735 | /* free space cache stuff */ | 742 | /* free space cache stuff */ |
736 | spinlock_t tree_lock; | 743 | spinlock_t tree_lock; |
737 | struct rb_root free_space_bytes; | ||
738 | struct rb_root free_space_offset; | 744 | struct rb_root free_space_offset; |
739 | 745 | ||
740 | /* block group cache stuff */ | 746 | /* block group cache stuff */ |