linux/drivers/scsi/smartpqi
Mahesh Rajashekhara 4f3cefc308 scsi: smartpqi: Avoid failing I/Os for offline devices
Prevent kernel crash by failing outstanding I/O request when the OS takes
device offline.

When posted I/Os to the controller's inbound queue are not picked by the
controller, the driver will halt the controller and take the controller
offline.

When the driver takes the controller offline, the driver will fail all the
outstanding requests which can sometimes lead to an OS crash.

Link: https://lore.kernel.org/r/20210928235442.201875-7-don.brace@microchip.com
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Acked-by: John Donnelly <john.p.donnelly@oracle.com>
Signed-off-by: Mahesh Rajashekhara <mahesh.rajashekhara@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-10-05 00:13:15 -04:00
..
Kconfig scsi: smartpqi: Change Kconfig menu entry to Microchip 2021-07-19 22:00:56 -04:00
Makefile scsi: smartpqi: add spdx 2019-03-18 16:48:28 -04:00
smartpqi_init.c scsi: smartpqi: Avoid failing I/Os for offline devices 2021-10-05 00:13:15 -04:00
smartpqi_sas_transport.c scsi: smartpqi: Update copyright notices 2021-07-19 22:00:56 -04:00
smartpqi_sis.c scsi: smartpqi: Capture controller reason codes 2021-10-05 00:13:14 -04:00
smartpqi_sis.h scsi: smartpqi: Capture controller reason codes 2021-10-05 00:13:14 -04:00
smartpqi.h scsi: smartpqi: Capture controller reason codes 2021-10-05 00:13:14 -04:00