OpenCloudOS-Kernel/drivers/scsi/smartpqi
Murthy Bhat b622a601a1 scsi: smartpqi: Correct request leakage during reset operations
While failing queued I/Os in TMF path, there was a request leak and hence
stale entries in request pool with ref count being non-zero. In shutdown
path we have a BUG_ON to catch stuck I/O either in firmware or in the
driver. The stale requests caused a system crash. The I/O request pool
leakage also lead to a significant performance drop.

Link: https://lore.kernel.org/r/161549370379.25025.12793264112620796062.stgit@brunhilda
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: Murthy Bhat <Murthy.Bhat@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-04-05 23:02:28 -04:00
..
Kconfig scsi: smartpqi: Update copyright 2020-09-02 22:49:06 -04:00
Makefile scsi: smartpqi: add spdx 2019-03-18 16:48:28 -04:00
smartpqi.h scsi: smartpqi: Update copyright 2020-09-02 22:49:06 -04:00
smartpqi_init.c scsi: smartpqi: Correct request leakage during reset operations 2021-04-05 23:02:28 -04:00
smartpqi_sas_transport.c scsi: smartpqi: Correct pqi_sas_smp_handler busy condition 2020-11-16 23:03:10 -05:00
smartpqi_sis.c scsi: smartpqi: Update copyright 2020-09-02 22:49:06 -04:00
smartpqi_sis.h scsi: smartpqi: Update copyright 2020-09-02 22:49:06 -04:00