FS/XFS testing framework
 help / color / mirror / Atom feed
* [PATCH v1] generic/476: requires 27GB scratch size
@ 2022-07-21  2:29 bxue
  2022-07-21  2:49 ` xuyang2018.jy
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: bxue @ 2022-07-21  2:29 UTC (permalink / raw)
  To: fstests; +Cc: Boyang Xue

From: Boyang Xue <bxue@redhat.com>

The test requires larger scratch dev size when running on top of NFS other
than ext4 and xfs. It requires at least 27GB in my test. Without this
requirement, the test run never finishes on NFS, leaving 100% scratch disk
space use.

Signed-off-by: Boyang Xue <bxue@redhat.com>
---
Hi,

I find generic/476 easily goes into an infinite run on top of NFS. When it
happens, the common pattern is 100% disk space use of SCRATCH_MNT, and
`nfsiostat` shows 50% write error on SCRATCH_MNT. When I run it with a large
enough SCRATCH_MNT, the problem disappears. So I post this patch to add the size
requirement.

Please help review this patch. Thanks!

-Boyang

 tests/generic/476 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/generic/476 b/tests/generic/476
index 212373d1..dcc7c3da 100755
--- a/tests/generic/476
+++ b/tests/generic/476
@@ -24,6 +24,7 @@ _cleanup()
 _supported_fs generic
 
 _require_scratch
+_require_scratch_size $((27 * 1024 * 1024)) # 27GB
 _require_command "$KILLALL_PROG" "killall"
 
 echo "Silence is golden."
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-08-04  9:10 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-21  2:29 [PATCH v1] generic/476: requires 27GB scratch size bxue
2022-07-21  2:49 ` xuyang2018.jy
2022-07-21  7:17   ` Boyang Xue
2022-07-21  4:40 ` Darrick J. Wong
2022-07-21  7:26   ` Boyang Xue
2022-07-21 11:42     ` Theodore Ts'o
2022-07-21 14:03       ` Theodore Ts'o
2022-07-21 15:12         ` Chuck Lever III
2022-07-21 15:14           ` Chuck Lever III
2022-07-21 18:04             ` Theodore Ts'o
2022-07-21 18:13               ` Chuck Lever III
2022-07-22  2:18                 ` Theodore Ts'o
2022-08-04  9:10                   ` Boyang Xue
2022-07-21 15:29 ` Zorro Lang
2022-07-21 15:32   ` Chuck Lever III
2022-07-21 16:30     ` Zorro Lang
2022-07-21 18:25       ` Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox