+20
−10
Loading
As same as the last patch, change bdev_ocssd_to_disk_lba() to take ocssd_ns as an additional parameter. In unit tests, get ocssd_ns from not ocssd_bdev but nvme_bdev_ctrlr because direct association between nvme_bdev and nvme_bdev_ns will be removed when supporting ANA multipath. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I8e86b43bfe435fb2732e29e0fb6926d7572b29e2 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5536 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>