diff options
author | Raghavendra G <raghavendra@gluster.com> | 2011-06-30 23:01:23 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-07-01 01:26:42 -0700 |
commit | 1bf2c9f798dc1e11aba63b39e6e604e62f1bc1c3 (patch) | |
tree | 89d4f74187a58197a2ac8dcf2c9c56868757429b /rpc | |
parent | 34d7116ec2cc899d8339eea299bfaf55666a450f (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')
-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 c70c84a3260..cc2b9090e8c 100644 --- a/rpc/rpc-transport/rdma/src/rdma.c +++ b/rpc/rpc-transport/rdma/src/rdma.c @@ -3937,6 +3937,7 @@ rdma_init (rpc_transport_t *this) rdma_options_init (this); + ibv_fork_init (); { dev_list = ibv_get_device_list (NULL); |