From: Amir Shehata Date: Thu, 12 Dec 2019 19:19:48 +0000 (-0800) Subject: LU-13071 lnet: reduce log severity for health events X-Git-Tag: 2.13.53~193 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F02%2F37002%2F2;p=fs%2Flustre-release.git LU-13071 lnet: reduce log severity for health events No need to print an error when the health of an interface is reduced. Changed it to debug level. Test-Parameters: trivial Signed-off-by: Amir Shehata Change-Id: Ia60ade12efab732ea4b0388a3803976bf65938ab Reviewed-on: https://review.whamcloud.com/37002 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Serguei Smirnov Reviewed-by: Andreas Dilger --- diff --git a/lnet/lnet/lib-msg.c b/lnet/lnet/lib-msg.c index 84bf23d..225ae3e 100644 --- a/lnet/lnet/lib-msg.c +++ b/lnet/lnet/lib-msg.c @@ -474,7 +474,7 @@ lnet_handle_local_failure(struct lnet_ni *local_ni) */ if (list_empty(&local_ni->ni_recovery) && atomic_read(&local_ni->ni_healthv) < LNET_MAX_HEALTH_VALUE) { - CERROR("ni %s added to recovery queue. Health = %d\n", + CDEBUG(D_NET, "ni %s added to recovery queue. Health = %d\n", libcfs_nid2str(local_ni->ni_nid), atomic_read(&local_ni->ni_healthv)); list_add_tail(&local_ni->ni_recovery, diff --git a/lnet/lnet/peer.c b/lnet/lnet/peer.c index d9cda71..cd2dd21 100644 --- a/lnet/lnet/peer.c +++ b/lnet/lnet/peer.c @@ -3700,7 +3700,7 @@ lnet_peer_ni_add_to_recoveryq_locked(struct lnet_peer_ni *lpni) if (list_empty(&lpni->lpni_recovery) && atomic_read(&lpni->lpni_healthv) < LNET_MAX_HEALTH_VALUE) { - CERROR("lpni %s added to recovery queue. Health = %d\n", + CDEBUG(D_NET, "lpni %s added to recovery queue. Health = %d\n", libcfs_nid2str(lpni->lpni_nid), atomic_read(&lpni->lpni_healthv)); list_add_tail(&lpni->lpni_recovery, &the_lnet.ln_mt_peerNIRecovq);