xfs/305: make sure that fsstress is still running when we quotaoff
authorDarrick J. Wong <djwong@kernel.org>
Wed, 14 Apr 2021 01:05:26 +0000 (18:05 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 18 Apr 2021 12:53:53 +0000 (20:53 +0800)
Greatly increase the number of fs ops that fsstress is supposed to run
in in this test so that we can ensure that it's still running when the
quotaoff gets run.  1000 might have been sufficient in 2013, but it
isn't now.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/xfs/305

index fdb48a1..9a3f0e0 100755 (executable)
@@ -50,7 +50,7 @@ _exercise()
        _qmount
        mkdir -p $QUOTA_DIR
 
-       $FSSTRESS_PROG -d $QUOTA_DIR -n 1000 -p 100 $FSSTRESS_AVOID >/dev/null 2>&1 &
+       $FSSTRESS_PROG -d $QUOTA_DIR -n 1000000 -p 100 $FSSTRESS_AVOID >/dev/null 2>&1 &
        sleep 10
        xfs_quota -x -c "off -$type" $SCRATCH_DEV
        sleep 5