test_70b () {
local clients=${CLIENTS:-$HOSTNAME}
- local mdscount=$MDSCOUNT
-
- # until LU-6844 is fixed, run on one MDT instead of disabling test
- mdscount=1
zconf_mount_clients $clients $MOUNT
local start_ts=$(date +%s)
local cmd="rundbench 1 -t $duration"
local pid=""
- if [ $mdscount -ge 2 ]; then
- test_mkdir -p -c$mdscount $DIR/$tdir
- $LFS setdirstripe -D -c$mdscount $DIR/$tdir
+ if [ $MDSCOUNT -ge 2 ]; then
+ test_mkdir -p -c$MDSCOUNT $DIR/$tdir
+ $LFS setdirstripe -D -c$MDSCOUNT $DIR/$tdir
fi
do_nodesv $clients "set -x; MISSING_DBENCH_OK=$MISSING_DBENCH_OK \
PATH=\$PATH:$LUSTRE/utils:$LUSTRE/tests/:$DBENCH_LIB \
log "$TESTNAME fail mds$fail_index $num_failovers times"
fail mds$fail_index
elapsed=$(($(date +%s) - start_ts))
- if [ $fail_index -ge $mdscount ]; then
+ if [ $fail_index -ge $MDSCOUNT ]; then
fail_index=1
else
fail_index=$((fail_index+1))