Whamcloud - gitweb
- small fix to prevent lost update of obd_next_recovery_transno value
authortappro <tappro>
Tue, 17 Oct 2006 19:13:46 +0000 (19:13 +0000)
committertappro <tappro>
Tue, 17 Oct 2006 19:13:46 +0000 (19:13 +0000)
lustre/ldlm/ldlm_lib.c

index 442cf84..f90235d 100644 (file)
@@ -1618,7 +1618,7 @@ int target_queue_recovery_request(struct ptlrpc_request *req,
          */
         CWARN("Next recovery transno: "LPU64", current: "LPU64", replaying: %i\n",
               obd->obd_next_recovery_transno, transno, obd->obd_req_replaying);
-        if (transno <= obd->obd_next_recovery_transno && obd->obd_req_replaying) {
+        if (transno < obd->obd_next_recovery_transno && obd->obd_req_replaying) {
                 /* Processing the queue right now, don't re-add. */
                 LASSERT(list_empty(&req->rq_list));
                 spin_unlock_bh(&obd->obd_processing_task_lock);