From: Nathan Scott Date: Mon, 14 Feb 2005 13:53:25 +0000 (+0000) Subject: Ensure we do not oversubscribe freespace for AIO stress test. X-Git-Tag: v1.1.0~746 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1806d32a46c85a9e4cbf06e5d95f36a1800ccea3;p=users%2Fhch%2Fxfstests-dev.git Ensure we do not oversubscribe freespace for AIO stress test. Merge of master-melb:xfs-cmds:21491a by kenmcd. --- diff --git a/113 b/113 index e72863f26..c847733b9 100755 --- a/113 +++ b/113 @@ -49,9 +49,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _cleanup() { cd / - # we might get here with a RO FS - mount -o remount,rw $TEST_DEV >/dev/null 2>&1 - # now kill! rm -f $testdir/aio-stress.$$.* _cleanup_testdir } @@ -85,9 +82,11 @@ _do_test() echo " aio-stress (count=$_count) returned $?" cat $tmp.out status=1 + exit fi _check_test_fs + rm -f $_files } @@ -106,12 +105,12 @@ procs=20 _check_test_fs # the default -_do_test 1 "" $count 1 +_do_test 1 "-I120m" $count 1 # and the default with multiprocess -_do_test 2 "" $count $procs +_do_test 2 "-I10m" $count $procs # as above, but now using direct IO -_do_test 3 "-O" $count $procs +_do_test 3 "-I10m -O" $count $procs exit