From e7b0551ef5eb9a17ab97c34fc148de880b546217 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Wed, 1 Sep 2010 03:44:12 +0000 Subject: rpc-transport/rdma: set whether pollin data is for request/reply. - with implementation of call backs client and server can both recieve request/reply. Signed-off-by: Raghavendra G Signed-off-by: Vijay Bellur BUG: 1488 (rdma client fails to connect to the servers) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1488 --- rpc/rpc-transport/rdma/src/rdma.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rpc/rpc-transport/rdma/src') diff --git a/rpc/rpc-transport/rdma/src/rdma.c b/rpc/rpc-transport/rdma/src/rdma.c index ceb4ee3f6..4d210f2ee 100644 --- a/rpc/rpc-transport/rdma/src/rdma.c +++ b/rpc/rpc-transport/rdma/src/rdma.c @@ -3048,6 +3048,8 @@ rdma_pollin_notify (rdma_peer_t *peer, rdma_post_t *post) __rdma_request_context_destroy (request_context); } pthread_mutex_unlock (&priv->write_mutex); + + pollin->is_reply = 1; } ret = rpc_transport_notify (peer->trans, RPC_TRANSPORT_MSG_RECEIVED, -- cgit