diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index fa6e647c47adc2afaa60cf8485dbf430b3bbbe30..51037c9f8fd32578c5e9aca2d5f3c10c380bfda4 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -1123,10 +1123,11 @@ static int check_for_next_transno(struct obd_device *obd) wake_up = 1; } else if (queue_len + completed == max) { LASSERT(req->rq_reqmsg->transno >= next_transno); - CDEBUG(D_ERROR, - "waking for skipped transno (skip: "LPD64 - ", ql: %d, comp: %d, conn: %d, next: "LPD64")\n", - next_transno, queue_len, completed, max, req_transno); + if (req_transno > obd->obd_last_committed) + CDEBUG(D_ERROR, "waking for skipped transno (skip: " + LPD64", ql: %d, comp: %d, conn: %d, next: " + LPD64")\n", next_transno, queue_len, completed, + max, req_transno); obd->obd_next_recovery_transno = req_transno; wake_up = 1; } else if (queue_len == atomic_read(&obd->obd_req_replay_clients)) {