btrfs: add test for replacing a missing device

Now that _btrfs_get_profile_configs supports replace missing and the
kernel doesn't crash when replacing a missing RAID 5/6 device, test it.
Based on an earlier test from Wang Yanfeng.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Omar Sandoval
2016-05-09 10:58:06 +10:00
committed by Dave Chinner
parent 0a9b318f41
commit 29d3a3ea2c
3 changed files with 122 additions and 0 deletions
+1
View File
@@ -29,6 +29,7 @@
024 auto quick compress
025 auto quick send clone
026 auto quick compress prealloc
027 auto replace
029 auto quick clone
030 auto quick send
031 auto quick subvol clone