From 8f8ba51412a09888ce9aae30cad6c96ddef1bdea Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Tue, 17 Jan 2023 16:42:29 -0800 Subject: [PATCH] xfs: fix reflink test failures when dax is enabled Turn off reflink tests that require delayed allocation to work, because we don't use delayed allocation when fsdax mode is turned on. Signed-off-by: Darrick J. Wong Reviewed-by: Xiao Yang Signed-off-by: Zorro Lang --- tests/xfs/184 | 1 + tests/xfs/192 | 1 + tests/xfs/200 | 1 + tests/xfs/204 | 1 + tests/xfs/232 | 1 + tests/xfs/440 | 1 + 6 files changed, 6 insertions(+) diff --git a/tests/xfs/184 b/tests/xfs/184 index c251040e..3bdd86ad 100755 --- a/tests/xfs/184 +++ b/tests/xfs/184 @@ -19,6 +19,7 @@ _begin_fstest auto quick clone fiemap unshare # real QA test starts here _supported_fs xfs +_require_scratch_delalloc _require_scratch_reflink _require_cp_reflink _require_xfs_io_command "fiemap" diff --git a/tests/xfs/192 b/tests/xfs/192 index 85ed7a48..ced18fa3 100755 --- a/tests/xfs/192 +++ b/tests/xfs/192 @@ -19,6 +19,7 @@ _begin_fstest auto quick clone fiemap unshare # real QA test starts here _supported_fs xfs +_require_scratch_delalloc _require_scratch_reflink _require_cp_reflink _require_xfs_io_command "fiemap" diff --git a/tests/xfs/200 b/tests/xfs/200 index f91bfbf4..b51b9a54 100755 --- a/tests/xfs/200 +++ b/tests/xfs/200 @@ -21,6 +21,7 @@ _begin_fstest auto quick clone fiemap unshare # real QA test starts here _supported_fs xfs +_require_scratch_delalloc _require_scratch_reflink _require_cp_reflink _require_xfs_io_command "fiemap" diff --git a/tests/xfs/204 b/tests/xfs/204 index d034446b..ca21dfe7 100755 --- a/tests/xfs/204 +++ b/tests/xfs/204 @@ -21,6 +21,7 @@ _begin_fstest auto quick clone fiemap unshare # real QA test starts here _supported_fs xfs +_require_scratch_delalloc _require_scratch_reflink _require_cp_reflink _require_xfs_io_command "fiemap" diff --git a/tests/xfs/232 b/tests/xfs/232 index f402ad6c..59bbc436 100755 --- a/tests/xfs/232 +++ b/tests/xfs/232 @@ -30,6 +30,7 @@ _cleanup() # real QA test starts here _supported_fs xfs +_require_scratch_delalloc _require_xfs_io_command "cowextsize" _require_scratch_reflink _require_cp_reflink diff --git a/tests/xfs/440 b/tests/xfs/440 index 496ee04e..368ee8a0 100755 --- a/tests/xfs/440 +++ b/tests/xfs/440 @@ -20,6 +20,7 @@ _begin_fstest auto quick clone quota _supported_fs xfs _require_quota +_require_scratch_delalloc _require_scratch_reflink _require_cp_reflink _require_user -- 2.39.5