Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
common.sh: tell us when we are mounting
[fs/lustre-release.git]
/
lustre
/
tests
/
runiozone
1
#!/bin/sh
2
SIZE=5g
3
COUNT=0
4
[ $1 ] && SIZE=$1
5
rm -f endiozone
6
while date; do
7
echo "Test #$COUNT"
8
iozone -i 0 -i 1 -f /mnt/lustre/test.$$ -s $SIZE 2>&1 || exit $?
9
COUNT=`expr $COUNT + 1`
10
[ -f endiozone ] && rm endiozone && exit 0
11
done | tee /tmp/iozone.log