summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmar Tumballi <amar@del.gluster.com>2009-05-13 01:26:24 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-05-16 15:31:33 +0530
commit19a1ce89421b7f066168059e972c906b8c194e54 (patch)
treecbc0edddeb87fe7f754bb9d2ea251279091e2cf5
parent92a84f8c0f0925f85ad40db1212ff5ef0c1fc809 (diff)
minor log enhancement in 'ib-verbs' transport.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
-rw-r--r--transport/ib-verbs/src/ib-verbs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/transport/ib-verbs/src/ib-verbs.c b/transport/ib-verbs/src/ib-verbs.c
index 7b1095c9232..7f6f4d852a7 100644
--- a/transport/ib-verbs/src/ib-verbs.c
+++ b/transport/ib-verbs/src/ib-verbs.c
@@ -1224,6 +1224,11 @@ ib_verbs_send_completion_proc (void *data)
device->device_name, wc.status,
wc.vendor_err,
post->buf, wc.byte_len, post->reused);
+ if (wc.status == IBV_WC_RETRY_EXC_ERR)
+ gf_log ("ib-verbs", GF_LOG_ERROR,
+ "might be an issue with SM. "
+ "retry after running 'opensm' "
+ "(Subnet Manager).");
if (peer)
transport_disconnect (peer->trans);
}