From 64316c419f013464641b84900acc0ff4eeeaf2ae Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Thu, 30 Jun 2011 03:20:31 +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 fa2eb9e0512..49e0af0cb9f 100644 --- a/rpc/rpc-transport/rdma/src/rdma.c +++ b/rpc/rpc-transport/rdma/src/rdma.c @@ -3923,6 +3923,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