X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fsanity.sh;h=6b7d0930a82a478b60a8a20e72fbcc67f34c788a;hp=5bc213e68aa960e55580cded14b0209690f463ce;hb=aba1fbafd78f34fb3fc4174d44178187ee7ca25b;hpb=d49ce1b11cad9a5191d4d4709e630f911df0a16a diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 5bc213e..6b7d093 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -5023,7 +5023,7 @@ test_116() { [ $MINC -gt 0 ] && echo "Wrote $(($MAXC * 100 / $MINC - 100))% more files to larger OST $MAXI1" [ $MAXC -gt $MINC ] || error_ignore "stripe QOS didn't balance free space" - rm -rf $DIR/$tdir/OST${MINI} + rm -rf $DIR/$tdir } run_test 116 "stripe QOS: free space balance ===================" @@ -5381,16 +5381,17 @@ test_118k() set_nodes_failloc "$(osts_nodes)" 0x20e mkdir -p $DIR/$tdir - for ((i=0;i<10;i++)); do - (dd if=/dev/zero of=$DIR/$tdir/$tfile-$i bs=1M count=10 || \ + for ((i=0;i<10;i++)); do + (dd if=/dev/zero of=$DIR/$tdir/$tfile-$i bs=1M count=10 || \ error "dd to $DIR/$tdir/$tfile-$i failed" )& - SLEEPPID=$! - sleep 0.500s - kill $SLEEPPID - wait $SLEEPPID - done + SLEEPPID=$! + sleep 0.500s + kill $SLEEPPID + wait $SLEEPPID + done - set_nodes_failloc "$(osts_nodes)" 0 + set_nodes_failloc "$(osts_nodes)" 0 + rm -rf $DIR/$tdir } run_test 118k "bio alloc -ENOMEM and IO TERM handling ========="