From 8e4e41abfa4f18d371fda21bd94efa82c15da41f Mon Sep 17 00:00:00 2001 From: James Simmons Date: Fri, 2 Apr 2010 23:06:38 +0200 Subject: [PATCH] b=20805 Use CNETERR in specific places in the portal's LNET driver i=isaac i=liang --- lnet/klnds/ptllnd/ptllnd_peer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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, -- 1.8.3.1