Spdk/module/bdev
Shuhei Matsumoto 0aeab1f13d bdev/nvme: Add nvme_bdev_ctrlr pointer to struct nvme_io_channel
When we support ANA multipath, I/O path will get nvme_bdev_ns from
nvme_bdev_ctrlr->namespaces, and nvme_bdev_ctrlr will be got from
nvme_io_channel.

Hence this patch adds a pointer to nvme_bdev_ctrlr to struct
nvme_io_channel.

As a side effect, nvme_io_channel->ctrlr is helpful to simplify
admin command submit functions, and do it in this patch.

For ocssd_bdev, we will do the similar change later.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I6976d1543ccda37dde4b81b2124d88f0d05ed7eb
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5055
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-11-25 08:52:15 +00:00
..
aio lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
compress lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
crypto lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
delay lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
error lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
ftl lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
gpt module: Use PRId64 for portability 2020-11-19 09:59:01 +00:00
iscsi lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
lvol lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
malloc module: Use PRId64 for portability 2020-11-19 09:59:01 +00:00
null module: Use PRId64 for portability 2020-11-19 09:59:01 +00:00
nvme bdev/nvme: Add nvme_bdev_ctrlr pointer to struct nvme_io_channel 2020-11-25 08:52:15 +00:00
ocf lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
passthru lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
pmem lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
raid module: Use PRId64 for portability 2020-11-19 09:59:01 +00:00
rbd lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
split lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
uring lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
virtio virtio: add transitional virtio device support 2020-11-20 11:00:53 +00:00
zone_block module: Use PRId64 for portability 2020-11-19 09:59:01 +00:00
Makefile bdev: move bdev_rpc library contents 2020-09-25 11:43:42 +00:00