diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-03-25 16:50:33 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:01 -0400 |
commit | 593060d756e0c2382d59cf00d5f3b9e3a336c408 (patch) | |
tree | c102f8abd9210eeba8ae4e7f6626b80cfed1b8d8 /fs/btrfs/ctree.h | |
parent | 8a4b83cc8bd75fca29ac68615896d9e92820e7c2 (diff) |
Btrfs: Implement raid0 when multiple devices are present
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 7556f8319c60..f43dfe7ffe6d 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -413,6 +413,7 @@ struct btrfs_csum_item { | |||
413 | #define BTRFS_BLOCK_GROUP_DATA (1 << 0) | 413 | #define BTRFS_BLOCK_GROUP_DATA (1 << 0) |
414 | #define BTRFS_BLOCK_GROUP_SYSTEM (1 << 1) | 414 | #define BTRFS_BLOCK_GROUP_SYSTEM (1 << 1) |
415 | #define BTRFS_BLOCK_GROUP_METADATA (1 << 2) | 415 | #define BTRFS_BLOCK_GROUP_METADATA (1 << 2) |
416 | #define BTRFS_BLOCK_GROUP_RAID0 (1 << 3) | ||
416 | 417 | ||
417 | 418 | ||
418 | struct btrfs_block_group_item { | 419 | struct btrfs_block_group_item { |
@@ -498,6 +499,8 @@ struct btrfs_fs_info { | |||
498 | u64 delalloc_bytes; | 499 | u64 delalloc_bytes; |
499 | u64 last_alloc; | 500 | u64 last_alloc; |
500 | u64 last_data_alloc; | 501 | u64 last_data_alloc; |
502 | int extra_data_alloc_bits; | ||
503 | int extra_alloc_bits; | ||
501 | }; | 504 | }; |
502 | 505 | ||
503 | /* | 506 | /* |