Move nvme_bdev_attach_bdev_to_ns() into nvme_bdev_create() and change the return type of nvme_bdev_create() to int. These refactorings are necessary to share a single nvme_bdev among multiple nvme_bdev_ns. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I81c702bfec15f14c6b4a6588d1d3dfa28a9e3e6d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5650 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
sock | ||
Makefile |