]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
fuzzy: increase operation count for each fsstress invocation
authorDarrick J. Wong <djwong@kernel.org>
Fri, 30 Dec 2022 22:12:54 +0000 (14:12 -0800)
committerZorro Lang <zlang@kernel.org>
Sat, 14 Jan 2023 13:51:51 +0000 (21:51 +0800)
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 <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/fuzzy

index 01cf7f00d820cdc376cc099769224a85d0f66a86..3e23edc9e495c30343be7a1728e2d5a836fcc6e9 100644 (file)
@@ -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