[PATCH 2/2] xfs/139-140: skip testing on large scratch dev

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



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 <zlang@xxxxxxxxxx>
---
 tests/xfs/139 | 3 +++
 tests/xfs/140 | 3 +++
 2 files changed, 6 insertions(+)

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
 
-- 
2.17.2




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux