diff options
| author | Kevin Barnett <[email protected]> | 2021-03-11 14:17:07 -0600 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-04-05 23:02:31 -0400 |
| commit | 3268b8a8cf77dbc1f84e9a328069144506636c87 (patch) | |
| tree | dcc66f77ff34320b659f09c97d60d7de8d96d01b /tools/perf/scripts/python | |
| parent | 66f1c2b40270b759eb070990ebd5c8f94244360f (diff) | |
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 <[email protected]>
Reviewed-by: Mike McGowen <[email protected]>
Reviewed-by: Scott Teel <[email protected]>
Signed-off-by: Kevin Barnett <[email protected]>
Signed-off-by: Don Brace <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions