From: Zorro Lang Date: Wed, 2 Jan 2019 04:03:19 +0000 (+0800) Subject: xfs/139-140: skip testing on large scratch dev X-Git-Tag: v2022.05.01~1297 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b0c8dbccf438dacca2e5ff3755bfb84647e7ba19;p=xfstests-dev.git xfs/139-140: skip testing on large scratch dev x/139 and x/140 makes XFS with very small agsize. That agsize is too small for a large fs. And it's not necessary to test on large fs, so skip it directly if scratch dev is large dev. Signed-off-by: Zorro Lang Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/tests/xfs/139 b/tests/xfs/139 index 3a20ce50..4c498ff2 100755 --- a/tests/xfs/139 +++ b/tests/xfs/139 @@ -29,6 +29,9 @@ _cleanup() # real QA test starts here _supported_os Linux +# Below agsize (16384 * $blksz) is too small for a large fs, and it's not +# necessary to test on large fs +_require_no_large_scratch_dev _require_scratch_reflink _require_cp_reflink diff --git a/tests/xfs/140 b/tests/xfs/140 index 7385dc42..863b1e6f 100755 --- a/tests/xfs/140 +++ b/tests/xfs/140 @@ -29,6 +29,9 @@ _cleanup() # real QA test starts here _supported_os Linux +# Below agsize is too small for a large fs, and it's not necessary to test on +# large fs +_require_no_large_scratch_dev _require_scratch_reflink _require_cp_reflink