X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fost-pools.sh;fp=lustre%2Ftests%2Fost-pools.sh;h=a10ca5027f891acb5804d7fbaf4557f702c327d0;hb=d8ff73097be78cc3e603ab49b6aaa03a1c766fcb;hp=d99578bdb801cc117e81e822c5129a39fd9bf9b1;hpb=a4a68cc6265d047b30f11085b9b2dfef4ddc785a;p=fs%2Flustre-release.git diff --git a/lustre/tests/ost-pools.sh b/lustre/tests/ost-pools.sh index d99578b..a10ca50 100755 --- a/lustre/tests/ost-pools.sh +++ b/lustre/tests/ost-pools.sh @@ -1658,7 +1658,7 @@ test_29() { $LFS setstripe -p $pool1 $DIR/$tdir/$tfile-3 || error "can't setstripe" touch $DIR/$tdir/$tfile-3 [[ $($LFS getstripe -p $DIR/$tdir/$tfile-3) == "$pool2" ]] || { - $LFS getstripe $DIR/$tdir/$tfile-2 + $LFS getstripe $DIR/$tdir/$tfile-3 error "old pool on $tfile-3" } @@ -1715,6 +1715,8 @@ test_30() { error "poolback" do_facet mds1 $LCTL set_param $prefix.spill_threshold_pct="101" && error ">100%" + do_facet mds1 $LCTL set_param $prefix.spill_threshold_pct="-1" && + error "<0%" # set persistent spilling do_facet mgs $LCTL set_param -P $prefix.spill_target="$pool2" @@ -1787,7 +1789,7 @@ test_31() { do_nodes $mdts $LCTL set_param lod.*.pool.$pool3.spill_target="$pool4" do_nodes $mdts $LCTL set_param lod.*.pool.$pool3.spill_threshold_pct="$threshold" - do_nodes $mdts $LCTL get_param lod.*.pool.* + do_nodes $mdts $LCTL get_param lod.*.pool.*.spill* $LFS setstripe -p $pool1 $DIR/$tdir || error "can't set default layout" local tmpfile=$DIR/$tdir/$tfile-2