freebsd-dev/sys/dev/nvme
Alexander Motin ead7e10308 Make polled request timeout less invasive.
Instead of panic after one second of polling, make the normal timeout
handler to activate, reset the controller and abort the outstanding
requests.  If all of it won't happen within 10 seconds then something
in the driver is likely stuck bad and panic is the only way out.

In particular this fixed device hot unplug during execution of those
polled commands, allowing clean device detach instead of panic.

MFC after:	1 week
Sponsored by:	iXsystems, Inc.
2020-06-18 19:16:03 +00:00
..
nvme_ahci.c
nvme_ctrlr_cmd.c Add Host Memory Buffer support to nvme(4). 2020-01-07 21:17:11 +00:00
nvme_ctrlr.c Make polled request timeout less invasive. 2020-06-18 19:16:03 +00:00
nvme_ns_cmd.c
nvme_ns.c Fix various Coverity-detected errors in nvme driver 2020-05-02 20:47:58 +00:00
nvme_pci.c Fix various Coverity-detected errors in nvme driver 2020-05-02 20:47:58 +00:00
nvme_private.h Make polled request timeout less invasive. 2020-06-18 19:16:03 +00:00
nvme_qpair.c Make polled request timeout less invasive. 2020-06-18 19:16:03 +00:00
nvme_sim.c Rename ns notification function... 2020-05-01 21:24:15 +00:00
nvme_sysctl.c Fix various Coverity-detected errors in nvme driver 2020-05-02 20:47:58 +00:00
nvme_test.c Fix various Coverity-detected errors in nvme driver 2020-05-02 20:47:58 +00:00
nvme_util.c
nvme.c Fix various Coverity-detected errors in nvme driver 2020-05-02 20:47:58 +00:00
nvme.h Add Host Memory Buffer support to nvme(4). 2020-01-07 21:17:11 +00:00