From: James Simmons Date: Fri, 2 Apr 2010 21:06:38 +0000 (+0200) Subject: b=20805 Use CNETERR in specific places in the portal's LNET driver X-Git-Tag: 1.8.3~22 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8e4e41abfa4f18d371fda21bd94efa82c15da41f;p=fs%2Flustre-release.git b=20805 Use CNETERR in specific places in the portal's LNET driver i=isaac i=liang --- diff --git a/lnet/klnds/ptllnd/ptllnd_peer.c b/lnet/klnds/ptllnd/ptllnd_peer.c index 62ff41f..b3ea13c 100644 --- a/lnet/klnds/ptllnd/ptllnd_peer.c +++ b/lnet/klnds/ptllnd/ptllnd_peer.c @@ -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,