Skip to content

Commit

Permalink
btrfs: add raid5/6 support
Browse files Browse the repository at this point in the history
CC: Bob Liu <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Philip Li <[email protected]>
  • Loading branch information
Fengguang Wu authored and rli9 committed Nov 10, 2017
1 parent 2958a6c commit 8c0cf51
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 10 additions & 1 deletion jobs/fsmark-3hdd-raid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,18 @@ fs:

fsmark.test_size: 130G

---
md:
- BRAID0
- BRAID5
- BRAID6
fs: btrfs

---
nr_threads: 64
md: RAID5
md:
- RAID5
- BRAID5
fs: btrfs

fsmark.test_size: 130G
Expand Down
2 changes: 2 additions & 0 deletions setup/fs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ fs_options() {
is_btrfs_raid_levels() {
[ "$fs" = 'btrfs' ] && [ "$raid_level" = 'braid0' -o \
"$raid_level" = 'braid1' -o \
"$raid_level" = 'braid5' -o \
"$raid_level" = 'braid6' -o \
"$raid_level" = 'braid10' ]
}

Expand Down

0 comments on commit 8c0cf51

Please sign in to comment.