numam-spdk/lib/nvme
Changpeng Liu 266f37a5a0 nvme: make response callback after moving completion queue head
For some cases, especially for Admin commands, there maybe has
recursive commands, e.g.: in AER callback we may send a new AER
request, in such case, the current code can't process such
case.  While here, move the completion queue head to next before
any response callback will fix such issue.

Change-Id: Ide56701d94615881790cf025ede2f07420b9b16e
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/412766
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-05-29 18:09:30 +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: make response callback after moving completion queue head 2018-05-29 18:09:30 +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