diff options
| author | Bart Van Assche <[email protected]> | 2019-08-08 20:02:10 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-08-12 21:34:08 -0400 |
| commit | 0dcec41acb85da33841c2ab56dbf337ed00a3914 (patch) | |
| tree | ec7095fbb8cf813c72e7d248f6c195fb491784c2 /tools/perf/scripts/python | |
| parent | bcc856574356df2eb5eb2d4491e7205339e55728 (diff) | |
scsi: qla2xxx: Make sure that aborted commands are freed
The LIO core requires that the target driver callback functions
.queue_data_in() and .queue_status() call target_put_sess_cmd() or
transport_generic_free_cmd(). These calls may happen synchronously or
asynchronously. Make sure that one of these LIO functions is called in case
a command has been aborted. This patch avoids that the code for removing a
session hangs due to commands that do not make progress.
Cc: Himanshu Madhani <[email protected]>
Fixes: 694833ee00c4 ("scsi: tcm_qla2xxx: Do not allow aborted cmd to advance.") # v4.13.
Fixes: a07100e00ac4 ("qla2xxx: Fix TMR ABORT interaction issue between qla2xxx and TCM") # v4.5.
Signed-off-by: Bart Van Assche <[email protected]>
Tested-by: Himanshu Madhani <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions