Loading
bdev/ocssd: Clean up verify_range()
We can pass nvme_bdev_ns directly to bdev_ocssd_verify_range() and actually we don't need to check if bdevs are created on the same namespace. For the former, change parameters of bdev_ocssd_verify_range() from nvme_bdev_ctrlr and nsid to nvme_bdev_ns. For the latter, remove the check but add assert to nvme_bdev_attach_bdev_to_ns() instead. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I23c3a0ad02fa2b9f4c8149d9b02660140b2d3951 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5554 Community-CI: Broadcom CI Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>