From 059957520159d478acd2e33a990ae96b058110ea 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. Lustre-change: https://review.whamcloud.com/37002 Lustre-commit: 5567aaba1086217e021938e5f9543c640b2d007c Test-Parameters: trivial Signed-off-by: Amir Shehata Change-Id: Ia60ade12efab732ea4b0388a3803976bf65938ab Reviewed-by: Serguei Smirnov Reviewed-by: Andreas Dilger Signed-off-by: Minh Diep Reviewed-on: https://review.whamcloud.com/37718 Tested-by: Maloo Tested-by: jenkins --- 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 9206765..55b8d80 100644 --- a/lnet/lnet/lib-msg.c +++ b/lnet/lnet/lib-msg.c @@ -480,7 +480,7 @@ lnet_handle_local_failure(struct lnet_msg *msg) */ 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 1ad2fc2..b23bb02 100644 --- a/lnet/lnet/peer.c +++ b/lnet/lnet/peer.c @@ -3446,7 +3446,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