Spdk/lib/nvme
Daniel Verkamp c4bb0ea600 nvme: add helper to wait for internal commands
Factor out the common pattern of waiting for an internally-submitted
command to complete.  This will give us a convenient central place to
add error checking.

Change-Id: I65334d654d294cfb208fc86d16fa387ac5432254
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/412545
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2018-05-28 01:43:55 +00:00
..
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
nvme_ctrlr_cmd.c nvme: wrapper request completion callback into a function 2018-05-24 18:03:25 +00:00
nvme_ctrlr.c nvme: add helper to wait for internal commands 2018-05-28 01:43:55 +00:00
nvme_internal.h nvme: add helper to wait for internal commands 2018-05-28 01:43:55 +00:00
nvme_ns_cmd.c nvme: wrapper request completion callback into a function 2018-05-24 18:03:25 +00:00
nvme_ns.c nvme: add helper to wait for internal commands 2018-05-28 01:43:55 +00:00
nvme_pcie.c nvme: add helper to wait for internal commands 2018-05-28 01:43:55 +00:00
nvme_qpair.c nvme: wrapper request completion callback into a function 2018-05-24 18:03:25 +00:00
nvme_quirks.c nvme: add a quirk for identify 0x2 2018-05-10 19:38:54 +00:00
nvme_rdma.c nvme: add helper to wait for internal commands 2018-05-28 01:43:55 +00:00
nvme_transport.c scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
nvme_uevent.c util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
nvme_uevent.h nvme: Add support of hotplug for vfio-attached devices. 2017-12-06 17:04:49 -05:00
nvme.c nvme: add helper to wait for internal commands 2018-05-28 01:43:55 +00:00