opnsense-src/sys/dev/nvme
Jim Harris 232e2edb6c Add the ability to internally mark a controller as failed, if it is unable to
start or reset.  Also add a notifier for NVMe consumers for controller fail
conditions and plumb this notifier for nvd(4) to destroy the associated
GEOM disks when a failure occurs.

This requires a bit of work to cover the races when a consumer is sending
I/O requests to a controller that is transitioning to the failed state.  To
help cover this condition, add a task to defer completion of I/Os submitted
to a failed controller, so that the consumer will still always receive its
completions in a different context than the submission.

Sponsored by:	Intel
Reviewed by:	carl
2013-03-26 21:58:38 +00:00
..
nvme.c Add the ability to internally mark a controller as failed, if it is unable to 2013-03-26 21:58:38 +00:00
nvme.h Add the ability to internally mark a controller as failed, if it is unable to 2013-03-26 21:58:38 +00:00
nvme_ctrlr.c Add the ability to internally mark a controller as failed, if it is unable to 2013-03-26 21:58:38 +00:00
nvme_ctrlr_cmd.c Add structure definitions and controller command function for firmware 2013-03-26 21:03:03 +00:00
nvme_ns.c Create struct nvme_status. 2013-03-26 21:00:18 +00:00
nvme_ns_cmd.c Make the DSM range count 0-based. Previously we were deallocating one more 2013-03-26 18:16:30 +00:00
nvme_private.h Add the ability to internally mark a controller as failed, if it is unable to 2013-03-26 21:58:38 +00:00
nvme_qpair.c Add the ability to internally mark a controller as failed, if it is unable to 2013-03-26 21:58:38 +00:00
nvme_sysctl.c Remove the is_started flag from struct nvme_controller. 2013-03-26 21:19:26 +00:00
nvme_test.c Create struct nvme_status. 2013-03-26 21:00:18 +00:00
nvme_uio.c Create struct nvme_status. 2013-03-26 21:00:18 +00:00