Whamcloud - gitweb
LU-5520 ldlm: resend AST callbacks
[fs/lustre-release.git] / lustre / tests / replay-dual.sh
index 2d1a511..1f1c8ab 100755 (executable)
@@ -445,11 +445,13 @@ test_18() { # bug 3822 - evicting client with enqueued lock
        do_facet $SINGLEMDS lctl set_param fail_loc=0x8000030b  # hold enqueue
        sleep 1
        #define OBD_FAIL_LDLM_BL_CALLBACK_NET                   0x305
+       do_facet client lctl set_param ldlm.namespaces.*.early_lock_cancel=0
        do_facet client lctl set_param fail_loc=0x80000305  # drop cb, evict
        cancel_lru_locks mdc
        usleep 500 # wait to ensure first client is one that will be evicted
        openfile -f O_RDONLY $MOUNT2/$tdir/$tfile
        wait $OPENPID
+       do_facet client lctl set_param ldlm.namespaces.*.early_lock_cancel=1
        do_facet $SINGLEMDS lctl debug_kernel |
                grep "not entering recovery" && error "client not evicted"
        do_facet client "lctl set_param fail_loc=0"