Whamcloud - gitweb
LU-7732 ldlm: silence verbose "waking for gap" log messages 18/21418/3
authorBob Glossman <bob.glossman@intel.com>
Wed, 13 Jul 2016 16:56:50 +0000 (09:56 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 11 Aug 2016 05:51:38 +0000 (05:51 +0000)
Quiet down the very frequent and not very useful
"waking for gap in transno" error messages that fill up
the log under certain conditions.

Signed-off-by: Bob Glossman <bob.glossman@intel.com>
Change-Id: I8264a958fa030ef66a3752dbf6e58ba79130d4b7
Reviewed-on: http://review.whamcloud.com/21418
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/ldlm/ldlm_lib.c

index 292f8ec..4aa54a7 100644 (file)
@@ -1901,15 +1901,11 @@ static int check_for_next_transno(struct lu_target *lut)
                wake_up = 1;
        } else if (queue_len > 0 &&
                   queue_len == atomic_read(&obd->obd_req_replay_clients)) {
-               int d_lvl = D_HA;
                /** handle gaps occured due to lost reply or VBR */
                LASSERTF(req_transno >= next_transno,
                         "req_transno: "LPU64", next_transno: "LPU64"\n",
                         req_transno, next_transno);
-               if (req_transno > obd->obd_last_committed &&
-                   !obd->obd_version_recov)
-                       d_lvl = D_ERROR;
-               CDEBUG(d_lvl,
+               CDEBUG(D_HA,
                       "%s: waking for gap in transno, VBR is %s (skip: "
                       LPD64", ql: %d, comp: %d, conn: %d, next: "LPD64
                       ", next_update "LPD64" last_committed: "LPD64")\n",