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
This commit is contained in:
parent
ea6763a5b9
commit
64316c419f
@ -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);
|
||||
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user