]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/async/rdma: export RDMAV_HUGEPAGES_SAFE before ibv_fork_init
authorChangcheng Liu <changcheng.liu@aliyun.com>
Mon, 3 Jun 2019 05:31:09 +0000 (13:31 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Fri, 23 Aug 2019 02:45:05 +0000 (10:45 +0800)
commitb2d3f5e0970a4afbb82676af9e5b9a12f62a7747
treeffa2a89fb5f810ebed5314115774e4347dc6df11
parent4810e40d440123966da50aceeffcd4005117e4ff
msg/async/rdma: export RDMAV_HUGEPAGES_SAFE before ibv_fork_init

In rdma-core library, ibv_fork_init will check environment variable
RDMAV_HUGEPAGES_SAFE to decide whether huge page is usable in system.
It doesn't make sense to export RDMAV_HUGEPAGES_SAFE env after
calling ibv_fork_init.

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
src/msg/async/rdma/Infiniband.cc