aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2020-02-19 20:34:37 -0800
committerMartin K. Petersen <[email protected]>2020-02-28 19:54:58 -0500
commitc81ef0ed4477c637d1f1dd96ecd8e8fbe18b7283 (patch)
treec7c385e5527f8ff6a1bc0ce4587973764cf6a6b2 /tools/perf/scripts/python/export-to-postgresql.py
parent0a36fd6cef5e3a11a273300e777a26cb26274547 (diff)
scsi: qla2xxx: Simplify the code for aborting SCSI commands
Since the SCSI core does not reuse the tag of the SCSI command that is being aborted by .eh_abort() before .eh_abort() has finished it is not necessary to check from inside that callback whether or not the SCSI command has already completed. Instead, rely on the firmware to return an error code when attempting to abort a command that has already completed. Additionally, rely on the firmware to return an error code when attempting to abort an already aborted command. In qla2x00_abort_srb(), use blk_mq_request_started() instead of sp->completed and sp->aborted. Link: https://lore.kernel.org/r/[email protected] Cc: Martin Wilck <[email protected]> Cc: Quinn Tran <[email protected]> Reviewed-by: Daniel Wagner <[email protected]> Reviewed-by: Roman Bolshakov <[email protected]> Acked-by: Himanshu Madhani <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions