mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
btrfs: require feature raid56 for raid56 tests
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>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user