linux/drivers/scsi/smartpqi
Mike McGowen 4e7d26029e scsi: smartpqi: Shorten drive visibility after removal
Check the response code returned from the LUN reset task management
function and if it indicates the LUN is not valid, do not retry.

Reduce rescan worker delay to 5 seconds for the event handler only.

The removal of a drive from the OS could have been delayed up to 30 seconds
after being physically pulled.

The driver was retrying a LUN reset 3 times even though the return code
indiciated the LUN was no longer valid. There was a 10 second delay between
each retry. Additionally, the rescan worker was scheduled to run 10 seconds
after the driver received the event.

Link: https://lore.kernel.org/r/165730601025.177165.9416869335174437006.stgit@brunhilda
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: Mike McGowen <Mike.McGowen@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-07-13 23:42:02 -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: Shorten drive visibility after removal 2022-07-13 23:42:02 -04:00
smartpqi_sas_transport.c scsi: smartpqi: Add extended report physical LUNs 2021-10-05 00:13:15 -04:00
smartpqi_sis.c scsi: smartpqi: Fix BUILD_BUG_ON() statements 2022-02-07 23:38:36 -05:00
smartpqi_sis.h scsi: smartpqi: Fix BUILD_BUG_ON() statements 2022-02-07 23:38:36 -05:00
smartpqi.h scsi: smartpqi: Shorten drive visibility after removal 2022-07-13 23:42:02 -04:00