Spdk/test/nvme/cuse
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
..
.gitignore test/nvme: dynamic nvme cuse devices update test 2020-06-05 09:01:44 +00:00
common.sh test/nvme/cuse: Use common.sh to restore nvme devices with proper data 2023-03-01 08:55:26 +00:00
cuse.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvme_cuse_rpc.sh add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
nvme_cuse.sh add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
nvme_ns_manage_cuse.sh test/nvme/cuse: Use common.sh to restore nvme devices with proper data 2023-03-01 08:55:26 +00:00
spdk_nvme_cli_cuse.sh add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
spdk_smartctl_cuse.sh misc: Fix spelling mistakes 2022-12-09 08:16:18 +00:00