b123fb15fa
Struct nvme_bdev has a pointer to nvme_bdev_ctrlr and a pointer to nvme_bdev_ns now, but nvme_bdev_ctrlr can be accessed via nvme_bdev->nvme_ns->ctrlr, and so nvme_bdev->nvme_bdev_ctrlr is duplicated. The upcoming multipath feature will need struct nvme_bdev to have multiple nvme_bdev_ns pointers. Hence remove nvme_bdev_ctrlr from struct nvme_bdev and get a pointer to nvme_bdev_ctrlr from nvme_bdev->nvme_ns->ctrlr. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ie5b785cb26e535c7186fe630c1f8b7d598b0ba46 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4288 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
sock | ||
Makefile |