From 1806d32a46c85a9e4cbf06e5d95f36a1800ccea3 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Mon, 14 Feb 2005 13:53:25 +0000 Subject: [PATCH] Ensure we do not oversubscribe freespace for AIO stress test. Merge of master-melb:xfs-cmds:21491a by kenmcd. --- 113 | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/113 b/113 index e72863f2..c847733b 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 -- 2.30.2