From 89d35b73a3ac07d2708cfb86af371e38c2c76509 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Thu, 30 Jun 2011 03:18:37 +0000 Subject: rpc-transport/rdma: call ibv_fork_init to make rdma work with fork. Signed-off-by: Raghavendra G Signed-off-by: Anand Avati 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 --- rpc/rpc-transport/rdma/src/rdma.c | 1 + 1 file changed, 1 insertion(+) (limited to 'rpc') 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); { -- cgit