aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-04-16 10:49:51 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:01 -0400
commit321aecc65671ae8136bd2ca6879b56f0221f8ac8 (patch)
tree9e397c5a6b4750703e60d70c0b588c463aaf376c /fs/btrfs/extent-tree.c
parente17cade25ff8074101d653557a78df09c16ca276 (diff)
Btrfs: Add RAID10 support
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r--fs/btrfs/extent-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 71f045c63493..4e5bd62e6e1a 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -1042,6 +1042,7 @@ static void set_avail_alloc_bits(struct btrfs_fs_info *fs_info, u64 flags)
1042{ 1042{
1043 u64 extra_flags = flags & (BTRFS_BLOCK_GROUP_RAID0 | 1043 u64 extra_flags = flags & (BTRFS_BLOCK_GROUP_RAID0 |
1044 BTRFS_BLOCK_GROUP_RAID1 | 1044 BTRFS_BLOCK_GROUP_RAID1 |
1045 BTRFS_BLOCK_GROUP_RAID10 |
1045 BTRFS_BLOCK_GROUP_DUP); 1046 BTRFS_BLOCK_GROUP_DUP);
1046 if (extra_flags) { 1047 if (extra_flags) {
1047 if (flags & BTRFS_BLOCK_GROUP_DATA) 1048 if (flags & BTRFS_BLOCK_GROUP_DATA)