aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMuneendra Kumar <[email protected]>2021-01-07 03:19:05 +0530
committerMartin K. Petersen <[email protected]>2021-01-14 22:55:17 -0500
commit60bee27ba2dff82eb921c515e49236abfb6c54ab (patch)
tree418d0fb8f24377931995af266190119de710078a /tools/perf/scripts/python/flamegraph.py
parent962c8dcdd5fa680e2bd68320d54e797b6d8c17fe (diff)
scsi: core: No retries on abort success
Add a new optional routine, eh_should_retry_cmd(), in scsi_host_template that allows the transport to decide if a cmd is retryable. Return true if the transport is in a state the cmd should be retried on. Update scmd_eh_abort_handler() and scsi_eh_flush_done_q() to both call scsi_eh_should_retry_cmd() to check whether the command needs to be retried. The above changes were based on a patch by Mike Christie. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Himanshu Madhani <[email protected]> Reviewed-by: Ewan D. Milne <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Muneendra Kumar <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions