Bart Van Assche
fbbd492355
scsi: target/core: Simplify the code for aborting SCSI commands
...
Instead of allowing the code that aborts a SCSI command to finish before
all iSCSI data frames have been received, make that code wait until all
iSCSI data frames have been received. Introduce a new member variable in
the target driver template to communicate that information from the iSCSI
target driver to the target core. This change allows to leave out the check
whether or not it is already safe to send the TASK_ABORTED reply from
transport_send_task_abort().
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: David Disseldorp <ddiss@suse.de>
Cc: Hannes Reinecke <hare@suse.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-12-07 21:20:07 -05:00
..
iscsi
scsi: target/core: Simplify the code for aborting SCSI commands
2018-12-07 21:20:07 -05:00
loopback
scsi: target: replace fabric_ops.name with fabric_alias
2018-11-28 18:50:59 -05:00
sbp
scsi: target: replace fabric_ops.name with fabric_alias
2018-11-28 18:50:59 -05:00
tcm_fc
scsi: target: replace fabric_ops.name with fabric_alias
2018-11-28 18:50:59 -05:00
Kconfig
target: don't depend on SCSI
2018-08-02 15:19:49 -06:00
Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
target_core_alua.c
scsi: target: drop unnecessary get_fabric_name() accessor from fabric_ops
2018-11-28 18:50:58 -05:00
target_core_alua.h
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
2017-11-24 19:19:20 -10:00
target_core_configfs.c
scsi: target: replace fabric_ops.name with fabric_alias
2018-11-28 18:50:59 -05:00
target_core_device.c
scsi: target/core: Use system workqueues for TMF
2018-12-07 21:20:07 -05:00
target_core_fabric_configfs.c
scsi: target: drop unnecessary get_fabric_name() accessor from fabric_ops
2018-11-28 18:50:58 -05:00
target_core_fabric_lib.c
target-core: don't use "const char*" for a buffer that is written to
2018-01-12 15:07:09 -08:00
target_core_file.c
iov_iter: Separate type from direction and use accessor functions
2018-10-24 00:41:07 +01:00
target_core_file.h
scsi: target: target/file: Add support of direct and async I/O
2018-05-14 22:40:08 -04:00
target_core_hba.c
target_core_iblock.c
scsi: target/core: Use the SECTOR_SHIFT constant
2018-10-16 01:13:35 -04:00
target_core_iblock.h
scsi: target/core: Use the SECTOR_SHIFT constant
2018-10-16 01:13:35 -04:00
target_core_internal.h
scsi: target: Fold core_tmr_handle_tas_abort() into transport_cmd_finish_abort()
2018-07-02 16:44:31 -04:00
target_core_pr.c
scsi: target: drop unnecessary get_fabric_name() accessor from fabric_ops
2018-11-28 18:50:58 -05:00
target_core_pr.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
target_core_pscsi.c
SCSI misc on 20180610
2018-06-10 13:01:12 -07:00
target_core_pscsi.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
target_core_rd.c
target_core_rd.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
target_core_sbc.c
scsi: target/core: Always call transport_complete_callback() upon failure
2018-10-16 01:13:35 -04:00
target_core_spc.c
scsi: target: add emulate_pr backstore attr to toggle PR support
2018-11-21 22:10:36 -05:00
target_core_stat.c
scsi: target: drop unnecessary get_fabric_name() accessor from fabric_ops
2018-11-28 18:50:58 -05:00
target_core_tmr.c
scsi: target: drop unnecessary get_fabric_name() accessor from fabric_ops
2018-11-28 18:50:58 -05:00
target_core_tpg.c
scsi: target/core: Simplify transport_clear_lun_ref()
2018-12-07 21:20:07 -05:00
target_core_transport.c
scsi: target/core: Simplify the code for aborting SCSI commands
2018-12-07 21:20:07 -05:00
target_core_ua.c
scsi: target: drop unnecessary get_fabric_name() accessor from fabric_ops
2018-11-28 18:50:58 -05:00
target_core_ua.h
scsi: target: Fix handling of removed LUNs
2018-07-02 16:44:32 -04:00
target_core_user.c
scsi: target/tcmu: Fix queue_cmd_ring() declaration
2018-12-07 21:20:07 -05:00
target_core_xcopy.c
scsi: target/core: Make sure that target_wait_for_sess_cmds() waits long enough
2018-12-07 21:20:07 -05:00
target_core_xcopy.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00