Whamcloud - gitweb
b=10316,r=eeb:
authorisaac <isaac>
Mon, 26 Feb 2007 19:57:57 +0000 (19:57 +0000)
committerisaac <isaac>
Mon, 26 Feb 2007 19:57:57 +0000 (19:57 +0000)
-   fixed console chatter in case of -ETIMEDOUT.

lnet/ChangeLog
lnet/lnet/acceptor.c

index b0a0f04..d7fcde8 100644 (file)
@@ -14,6 +14,10 @@ TBD         Cluster File Systems, Inc. <info@clusterfs.com>
        * bug fixes
 
 Severity   : enhancement
+Bugzilla   : 10316
+Description: Fixed console chatter in case of -ETIMEDOUT.
+
+Severity   : enhancement
 Bugzilla   : 11684
 Description: Added D_NETTRACE for recording network packet history
             (initially only for ptllnd).  Also a separate userspace
index 1968f59..cf38645 100644 (file)
@@ -81,11 +81,11 @@ lnet_connect_console_error (int rc, lnet_nid_t peer_nid,
                        libcfs_nid2str(peer_nid), HIPQUAD(peer_ip));
                 break;
         case -ETIMEDOUT:
-                LCONSOLE_ERROR("Connection to %s at host %u.%u.%u.%u on "
-                               "port %d took too long: that node may be hung "
-                               "or experiencing high load.\n",
-                               libcfs_nid2str(peer_nid),
-                               HIPQUAD(peer_ip), peer_port);
+                CDEBUG(D_NETERROR, "Connection to %s at host %u.%u.%u.%u on "
+                       "port %d took too long: that node may be hung "
+                       "or experiencing high load.\n",
+                       libcfs_nid2str(peer_nid),
+                       HIPQUAD(peer_ip), peer_port);
                 break;
         case -ECONNRESET:
                 LCONSOLE_ERROR("Connection to %s at host %u.%u.%u.%u on "