Searched hist:ead7e10308947fc5b9c6b96411f09d486d92833d (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/nvme/ |
H A D | nvme_private.h | diff ead7e10308947fc5b9c6b96411f09d486d92833d Thu Jun 18 21:16:03 CEST 2020 Alexander Motin <mav@FreeBSD.org> 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.
|
H A D | nvme_qpair.c | diff ead7e10308947fc5b9c6b96411f09d486d92833d Thu Jun 18 21:16:03 CEST 2020 Alexander Motin <mav@FreeBSD.org> 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.
|
H A D | nvme_ctrlr.c | diff ead7e10308947fc5b9c6b96411f09d486d92833d Thu Jun 18 21:16:03 CEST 2020 Alexander Motin <mav@FreeBSD.org> 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.
|