Spdk/test/unit/lib
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
..
bdev raid_ut: initialize ch_ctx in test_multi_raid_with_io 2020-04-09 13:44:21 +00:00
blob ut/blob: disable compilation of UT for CUnit other than 2.1-3 2020-04-01 10:22:17 +00:00
blobfs lib/thread: Wait until thread_is_exited() is true by thread_poll() after thread_exit() 2020-04-08 06:43:05 +00:00
event lib/thread: Wait until thread_is_exited() is true by thread_poll() after thread_exit() 2020-04-08 06:43:05 +00:00
ftl lib/thread: Wait until thread_is_exited() is true by thread_poll() after thread_exit() 2020-04-08 06:43:05 +00:00
ioat ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
iscsi iscsi: Properly size the receive buffer 2020-04-08 06:42:55 +00:00
json ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
jsonrpc ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
log ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
lvol ut/lvol: simplify UT by using handy CUnit macros 2020-03-31 07:57:10 +00:00
notify ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme nvme: fix identify active ns 2020-04-10 07:08:09 +00:00
nvmf lib/thread: Wait until thread_is_exited() is true by thread_poll() after thread_exit() 2020-04-08 06:43:05 +00:00
reduce ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
scsi ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
sock ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
thread ut/thread: Test creating and destroying nested I/O channels 2020-04-09 13:44:14 +00:00
util ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
vhost ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile test/unit: remove vhost dependency from ftl tests 2020-01-15 13:37:19 +00:00