Loading
bdev/nvme: Refactor io_type_supported to clarify querying NVMe driver
bdev_nvme_io_type_supported() queries NVMe driver to return if the specified IO type is supported. To clarify it, cache pointers to struct spdk_nvme_ctrlr and spdk_nvme_ns. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I0956506e720722216e03cb808f61737ada617329 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5102 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>