Loading
bdev_nvme: fix selector default for set_multipath_policy
Commit 4d566944 set the default selector policy for active/active, but failed to account for what this would do when active/passive was selected. So initialize the selector to UINT32_MAX, then after we know the policy if the selector didn't change we can pick the appropriate default. Fixes commit 4d566944 ("bdev/nvme: make ROUND_ROBIN the default multipath policy for active/active") Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: I73cbaecc4b8a46659ecd6e42b2c1b3f934212d9d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23026 Community-CI: Mellanox Build Bot Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>