X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Freplay-single.sh;h=c5602c46c8eb8a49445ef22ea858ad410f4a0191;hp=6cdcb39416da5408ec0a8345155a4beb65fa3425;hb=c7ed812d6a87f0ffa3c0d4c1a9289497f680ccec;hpb=0c6805b2a0d575331dff0c22a657da91f61a1809 diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 6cdcb39..c5602c4 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -3078,6 +3078,10 @@ run_test 85a "check the cancellation of unused locks during recovery(IBITS)" test_85b() { #bug 16774 lctl set_param -n ldlm.cancel_unused_locks_before_replay "1" + if ! combined_mgs_mds ; then + mount_mgs_client + fi + create_pool $FSNAME.$TESTNAME || error "unable to create pool $TESTNAME" do_facet mgs $LCTL pool_add $FSNAME.$TESTNAME $FSNAME-OST0000 || @@ -3115,6 +3119,10 @@ test_85b() { #bug 16774 do_facet mgs $LCTL pool_destroy $FSNAME.$TESTNAME || error "unable to destroy the pool $TESTNAME" + if ! combined_mgs_mds ; then + umount_mgs_client + fi + if [ $count2 -ge $count ]; then error "unused locks are not canceled" fi