summaryrefslogtreecommitdiff
path: root/LICENSES
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-01-25 10:34:45 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2019-02-04 21:26:24 -0500
commit2281c95fe751325874d135b237ecdcd3bc34cc26 (patch)
treeb81ddaf55e0ed65aba6bfea3e408ef53cbe64957 /LICENSES
parent3f0661a492a199b7de2fb63eceba8c79039bff83 (diff)
downloadlwn-2281c95fe751325874d135b237ecdcd3bc34cc26.tar.gz
lwn-2281c95fe751325874d135b237ecdcd3bc34cc26.zip
scsi: target/core: Simplify the LUN RESET implementation
Due to the task management handling rework it is safe to wait for a TMF that is not in the active state. Hence remove the CMD_T_ACTIVE test from core_tmr_drain_tmr_list(). Additionally, call __target_check_io_state() instead of open coding it. Reviewed-by: Hannes Reinecke <hare@suse.com> Cc: Nicholas Bellinger <nab@linux-iscsi.org> Cc: Mike Christie <mchristi@redhat.com> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions