Whamcloud - gitweb
LU-11981 lnet: clean up error message 01/37001/3
authorAmir Shehata <ashehata@whamcloud.com>
Thu, 12 Dec 2019 18:11:34 +0000 (10:11 -0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 20 Dec 2019 06:44:29 +0000 (06:44 +0000)
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 <ashehata@whamcloud.com>
Change-Id: I586dbfcdcfa38994db99dc5983240b38c9ee2770
Reviewed-on: https://review.whamcloud.com/37001
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/lib-msg.c

index 6e474ab..9206765 100644 (file)
@@ -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;
        }