numam-spdk/test/unit/lib/nvme/nvme_qpair.c
Seth Howell f5d88e46e2 nvme: always set ctrlr->is_failed through API
Use the standard API function to fail the controller in all cases.

This patch, and the several following patches are aimed at creating a
mechanism for reporting up to the application layer that a controller is
failed and or removed. To do this, I use the reset_cb to inform the
upper layer that the controller is failed.
This also requires changes to how we handle a controller reset to
pave the way for doing optional reset retries in the libraries.

Change-Id: I06dfce08326c23472a1caa8f6efbac2fd1a720f2
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/469635
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-10-07 15:05:00 +00:00
..
.gitignore test: move NVMe library tests to test/unit 2017-06-21 16:51:12 -04:00
Makefile build: make nvme.unittest.mk the common unittest .mk include 2018-02-14 10:40:40 -05:00
nvme_qpair_ut.c nvme: always set ctrlr->is_failed through API 2019-10-07 15:05:00 +00:00