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> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
sock | ||
Makefile |