diff options
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 67d533cf8f47..0a207861472e 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -418,6 +418,7 @@ struct btrfs_csum_item { | |||
418 | #define BTRFS_BLOCK_GROUP_SYSTEM (1 << 1) | 418 | #define BTRFS_BLOCK_GROUP_SYSTEM (1 << 1) |
419 | #define BTRFS_BLOCK_GROUP_METADATA (1 << 2) | 419 | #define BTRFS_BLOCK_GROUP_METADATA (1 << 2) |
420 | #define BTRFS_BLOCK_GROUP_RAID0 (1 << 3) | 420 | #define BTRFS_BLOCK_GROUP_RAID0 (1 << 3) |
421 | #define BTRFS_BLOCK_GROUP_RAID1 (1 << 4) | ||
421 | 422 | ||
422 | 423 | ||
423 | struct btrfs_block_group_item { | 424 | struct btrfs_block_group_item { |
@@ -504,8 +505,12 @@ struct btrfs_fs_info { | |||
504 | u64 delalloc_bytes; | 505 | u64 delalloc_bytes; |
505 | u64 last_alloc; | 506 | u64 last_alloc; |
506 | u64 last_data_alloc; | 507 | u64 last_data_alloc; |
507 | int extra_data_alloc_bits; | 508 | int avail_data_alloc_bits; |
508 | int extra_alloc_bits; | 509 | int avail_metadata_alloc_bits; |
510 | int avail_system_alloc_bits; | ||
511 | int data_alloc_profile; | ||
512 | int metadata_alloc_profile; | ||
513 | int system_alloc_profile; | ||
509 | }; | 514 | }; |
510 | 515 | ||
511 | /* | 516 | /* |