diff options
author | Kevin Barnett <kevin.barnett@microchip.com> | 2021-03-11 23:17:07 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-04-06 06:02:31 +0300 |
commit | 3268b8a8cf77dbc1f84e9a328069144506636c87 (patch) | |
tree | dcc66f77ff34320b659f09c97d60d7de8d96d01b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 66f1c2b40270b759eb070990ebd5c8f94244360f (diff) | |
download | linux-3268b8a8cf77dbc1f84e9a328069144506636c87.tar.xz |
scsi: smartpqi: Fix driver synchronization issues
- Synchronize OFA and controller offline events. Prevent I/O during the
above conditions.
- Cleanup pqi_device_wait_for_pending_io() by checking the
device->scsi_cmds_outstanding instead of walking the device's list of
commands.
- Stop failing all I/O for all devices. This was causing OS to retry them,
delaying OFA.
- Clean up cache flush. The controller is checked for offline status in
lower level functions.
Link: https://lore.kernel.org/r/161549382770.25025.789855864026860170.stgit@brunhilda
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions