From f5661d03f0f59cc2473f60232872ddafd325cd9d Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Fri, 3 Sep 2010 06:28:36 +0000 Subject: rpc-transport/rdma: notify rpc when pollerr happens, so that client side can try to reconnect. Signed-off-by: Raghavendra G Signed-off-by: Vijay Bellur BUG: 513 (Introduce 0 copy rdma) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=513 --- rpc/rpc-transport/rdma/src/rdma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpc') 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; } -- cgit