diff options
author | Raghavendra G <raghavendra@gluster.com> | 2010-09-03 06:28:36 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-03 08:08:14 -0700 |
commit | f5661d03f0f59cc2473f60232872ddafd325cd9d (patch) | |
tree | 80927c813c1d803eb74a291bf5e04816c375b508 | |
parent | cc8e13e38931cabcf2d6361554717941bb82c7ab (diff) |
rpc-transport/rdma: notify rpc when pollerr happens, so that client side can try to reconnect.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 513 (Introduce 0 copy rdma)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=513
-rw-r--r-- | rpc/rpc-transport/rdma/src/rdma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/rpc-transport/rdma/src/rdma.c b/rpc/rpc-transport/rdma/src/rdma.c index 19f6a25a8e9..2ea787cab4c 100644 --- a/rpc/rpc-transport/rdma/src/rdma.c +++ b/rpc/rpc-transport/rdma/src/rdma.c @@ -4253,11 +4253,11 @@ rdma_handshake_pollerr (rpc_transport_t *this) } pthread_mutex_unlock (&priv->write_mutex); -/* xlator_notify (this->xl, GF_EVENT_POLLERR, this, NULL); */ - if (need_unref) rpc_transport_unref (this); + rpc_transport_notify (this, RPC_TRANSPORT_DISCONNECT, this); + return 0; } |