diff options
author | Hannes Reinecke <[email protected]> | 2022-12-06 14:13:45 +0100 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-12-14 02:58:32 +0000 |
commit | d0b9025540ef57cc4464ab2fc64ed8ddc49b5658 (patch) | |
tree | 70c7e73a23e586a44656f330c82eb9e17dc2e113 /tools/perf/scripts/python/syscall-counts.py | |
parent | 67ff3d0a49f3d445c3922e30a54e03c161da561e (diff) |
scsi: core: scsi_error: Do not queue pointless abort workqueue functions
If a host template doesn't implement the .eh_abort_handler() there is no
point in queueing the abort workqueue function; all it does is invoking
SCSI EH anyway. So return 'FAILED' from scsi_abort_command() if the
.eh_abort_handler() is not implemented and save us from having to wait for
the abort workqueue function to complete.
Cc: Niklas Cassel <[email protected]>
Cc: Damien Le Moal <[email protected]>
Cc: John Garry <[email protected]>
Signed-off-by: Hannes Reinecke <[email protected]>
[niklas: moved the check to the top of scsi_abort_command()]
Signed-off-by: Niklas Cassel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions