Spdk/test
Shuhei Matsumoto b8f1384da3 bdev/nvme: Check if ns can be shared when configuring multipath
We had not checked the bit 0 of the Namespace Multipath I/O and
Namespace Sharing Capabilities (NMIC) field in the Identify Namespace
data structure.

If the bit 0 of the NMIC is zero, it is likely that namespaces are not
identical.

We should check if the value of the NMIC first, and do it in this patch.

Additionally, it is not usual if the bit 0 of the CMIC and the bit 0 of
the NMIC do not match. So in unit tests rename the parameter multi_ctrlr
by multipath for ut_attach_ctrlr() and use it for the value of the NMIC.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I6aa7cbcc99be2507dbf18930f7b585a9ea7d0f90
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10380
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
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@mellanox.com>
2022-06-30 13:32:29 -04:00
..
accel_engine test/accel_engine: add more test cases 2021-09-01 07:34:02 +00:00
app spelling: test 2022-06-30 13:32:28 -04:00
bdev autotest: Skip use of any zoned nvme devices 2022-06-30 13:32:28 -04:00
blobfs event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
blobstore scheduler: Change main core frequency dynamically 2021-01-22 18:31:25 +00:00
common test/nvme/zns: Add simple fio test for zoned nvme devices 2022-06-30 13:32:28 -04:00
compress test/nvmf: use recommended nvmf_create_subsystem rpc 2021-05-20 15:00:22 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dd spelling: test 2022-06-30 13:32:28 -04:00
dma test/dma: Update the test to run IO for some time 2022-06-30 13:32:27 -04:00
dpdk_memory_utility check_format: Ignore shellcheck's SC2128 and SC2178 directives 2021-06-30 22:43:05 +00:00
env spelling: test 2022-06-30 13:32:28 -04:00
event spelling: test 2022-06-30 13:32:28 -04:00
external_code spelling: test 2022-06-30 13:32:28 -04:00
ftl autotest: Skip use of any zoned nvme devices 2022-06-30 13:32:28 -04:00
fuzz nvme_fuzz: pass trid on command line only 2022-06-30 13:32:25 -04:00
interrupt spelling: test 2022-06-30 13:32:28 -04:00
ioat build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
iscsi_tgt spelling: test 2022-06-30 13:32:28 -04:00
json_config spelling: test 2022-06-30 13:32:28 -04:00
lvol spelling: test 2022-06-30 13:32:28 -04:00
make build: don't put out-of-tree ocf build in build/ dir 2021-08-17 08:54:30 +00:00
nvme test/nvme/zns: Fix jq filter 2022-06-30 13:32:29 -04:00
nvmf example/nvme/hello_world: add support for vfio-user transport 2022-06-30 13:32:29 -04:00
ocf check_format: Fixes for shellcheck's SC2251 directive 2021-06-30 22:43:05 +00:00
openstack test/openstack: Use stable branch for the requirements repo 2022-06-30 13:32:26 -04:00
pmem spelling: test 2022-06-30 13:32:28 -04:00
rpc autotest: Use rpc_cmd() for rpc plugin-based tests 2021-04-02 08:22:42 +00:00
rpc_client build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
rpc_plugins autotest: Use rpc_cmd() for rpc plugin-based tests 2021-04-02 08:22:42 +00:00
scheduler spelling: test 2022-06-30 13:32:28 -04:00
setup autotest: Skip use of any zoned nvme devices 2022-06-30 13:32:28 -04:00
spdkcli autotest: Don't override default amount of hugepages on Linux to 8GB 2021-06-24 17:33:10 +00:00
thread test/thread: Add poller_perf to evaluate cost to run poller 2021-08-20 07:29:42 +00:00
unit bdev/nvme: Check if ns can be shared when configuring multipath 2022-06-30 13:32:29 -04:00
vhost spelling: test 2022-06-30 13:32:28 -04:00
vmd test: replace VMD_WHITELIST with VMD_ALLOWED 2020-12-03 09:41:07 +00:00
Makefile test/dma: Add functional test to verify DMA 2022-06-30 13:32:25 -04:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00