Whamcloud - gitweb
b=20805 Use CNETERR in specific places in the portal's LNET driver
authorJames Simmons <simmonsja@ornl.gov>
Fri, 2 Apr 2010 21:06:38 +0000 (23:06 +0200)
committerJohann Lombardi <johann@sun.com>
Fri, 2 Apr 2010 21:06:38 +0000 (23:06 +0200)
i=isaac
i=liang

lnet/klnds/ptllnd/ptllnd_peer.c

index 62ff41f..b3ea13c 100644 (file)
@@ -961,24 +961,24 @@ kptllnd_peer_check_bucket (int idx, int stamp)
                                    "please check Portals");
 
                if (tx->tx_tposted) {
-                       CERROR("Could not send to %s after %ds (sent %lds ago); "
+                       CNETERR("Could not send to %s after %ds (sent %lds ago); "
                                "check Portals for possible issues\n",
                                libcfs_id2str(peer->peer_id),
                                *kptllnd_tunables.kptl_timeout,
                                cfs_duration_sec(jiffies - tx->tx_tposted));
                 } else if (state < PEER_STATE_ACTIVE) {
-                        CERROR("Could not connect %s (%d) after %ds; "
+                        CNETERR("Could not connect %s (%d) after %ds; "
                                "peer might be down\n",
                                libcfs_id2str(peer->peer_id), state,
                                *kptllnd_tunables.kptl_timeout);
                } else {
-                       CERROR("Could not get credits for %s after %ds; "
+                       CNETERR("Could not get credits for %s after %ds; "
                                "possible Lustre networking issues\n",
                        libcfs_id2str(peer->peer_id),
                        *kptllnd_tunables.kptl_timeout);
                }
 
-                CERROR("%s timed out: cred %d outstanding %d, sent %d, "
+                CNETERR("%s timed out: cred %d outstanding %d, sent %d, "
                        "state %d, sent_hello %d, sendq %d, activeq %d "
                        "Tx %p %s %s (%s%s%s) status %d %sposted %lu T/O %ds\n",
                        libcfs_id2str(peer->peer_id), c, oc, sc,