Loading
bdev/nvme: Fix a bug that io_path is current even if it is inaccessible
nvme_io_path_is_current() did not check if io_path is available when it is cached and multipath is active/passive. Fix the bug and add unit test for all cases including the bug case. Fixes issue #3376 Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I7df10f1808507d846a208c073fb5a376594051aa Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23403 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot