numam-spdk/test/nvme
Tomasz Zawadzki 7fbdeacc9e nvme: do not allow the same nvme_io_msg_producer to register twice
Previous to this change it was possible to register
same nvme_io_msg_producer twice. This kind of functionality does
not make sense in current scope of it, as each message to/from
io_msg_producer does not have identifier other than this pointer.

In case of nvme_cuse this allowed creation of multiple /dev/spdk/nvme*
devices and caused an infinite loop when detaching an nvme controller.

This patch disallows that and adds test for nvme_cuse.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I5f56548d1bce878417323c12909d6970416d2020
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1938
Community-CI: Mellanox Build Bot
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>
2020-04-23 20:29:46 +00:00
..
aer lib/nvme: add spdk_nvme_transport_available_by_name 2020-01-16 09:10:38 +00:00
cuse nvme: do not allow the same nvme_io_msg_producer to register twice 2020-04-23 20:29:46 +00:00
deallocated_value
e2edp test/nvme: allocate separate metadata buffer when enable PRACT 2020-04-02 07:02:38 +00:00
err_injection
overhead
perf test/nvme_perf: Drop .ini config in favor of json 2020-04-08 06:44:22 +00:00
reset
sgl
startup
hotplug.sh test: shellcheck - apply rule SC2002 2020-01-17 14:07:39 +00:00
hw_hotplug.sh test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
Makefile
nvme_opal.sh test/nvme_opal: use run_test framework 2020-01-07 12:15:34 +00:00
nvme_rpc.sh test: do not use iter_pci_class_code in tests 2020-03-18 08:03:21 +00:00
nvme.sh test: do not use iter_pci_class_code in tests 2020-03-18 08:03:21 +00:00
spdk_nvme_cli_cuse.sh test/cuse: move cuse specific tests outside of nvme-cli 2020-04-23 07:27:36 +00:00
spdk_nvme_cli.sh test: do not use iter_pci_class_code in tests 2020-03-18 08:03:21 +00:00
spdk_smartctl_cuse.sh test: do not use iter_pci_class_code in tests 2020-03-18 08:03:21 +00:00