xfs: skip copy fs test on large device
PATCH 1/1 xfs: skip copy fs test on large device
When test on large SCRATCH_DEV, copy a huge size XFS to TEST_DIR will fill the TEST_DIR soon, and xfs_copy process will be blocked there. Due to copy LARGE_SCRATCH_DEV won't add any more test coverage, so skip this kind of tests if LARGE_SCRATCH_DEV is yes.
---
Refer to "a82e9464 xfs: skip growfs test on large device", xfs_copy a huge size XFS will be blocked, so skip this kind of tests too.
Thanks,
Zorro
tests/xfs/077 | 1 + tests/xfs/284 | 1 + 2 files changed, 2 insertions(+)
tests/xfs/077 +1 -0
@@ -38,6 +38,7 @@ _supported_os Linux # xfs_copy does not support realtime devices _require_no_realtime _require_scratch +_require_no_large_scratch_dev _require_xfs_crc _require_meta_uuid
tests/xfs/284 +1 -0
@@ -38,6 +38,7 @@ _supported_os Linux _require_no_realtime _require_test _require_scratch +_require_no_large_scratch_dev function filter_mounted() {
Signature · 1 line
2.14.4
Quoted 6 lines · Zorro Lang
When test on large
SCRATCH_DEV, copy a huge size XFS toTEST_DIRwill fill theTEST_DIRsoon, andxfs_copyprocess will be blocked there. Due to copyLARGE_SCRATCH_DEVwon't add any more test coverage, so skip this kind of tests ifLARGE_SCRATCH_DEVis yes.Signed-off-by Zorro Lang <[email protected]>
Seems reasonable.
Quoted 37 lines
---
Refer to "
a82e9464xfs: skip growfs test on large device",xfs_copya huge size XFS will be blocked, so skip this kind of tests too.Thanks,
Zorrotests/xfs/077 | 1 + tests/xfs/284 | 1 + 2 files changed, 2 insertions(+)tests/xfs/077 +1
-0@@ -38,6 +38,7 @@ _supported_os Linux # xfs_copy does not support realtime devices _require_no_realtime _require_scratch +_require_no_large_scratch_dev _require_xfs_crc _require_meta_uuidtests/xfs/284 +1
-0@@ -38,6 +38,7 @@ _supported_os Linux _require_no_realtime _require_test _require_scratch +_require_no_large_scratch_dev function filter_mounted() {