Spdk/test/unit/lib/nvme
Jacek Kalwas 55e0ec894f nvme: fix identify active ns
NVMe ctrlr init state machine shall be async whenever possible so it
is not blocking other code from processing. It can result in deadlock
when cmd producer and consumer are sharing the same thread.

This patch is making identify active ns async by introducing new
state to wait for completions.

Signed-off-by: Jacek Kalwas <jacek.kalwas@intel.com>
Change-Id: I346d35bab4733d3941e023602854fdd5b1ef23b5
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1463
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Community-CI: Broadcom CI
2020-04-10 07:08:09 +00:00
..
nvme_ctrlr_cmd.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_ctrlr_ocssd_cmd.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_ctrlr.c nvme: fix identify active ns 2020-04-10 07:08:09 +00:00
nvme_ns_cmd.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_ns_ocssd_cmd.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_ns.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_pcie.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_poll_group.c test/nvme_poll_group: Fix uninitialized value in unittest. 2020-04-09 08:07:50 +00:00
nvme_qpair.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_quirks.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_rdma.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_tcp.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_uevent.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme.c nvme: Init the status object when tracking the req completion 2020-04-07 08:38:58 +00:00
Makefile test/unit: add poll_group unit tests. 2020-04-07 08:38:40 +00:00