Skip to content
Snippets Groups Projects
Commit 2afd8466 authored by ccooper's avatar ccooper
Browse files

- ability to skip O_DIRECT tests on O_DIRECT-deficient systems (LLNL)

parent 17b2232d
No related branches found
No related tags found
No related merge requests found
......@@ -66,6 +66,9 @@ for NAME in $CONFIGS; do
sh llrmount.sh
fi
IOZONE_OPTS="-i 0 -i 1 -i 2 -+d -r $RSIZE -s $SIZE"
if [ "$O_DIRECT" -a "$O_DIRECT" != "no" ]; then
IOZONE_OPTS="-I $IOZONE_OPTS"
fi
IOZONE_FILE="-f $MOUNT/iozone"
if [ "$IOZONE" != "no" ]; then
mount | grep $MOUNT || sh llmount.sh
......@@ -82,7 +85,7 @@ for NAME in $CONFIGS; do
[ $THREADS -lt $IOZ_THREADS ] && IOZ_THREADS=$THREADS
$DEBUG_OFF
iozone -I $IOZONE_OPTS $IOZONE_FILE.odir
iozone $IOZONE_OPTS $IOZONE_FILE.odir
IOZVER=`iozone -v | awk '/Revision:/ { print $3 }' | tr -d '.'`
$DEBUG_ON
sh llmountcleanup.sh
......@@ -95,7 +98,7 @@ for NAME in $CONFIGS; do
IOZONE_FILE="$IOZONE_FILE $MOUNT/iozone.$THREAD"
THREAD=`expr $THREAD + 1`
done
iozone -I $IOZONE_OPTS -t $IOZ_THREADS $IOZONE_FILE
iozone $IOZONE_OPTS -t $IOZ_THREADS $IOZONE_FILE
$DEBUG_ON
sh llmountcleanup.sh
sh llrmount.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment