]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
bluestore/NVMEDEVICE: update SPDK to version 17.03
authoroptimistyzy <optimistyzy@gmail.com>
Fri, 14 Apr 2017 05:38:40 +0000 (13:38 +0800)
committeroptimistyzy <optimistyzy@gmail.com>
Tue, 18 Apr 2017 01:44:47 +0000 (09:44 +0800)
commitbc7c6b3fc0f3d0f67d4eb6f9b1b4cc6433731a94
tree1a813942bb314216fe499887f4ef30e2e2ae623a
parent48074a96ec24a8ef1a0ecab499ac5d99febe49c5
bluestore/NVMEDEVICE: update SPDK to version 17.03

Do some minor changes:

1 Restrict the total DPDK memory used by an osd instance.
change the name from bluestore_spdk_socket_mem to
bluestore_spdk_mem.

2 use spdk_env_init instead of rte_eal_init. The reason is that
SPDK lib invokes rte_eal_init which reduces the initilization
paramter conversion and check, also spdk 17.03 invokes
spdk_vtophys_register_dpdk_mem() (which is an internal function)
in spdk_env_init, and this func must be called.

Signed-off-by: optimistyzy <optimistyzy@gmail.com>
src/common/config_opts.h
src/os/bluestore/NVMEDevice.cc
src/spdk