Whamcloud - gitweb
LU-15146 mdt: mdt_lvb2reply crash fix
[fs/lustre-release.git] / lustre / tests / parallel-scale-cifs.sh
index 4eaf97a..cb1c40e 100644 (file)
 
 #set -vx
 
-LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)}
+LUSTRE=${LUSTRE:-$(dirname $0)/..}
 . $LUSTRE/tests/test-framework.sh
 init_test_env $@
-. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
 init_logging
+
 . $LUSTRE/tests/setup-cifs.sh
 
 check_and_setup_lustre
@@ -172,6 +172,8 @@ test_fsx() {
        local space=$(df -P $SMBCLIMNTPT | tail -n 1 | awk '{ print $4 }')
        [ $space -lt $((size * nclients)) ] && size=$((space * 3 / 4 / nclients))
 
+       check_set_fallocate
+
        local cmd="$FSX -c 50 -p 500 -S $seed -P $TMP -l $size -N $numop "
 
        echo "Using: $cmd"