From 06c059aa2cb4a875dfdd289f095c3c21e6f9cdc4 Mon Sep 17 00:00:00 2001 From: adilger Date: Sun, 8 Sep 2002 19:32:24 +0000 Subject: [PATCH] Add O_DIRECT by default again. --- lustre/tests/runiozone | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lustre/tests/runiozone b/lustre/tests/runiozone index 9510ab0..deb66a9 100755 --- a/lustre/tests/runiozone +++ b/lustre/tests/runiozone @@ -1,13 +1,14 @@ #!/bin/sh SIZE=5g COUNT=0 -VERIFY="-+d" +[ -z "$VERIFY" ] && VERIFY="-+d" +[ -z "$ODIR" ] && ODIR="-I" FILE=/mnt/lustre/test.$$ [ $1 ] && SIZE=$1 rm -f endiozone while date; do echo "Test #$COUNT" - iozone $VERIFY -r 64 -i 0 -i 1 -f $FILE -s $SIZE 2>&1 || exit $? + iozone $VERIFY $ODIR -r 64 -i 0 -i 1 -f $FILE -s $SIZE 2>&1 || exit $? COUNT=`expr $COUNT + 1` [ -f endiozone ] && rm endiozone && exit 0 done | tee /tmp/iozone.log -- 1.8.3.1