Loading
bdev/nvme: Set multipath policy correctly when creating nvme_bdev_channel
bdev_nvme_create_bdev_channel_cb() did not initialized the multipath policy of the newly created channel. 0 was active-passive and hence multipath policy was always initialized to active-passive. Fix the bug and add unit tests for verification. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I6e44108740da4b9ff72311ae4b5500558c65c5c3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14225 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>