summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-transport
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2011-06-30 03:18:37 +0000
committerAnand Avati <avati@gluster.com>2011-07-01 01:27:13 -0700
commit89d35b73a3ac07d2708cfb86af371e38c2c76509 (patch)
treee5f7c58aa9d9548640016085747d55074b1f11fd /rpc/rpc-transport
parent08b33281723a42864bbae07faab8bbacdeea986e (diff)
rpc-transport/rdma: call ibv_fork_init to make rdma work with fork.
Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 3091 (rebalance fails with "transport endpoint not connected" in 3.2.1 rdma set-up) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3091
Diffstat (limited to 'rpc/rpc-transport')
-rw-r--r--rpc/rpc-transport/rdma/src/rdma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc/rpc-transport/rdma/src/rdma.c b/rpc/rpc-transport/rdma/src/rdma.c
index 7d2bfc0ad74..a310508b04b 100644
--- a/rpc/rpc-transport/rdma/src/rdma.c
+++ b/rpc/rpc-transport/rdma/src/rdma.c
@@ -3921,6 +3921,7 @@ rdma_init (rpc_transport_t *this)
struct ibv_context *ib_ctx = NULL;
int32_t ret = 0;
+ ibv_fork_init ();
rdma_options_init (this);
{