]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
btrfs: require feature raid56 for raid56 tests
authorJeff Mahoney <jeffm@suse.com>
Mon, 21 Jan 2019 16:33:13 +0000 (11:33 -0500)
committerEryu Guan <guaneryu@gmail.com>
Sun, 27 Jan 2019 05:30:28 +0000 (13:30 +0800)
btrfs/125, btrfs/148, btrfs/157, and btrfs/158 test for raid56
behavior.  We shouldn't run if the kernel doesn't have support for
them.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/btrfs/125
tests/btrfs/148
tests/btrfs/157
tests/btrfs/158

index 5ac68b6778f6dbf075ba9d0bebb9f5829cfe8aa3..847fa62ad25fb8e6de72e55c1d3f3ba235f0d798 100755 (executable)
@@ -51,6 +51,7 @@ _supported_os Linux
 _require_scratch_dev_pool 3
 _test_unmount
 _require_loadable_fs_module "btrfs"
+_require_btrfs_fs_feature raid56
 
 _scratch_dev_pool_get 3
 
index d0e554c2a3884522575e11688ccf4a9eb9dcfd38..3fd8616f4b4a0d3f95c748eff7cf142524d8e32b 100755 (executable)
@@ -30,6 +30,7 @@ _supported_os Linux
 _require_scratch
 _require_scratch_dev_pool 4
 _require_odirect
+_require_btrfs_fs_feature raid56
 
 _scratch_dev_pool_get 4
 
index d9ea4b7b43e74386f6313af3ccfb1cede04336d8..7f75c4077105955a34b4ee9ffda78f4ac803bb1c 100755 (executable)
@@ -49,6 +49,7 @@ _supported_fs btrfs
 _supported_os Linux
 _require_scratch_dev_pool 4
 _require_btrfs_command inspect-internal dump-tree
+_require_btrfs_fs_feature raid56
 
 get_physical_stripe0()
 {
index fe2dd9567bf5b745d5868a6ccaa96bcddf32203c..603e8bea9b7e0ec089aa7c8bb530ca128cd9fbae 100755 (executable)
@@ -41,6 +41,7 @@ _supported_fs btrfs
 _supported_os Linux
 _require_scratch_dev_pool 4
 _require_btrfs_command inspect-internal dump-tree
+_require_btrfs_fs_feature raid56
 
 get_physical_stripe0()
 {