diff options
author | Bodo Stroesser <bstroesser@ts.fujitsu.com> | 2020-07-26 18:35:03 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-07-29 05:25:25 +0300 |
commit | f5e2714ad1a62d23cd8e8af07d438912d8115fae (patch) | |
tree | b951157ebf684e69426a2c57489b0badd7fb4b4b /include/target | |
parent | df2de6f2862984b55e93931faf7b481a7b98396d (diff) | |
download | linux-f5e2714ad1a62d23cd8e8af07d438912d8115fae.tar.xz |
scsi: target: Modify core_tmr_abort_task()
This patch modifies core_tmr_abort_task() to use same looping and locking
scheme as core_tmr_drain_state_list() does.
This frees the state_list element in se_cmd for later use by tmr
notification handling.
Note: __target_check_io_state() now is called with param 0 instead of
dev->dev_attrib.emulate_tas, because tas is not relevant since we always
get ABRT on same session like the aborted command.
Link: https://lore.kernel.org/r/20200726153510.13077-2-bstroesser@ts.fujitsu.com
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Bodo Stroesser <bstroesser@ts.fujitsu.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions