Spdk/test
Michal Berger 8ecf7ae50b test/nvme/cuse: Use common.sh to restore nvme devices with proper data
In particular, cache cntlid, nsze and ncap to make sure namespaces can
be properly created and attached to. The test was assuming that the ns
should be attached with a controllers' list always set to 0, however,
that doesn't have to be the case for every nvme (the difference was
noticed under SAMSUNG MZQL21T9HCJR-00A07). Same goes for the formatted
block size where we cannot assume it's 512 bytes as it depends on the
active lbaf.

Signed-off-by: Michal Berger <michal.berger@intel.com>
Change-Id: Iac9902052e8b2db44ede2b5178372d65c07b5b4a
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16580
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2023-03-01 08:55:26 +00:00
..
accel examples/accel/perf: add support for xor 2023-02-21 08:33:18 +00:00
app llvm_vfio_fuzz: detach io ctrlr in new thread 2023-02-17 12:52:59 +00:00
bdev test/blockdev: Increase qdepth of bdev_verify_big_io test 2023-02-03 08:54:34 +00:00
blobfs add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
blobstore add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
common common/config: Remove unused pieces 2023-02-22 08:11:33 +00:00
compress bdev/compress: Port to use accel_fw instead of compressdev 2023-01-20 10:26:21 +00:00
cpp_headers update Intel copyright notices 2022-11-10 08:28:53 +00:00
dd add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
dma test/dma: call spdk_thread_exit() 2022-11-23 08:22:04 +00:00
dpdk_memory_utility add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
env add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
event autotest: unify style for test/ and ./test/ 2023-02-14 09:07:09 +00:00
external_code tests: Run make clean only when SPDK was configured 2023-02-02 09:05:56 +00:00
ftl test/ftl: add cases line to cover RPC bdev_ftl_unload 2023-01-17 20:32:58 +00:00
fuzz test/fuzz: Don't gather coverage under short-fuzz job 2023-01-19 14:41:54 +00:00
interrupt Add SPDX header to various files 2022-11-29 08:27:51 +00:00
ioat add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
iscsi_tgt autotest: unify style for test/ and ./test/ 2023-02-14 09:07:09 +00:00
json_config test/ublk: add basic tests for verifying ublk 2023-01-24 17:09:34 +00:00
lvol autotest: unify style for test/ and ./test/ 2023-02-14 09:07:09 +00:00
make autotest: unify style for test/ and ./test/ 2023-02-14 09:07:09 +00:00
nvme test/nvme/cuse: Use common.sh to restore nvme devices with proper data 2023-03-01 08:55:26 +00:00
nvmf test/multipath: don't wait for bdevperf to finish 2023-02-16 10:09:54 +00:00
ocf Add SPDX header to various files 2022-11-29 08:27:51 +00:00
openstack add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
packaging rpmbuild: Pick proper arch for the final RPM location 2023-01-24 08:36:35 +00:00
pmem add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
rpc lib/trace: add trace_get_info RPC 2022-12-05 09:50:38 +00:00
rpc_client add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
rpc_plugins autotest: Use rpc_cmd() for rpc plugin-based tests 2021-04-02 08:22:42 +00:00
scheduler test/scheduler: Use CPU list rather than cpumask 2023-03-01 08:55:26 +00:00
setup test/setup: Use hw_sector_size to convert size to sectors 2023-02-17 10:16:35 +00:00
sma bdev/crypto: Use accel framework 2023-01-19 22:00:58 +00:00
spdkcli test/spdkcli: Adjust traps 2023-03-01 08:55:26 +00:00
thread thread: test SPDK spinlocks in an application 2022-12-06 21:20:17 +00:00
ublk test/ublk: add parameter for num devices 2023-01-25 10:52:36 +00:00
unit ut/vbdev_lvol: examine multiple lvols 2023-02-24 21:01:11 +00:00
vfio_user test/vfio_user: use 2048MiB static memory size for bdevperf 2023-01-16 08:22:08 +00:00
vhost autotest: unify style for test/ and ./test/ 2023-02-14 09:07:09 +00:00
vmd add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk_cunit.h update Intel copyright notices 2022-11-10 08:28:53 +00:00