Spdk/module/bdev
Shuhei Matsumoto 03f8da8819 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>
2022-09-01 08:25:22 +00:00
..
aio aio: aio rescan rpc response is sent incorrectly. 2022-07-22 07:28:49 +00:00
compress bdev/compress: make lb_size optional in bdev_compress_create 2022-07-04 07:23:26 +00:00
crypto check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
daos bdev/daos: introduction of daos bdev 2022-08-23 07:15:13 +00:00
delay check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
error Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
ftl ftl: fast shutdown 2022-08-30 14:48:50 +00:00
gpt check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
iscsi bdev_iscsi: support iscsi timeout setting 2022-08-25 07:43:24 +00:00
lvol blobstore: implement spdk_bs_grow and bdev_lvol_grow_lvstore RPC 2022-06-28 17:55:43 +00:00
malloc accel: Rename public header to accel.h 2022-08-16 10:22:55 +00:00
null Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
nvme bdev/nvme: Set multipath policy correctly when creating nvme_bdev_channel 2022-09-01 08:25:22 +00:00
ocf check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
passthru check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
pmem Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
raid module/raid: raid5: rename to raid5f 2022-07-27 08:51:21 +00:00
rbd Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
split check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
uring bdev/uring: Add support for zoned io in uring bdev. 2022-08-30 07:17:06 +00:00
virtio bdev_virtio: fix use-after-free in scsi scan_ctx 2022-08-29 10:51:48 +00:00
xnvme xnvme: Remove unused rc. 2022-08-29 11:40:08 +00:00
zone_block Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
Makefile bdev/daos: introduction of daos bdev 2022-08-23 07:15:13 +00:00