Loading
bdev/ocssd: Pass range and geometry directly to translate_lba()
When the NVMe bdev module supports ANA multipath, struct nvme_bdev will not have nvme_bdev_ns pointer directly and will get via nvme_bdev_subsystem. The patch series starting from this patch will change helper functions to get both ocssd_bdev and ocssd_ns as parameters to make the upcoming changes easier. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Iacec2eadc9e56ae7b84ee3c313c8986f55983a08 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5535 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>