From 5567aaba1086217e021938e5f9543c640b2d007c Mon Sep 17 00:00:00 2001 From: Amir Shehata Date: Thu, 12 Dec 2019 11:19:48 -0800 Subject: [PATCH] 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 --- lnet/lnet/lib-msg.c | 2 +- lnet/lnet/peer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 1.8.3.1