Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-13274 uapi: make lustre UAPI headers C99 compliant
[fs/lustre-release.git]
/
lustre
/
tests
/
sanity-benchmark.sh
diff --git
a/lustre/tests/sanity-benchmark.sh
b/lustre/tests/sanity-benchmark.sh
index
5ea7a0c
..
370afae
100644
(file)
--- a/
lustre/tests/sanity-benchmark.sh
+++ b/
lustre/tests/sanity-benchmark.sh
@@
-107,6
+107,7
@@
test_iozone() {
export O_DIRECT
local IOZDIR=$DIR/d0.iozone
export O_DIRECT
local IOZDIR=$DIR/d0.iozone
+ wait_delete_completed || true
mkdir -p $IOZDIR
$LFS setstripe -c -1 $IOZDIR
sync
mkdir -p $IOZDIR
$LFS setstripe -c -1 $IOZDIR
sync
@@
-129,6
+130,7
@@
test_iozone() {
tail -1 $IOZLOG | grep -q complete || \
{ error "iozone (1) failed" && return 1; }
rm -f $IOZLOG
tail -1 $IOZLOG | grep -q complete || \
{ error "iozone (1) failed" && return 1; }
rm -f $IOZLOG
+ wait_delete_completed || true
$DEBUG_ON
# check if O_DIRECT support is implemented in kernel
$DEBUG_ON
# check if O_DIRECT support is implemented in kernel
@@
-139,6
+141,7
@@
test_iozone() {
O_DIRECT=no
fi
rm -f $DIR/f.iozone
O_DIRECT=no
fi
rm -f $DIR/f.iozone
+ wait_delete_completed || true
fi
if [ "$O_DIRECT" != "no" -a "$IOZONE_DIR" != "no" ]; then
$DEBUG_OFF
fi
if [ "$O_DIRECT" != "no" -a "$IOZONE_DIR" != "no" ]; then
$DEBUG_OFF
@@
-146,6
+149,7
@@
test_iozone() {
tail -1 $IOZLOG | grep -q complete || \
{ error "iozone (2) failed" && return 1; }
rm -f $IOZLOG
tail -1 $IOZLOG | grep -q complete || \
{ error "iozone (2) failed" && return 1; }
rm -f $IOZLOG
+ wait_delete_completed || true
$DEBUG_ON
fi
$DEBUG_ON
fi
@@
-166,6
+170,7
@@
test_iozone() {
tail -1 $IOZLOG | grep -q complete || \
{ error "iozone (3) failed" && return 1; }
rm -f $IOZLOG
tail -1 $IOZLOG | grep -q complete || \
{ error "iozone (3) failed" && return 1; }
rm -f $IOZLOG
+ wait_delete_completed || true
$DEBUG_ON
elif [ $IOZVER -lt 3145 ]; then
VER=`iozone -v | awk '/Revision:/ { print $3 }'`
$DEBUG_ON
elif [ $IOZVER -lt 3145 ]; then
VER=`iozone -v | awk '/Revision:/ { print $3 }'`