summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammed Rafi KC <rkavunga@redhat.com>2015-02-26 16:01:51 +0530
committerVijay Bellur <vbellur@redhat.com>2015-03-10 19:22:34 -0700
commit1a4e7362af1f351f389b73f9ae9c0b1fa423f7a3 (patch)
tree58ff0c864c2a4838dd8ff3ee0b45171702356e36
parente64415ad9d97e2dfd74481b47c88a0f483b4374a (diff)
rdma:enhance logging when a connection error occur
Change-Id: I6146307949a3d852d3af5f8b273004ad6b27451b BUG: 1196584 Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com> Reviewed-on: http://review.gluster.org/9756 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> Reviewed-by: Raghavendra Talur <rtalur@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--rpc/rpc-transport/rdma/src/rdma.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rpc/rpc-transport/rdma/src/rdma.c b/rpc/rpc-transport/rdma/src/rdma.c
index df0c386147e..22eb0906619 100644
--- a/rpc/rpc-transport/rdma/src/rdma.c
+++ b/rpc/rpc-transport/rdma/src/rdma.c
@@ -1223,7 +1223,9 @@ gf_rdma_cm_event_handler (void *data)
this = event->id->context;
gf_log (this->name, GF_LOG_WARNING,
- "cma event %s, error %d (me:%s peer:%s)\n",
+ "cma event %s, error %d (me:%s peer:%s)\n "
+ "Host Unreachable, Check your connection "
+ "with IPoIB",
rdma_event_str(event->event), event->status,
this->myinfo.identifier,
this->peerinfo.identifier);