diff options
author | Raghavendra G <raghavendra@gluster.com> | 2011-06-30 03:20:31 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-07-01 01:26:09 -0700 |
commit | 64316c419f013464641b84900acc0ff4eeeaf2ae (patch) | |
tree | 274cf024b5fc899335e1e5fc3e9409aecd4e0b58 | |
parent | ea6763a5b956c29f4c1862ed355398631ff4a9cc (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
-rw-r--r-- | rpc/rpc-transport/rdma/src/rdma.c | 1 |
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 fa2eb9e05..49e0af0cb 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); { |