Spdk/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
..
Makefile nvme: add API for qpair poll groups. 2020-04-07 08:38:40 +00:00
nvme_ctrlr_cmd.c nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: hold lock when calling nvme_ctrlr_submit_admin_request 2019-02-15 21:27:58 +00:00
nvme_ctrlr.c nvme: fix identify active ns 2020-04-10 07:08:09 +00:00
nvme_cuse.c nvme/cuse: Don't allocate data buffers from CMB for cuse commands 2020-02-17 10:06:20 +00:00
nvme_cuse.h lib/nvme: add RPC for interacting with CUSE devices 2019-10-24 23:43:59 +00:00
nvme_fabric.c nvme: Init the status object when tracking the req completion 2020-04-07 08:38:58 +00:00
nvme_internal.h nvme: fix identify active ns 2020-04-10 07:08:09 +00:00
nvme_io_msg.c lib/nvme: stop all NVMe io producers on detach 2019-11-28 12:36:58 +00:00
nvme_io_msg.h lib/nvme: stop all NVMe io producers on detach 2019-11-28 12:36:58 +00:00
nvme_ns_cmd.c nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +00:00
nvme_ns_ocssd_cmd.c nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +00:00
nvme_ns.c nvme: Init the status object when tracking the req completion 2020-04-07 08:38:58 +00:00
nvme_opal_internal.h nvme/opal: remove timeout 2020-04-10 07:07:52 +00:00
nvme_opal.c nvme/opal: use the return value as the maximum ranges 2020-04-10 07:07:52 +00:00
nvme_pcie.c nvme: Init the status object when tracking the req completion 2020-04-07 08:38:58 +00:00
nvme_poll_group.c nvme: add API for qpair poll groups. 2020-04-07 08:38:40 +00:00
nvme_qpair.c nvme: fix command specific status code 2020-02-20 09:49:24 +00:00
nvme_quirks.c nvme: add quirk for a minimum io queue size 2019-12-13 11:02:04 +00:00
nvme_rdma.c nvme: add API for qpair poll groups. 2020-04-07 08:38:40 +00:00
nvme_tcp.c nvme/tcp: Properly size the receive buffer 2020-04-08 06:42:55 +00:00
nvme_transport.c nvme: add poll group handling to qpair path. 2020-04-07 08:38:40 +00:00
nvme_uevent.c nvme: add vfio driver parse event 2019-05-29 02:36:41 +00:00
nvme_uevent.h nvme: Add support of hotplug for vfio-attached devices. 2017-12-06 17:04:49 -05:00
nvme.c nvme: Init the status object when tracking the req completion 2020-04-07 08:38:58 +00:00