From f549927ea633b910a8c788fa970af742b3bf10c1 Mon Sep 17 00:00:00 2001 From: Amir Shehata Date: Thu, 12 Dec 2019 10:11:34 -0800 Subject: [PATCH] LU-11981 lnet: clean up error message There are instances when the message can be canceled. In this case we do not want that to impact the interface health or output an error message for it, as it could be noisy. Therefore, reduce the message which logs this case from error to debug Test-Parameters: trivial Signed-off-by: Amir Shehata Change-Id: I586dbfcdcfa38994db99dc5983240b38c9ee2770 Reviewed-on: https://review.whamcloud.com/37001 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Serguei Smirnov Reviewed-by: Sebastien Buisson Reviewed-by: Oleg Drokin --- lnet/lnet/lib-msg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lnet/lnet/lib-msg.c b/lnet/lnet/lib-msg.c index 6e474ab..9206765 100644 --- a/lnet/lnet/lib-msg.c +++ b/lnet/lnet/lib-msg.c @@ -818,8 +818,9 @@ lnet_is_health_check(struct lnet_msg *msg) if (hc && ((!status && msg->msg_health_status != LNET_MSG_STATUS_OK) || (status && msg->msg_health_status == LNET_MSG_STATUS_OK))) { - CERROR("Msg is in inconsistent state, don't perform health " - "checking (%d, %d)\n", status, msg->msg_health_status); + CDEBUG(D_NET, "Msg %p is in inconsistent state, don't perform health " + "checking (%d, %d)\n", msg, status, + msg->msg_health_status); hc = false; } -- 1.8.3.1