Spdk/lib/bdev/nvme
Changpeng Liu 8ca0fbcec0 bdev/nvme: add a intermediate function to wrapper create/get block devices
When users call the RPC to add a NVMe controller, block NVMe driver
will create controller and block devices based on Namespaces, so
wrapper the two actions together with a intermediate function,
this will make the code looks more clean for the coming patch.

Change-Id: Iddc072042eb2df90662c42e04427307ccf5d5633
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/445658
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: wuzhouhui <wuzhouhui@kingsoft.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-03-18 23:38:07 +00:00
..
bdev_ftl_rpc.c ftl: Make FTL bdev a part of NVMe bdev 2019-03-04 19:00:23 +00:00
bdev_ftl.c bdev/ftl: Initialize a nvme_bdev_ctrlr name 2019-03-13 13:13:21 +00:00
bdev_ftl.h ftl: Make FTL bdev a part of NVMe bdev 2019-03-04 19:00:23 +00:00
bdev_nvme_rpc.c bdev/nvme: Rename non-public API NVMe bdev functions 2019-03-08 12:47:53 +00:00
bdev_nvme.c bdev/nvme: add a intermediate function to wrapper create/get block devices 2019-03-18 23:38:07 +00:00
bdev_nvme.h bdev/nvme: Move functions related to NVMe controller to common.c 2019-03-08 12:47:53 +00:00
common.c bdev/nvme: Move functions related to NVMe controller to common.c 2019-03-08 12:47:53 +00:00
common.h bdev/nvme: Move functions related to NVMe controller to common.c 2019-03-08 12:47:53 +00:00
Makefile bdev/nvme: Create common files for NVMe based bdevs 2019-03-04 19:00:23 +00:00
nvme_rpc.c bdev/nvme: Remove spdk_bdev_nvme_lookup_ctrlr function 2019-03-04 19:00:23 +00:00