xfs: skip growfs test on large device

When test on large SCRATCH_DEV, growing a small XFS to huge size is
a horrible thing (e.g grow 128M to 500T) and it doesn't add any more
test coverage. So skip this kind of tests if LARGE_SCRATCH_DEV is
yes.

Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Zorro Lang
2018-05-14 22:41:53 +08:00
committed by Eryu Guan
parent e401bc28c1
commit a82e9464dd
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -51,6 +51,7 @@ _cleanup()
_supported_fs xfs
_supported_os Linux
_require_scratch_nocheck
_require_no_large_scratch_dev
# So we can explicitly turn it _off_:
_require_xfs_mkfs_crc
+1
View File
@@ -45,6 +45,7 @@ _cleanup()
_supported_os Linux
_supported_fs xfs
_require_scratch_reflink
_require_no_large_scratch_dev
_require_cp_reflink
echo "Format and mount"
+1
View File
@@ -44,6 +44,7 @@ _cleanup()
_supported_os Linux
_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_no_large_scratch_dev
echo "Format and mount"
_scratch_mkfs_sized $((2 * 4096 * 4096)) > $seqres.full 2>&1