X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fldlm%2Fldlm_lib.c;h=64214e21c949e0e2c923b1ee568e53a8e67a1d89;hp=7ce007babd45362516c296ddef6212cdee044890;hb=6fd75f264c5f5c186bbfe559e1a98fb3769d8128;hpb=084546f7d01b0eec8dafae9bc50edc778c3886ca diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index 7ce007b..64214e2 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -1843,6 +1843,7 @@ void target_cleanup_recovery(struct obd_device *obd) return; } obd->obd_recovering = obd->obd_abort_recovery = 0; + obd->obd_abort_recov_mdt = 0; spin_unlock(&obd->obd_dev_lock); spin_lock(&obd->obd_recovery_task_lock); @@ -2792,6 +2793,7 @@ static int target_recovery_thread(void *arg) */ spin_lock(&obd->obd_dev_lock); obd->obd_recovering = obd->obd_abort_recovery = 0; + obd->obd_abort_recov_mdt = 0; spin_unlock(&obd->obd_dev_lock); spin_lock(&obd->obd_recovery_task_lock); target_cancel_recovery_timer(obd);