diff options
author | Hannes Reinecke <[email protected]> | 2023-10-02 17:43:28 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-10-13 14:23:15 -0400 |
commit | 82b2fb52d6ecc3c902b46b3f9bb4325ab3f6d50d (patch) | |
tree | 636572e773dad1c5e041521c235118b179d68f04 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | c2a14ab3b9b38d9408a0388a0c65dce546169907 (diff) |
scsi: mpi3mr: Split off bus_reset function from host_reset
SCSI EH host reset is the final callback in the escalation chain; once we
reach this we need to reset the controller. As such it defeats the purpose
to skip controller reset if no I/Os are pending and the RAID device is to
be reset; especially after kexec there might be stale commands pending in
firmware for which we have no reference whatsoever. So this patch splits
off the check for pending I/O into a 'bus_reset' function, and leaves the
actual controller reset to the host reset.
Signed-off-by: Hannes Reinecke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: Kashyap Desai <[email protected]>
Cc: Sathya Prakash Veerichetty <[email protected]>
Cc: Sumit Saxena <[email protected]>
Cc: Sreekanth Reddy <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions