diff mbox series

[040/151] lnet: reduce logging severity

Message ID 1569869810-23848-41-git-send-email-jsimmons@infradead.org (mailing list archive)
State New, archived
Headers show
Series lustre: update to 2.11 support | expand

Commit Message

James Simmons Sept. 30, 2019, 6:54 p.m. UTC
From: Amir Shehata <ashehata@whamcloud.com>

On shutdown a push event can be triggered for a
non-existent peer. Reducing the severity of the log.

WC-bug-id: https://jira.whamcloud.com/browse/LU-9904
Lustre-commit: 7fc8037d61b2 ("LU-9904 lnet: reduce logging severity")
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/29026
Reviewed-by: Sonia Sharma <sharmaso@whamcloud.com>
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
---
 net/lnet/lnet/peer.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/net/lnet/lnet/peer.c b/net/lnet/lnet/peer.c
index 1266e32..68c6eb7 100644
--- a/net/lnet/lnet/peer.c
+++ b/net/lnet/lnet/peer.c
@@ -1808,7 +1808,8 @@  void lnet_peer_push_event(struct lnet_event *ev)
 	/* lnet_find_peer() adds a refcount */
 	lp = lnet_find_peer(ev->source.nid);
 	if (!lp) {
-		CERROR("Push Put from unknown %s (source %s)\n",
+		CDEBUG(D_NET,
+		       "Push Put from unknown %s (source %s). Ignoring...\n",
 		       libcfs_nid2str(ev->initiator.nid),
 		       libcfs_nid2str(ev->source.nid));
 		return;