From: Darrick J. Wong Date: Fri, 30 Dec 2022 22:12:54 +0000 (-0800) Subject: fuzzy: increase operation count for each fsstress invocation X-Git-Tag: v2023.01.15~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ef4ba08094d967e0bcdaa1bed54443060367ae04;p=xfstests-dev.git fuzzy: increase operation count for each fsstress invocation For online fsck stress testing, increase the number of filesystem operations per fsstress run to 2 million, now that we have the ability to kill fsstress if the user should push ^C to abort the test early. This should guarantee a couple of hours of continuous stress testing in between clearing the scratch filesystem. Signed-off-by: Darrick J. Wong Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- diff --git a/common/fuzzy b/common/fuzzy index 01cf7f00..3e23edc9 100644 --- a/common/fuzzy +++ b/common/fuzzy @@ -399,7 +399,9 @@ __stress_scrub_fsstress_loop() { local end="$1" local runningfile="$2" - local args=$(_scale_fsstress_args -p 4 -d $SCRATCH_MNT -n 2000 $FSSTRESS_AVOID) + # As of March 2022, 2 million fsstress ops should be enough to keep + # any filesystem busy for a couple of hours. + local args=$(_scale_fsstress_args -p 4 -d $SCRATCH_MNT -n 2000000 $FSSTRESS_AVOID) echo "Running $FSSTRESS_PROG $args" >> $seqres.full while __stress_scrub_running "$end" "$runningfile"; do