Spdk/test/unit/lib/nvme
Alexey Marchuk 3c4a68cafc nvme: Do not create IO qpair during ctrlr initialization
If nvme ctrlr is resetting or initializing, free_io_qids
bitmap is already freed or not created yet. In that case
an attempt to create IO qpair leads to segmentation fault.

Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Change-Id: I6a97bf81d5a568db20d23b3f88cf01e994ba42e3
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10827
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuheimatsumoto@gmail.com>
2021-12-27 08:43:03 +00:00
..
nvme_ctrlr_cmd.c nvme: rename nvme_qpair_abort_reqs to *_with_cbarg 2021-09-22 06:55:28 +00:00
nvme_ctrlr_ocssd_cmd.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_ctrlr.c nvme: Do not create IO qpair during ctrlr initialization 2021-12-27 08:43:03 +00:00
nvme_cuse.c nvme: No longer allocate arrays of size NN in cuse handling 2021-09-03 08:07:25 +00:00
nvme_fabric.c nvme/fabric: extract prop set/get to separate sync/async functions 2021-09-16 07:16:52 +00:00
nvme_io_msg.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_ns_cmd.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_ns_ocssd_cmd.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_ns.c spelling: test 2021-12-03 08:13:22 +00:00
nvme_opal.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_pcie_common.c nvme/pcie: only set qpair state from qpair's thread 2021-10-25 19:53:14 +00:00
nvme_pcie.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_poll_group.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_qpair.c ut/nvme_qpair: add missing mutex init 2021-09-27 10:54:46 +00:00
nvme_quirks.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_rdma.c nvme/rdma: Correct qpair disconnect process 2021-12-23 08:44:40 +00:00
nvme_tcp.c spelling: test 2021-12-03 08:13:22 +00:00
nvme_transport.c nvme: abort outstanding requests case by case 2021-11-22 08:35:35 +00:00
nvme.c spelling: test 2021-12-03 08:13:22 +00:00
Makefile test/nvme_opal: build nvme_opal unittest file 2021-06-07 07:24:47 +00:00