Loading
bdev/nvme: Fix the RPC bdev_nvme_send_cmd to pass the registered io_device,...
bdev/nvme: Fix the RPC bdev_nvme_send_cmd to pass the registered io_device, nvme_bdev_ctrlr, correctly to get io_channel Previously, not nvme_bdev_ctrlr but spdk_nvme_ctrlr pointer had been passed to spdk_get_io_channel() in nvme_rpc_io_cmd_bdev_nvme(). There was no unit test for bdev_nvme_get_io_qpair(), and so add unit test for it to guard us from degradation. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I00fdc14ea6467162c5fb90d04389883d7c409a17 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6920 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>