Whamcloud - gitweb
LU-9904 lnet: reduce logging severity 26/29026/2
authorAmir Shehata <amir.shehata@intel.com>
Fri, 15 Sep 2017 23:55:39 +0000 (16:55 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 30 Sep 2017 04:41:23 +0000 (04:41 +0000)
On shutdown a push event can be triggered for a
non-existent peer. Reducing the severity of the log.

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: I88afafbd9a5bb2baa8c6ced7e6428af8cde2fdd2
Reviewed-on: https://review.whamcloud.com/29026
Tested-by: Jenkins
Reviewed-by: Sonia Sharma <sonia.sharma@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/lnet/peer.c

index cfdc3ef..1c34781 100644 (file)
@@ -1810,7 +1810,7 @@ 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;