The most important changes in this patch series are: * ABORT and LUN RESET handling is made synchronous. * LUN lookup during ABORT handling is moved from the tcm_qla2xxx into the target core. * A deadlock in the XCOPY implementation is fixed. These patches have been tested against the iSCSI, SRP and qla2xxx target drivers. The changes compared to v1 are: - Introduced a new workqueue per session for task management functions. - Renamed tmr_wq into alua_wq. Please review the patches that have not yet been reviewed, Thanks, Bart. Bart Van Assche (36): target/iscsi: Fix indentation in iscsi_target_start_negotiation() target/iscsi: Fix spelling of "perform" target/iscsi: Fix spelling of "reallegiance" target/iscsi: Introduce a helper function for TMF translation target/iscsi: Fix iSCSI task reassignment handling target: Remove se_tmr_req.tmr_lun target: Make core_tmr_abort_task() consider all commands target: Rework the transport_alloc_session_tags() error path target: Introduce a new workqueue for TMF processing target: Rename tmr_wq into alua_wq target: Make it possible to specify I_T nexus for SCSI abort tcm_qla2xxx: Let the target core look up the LUN of the aborted cmd target: Correct transport_wait_for_tasks() documentation target: Remove an overly chatty debug message target: Add a missing target_put_nacl() call target: Stop execution if CMD_T_STOP has been set target: Fix a reference leak in transport_cmd_check_stop_to_fabric() target: Inline transport_cmd_check_stop() target: Make ABORT and LUN RESET handling synchronous target: Simplify session shutdown code target: Remove the SCF_SEND_DELAYED_TAS command flag target: Inline transport_check_aborted_status() target: Remove the write_pending_status() callback function target: Remove several state tests from TMF code target: Remove command flag CMD_T_BUSY target: Simplify LUN RESET implementation target: Remove command flag CMD_T_DEV_ACTIVE target: Remove command flag CMD_T_TAS target: Reduce number of __transport_wait_for_tasks() arguments target: Remove unused arguments from __target_check_io_state() target: Change return type of transport_wait_for_tasks() into void target: Inline transport_put_cmd() target: Inline transport_lun_remove_cmd() target: Move target_remove_from_state_list() into target_release_cmd_kref() target: Introduce target_get_device() and target_put_device() target: Avoid that XCOPY commands trigger a deadlock Documentation/target/tcm_mod_builder.py | 8 - drivers/infiniband/ulp/srpt/ib_srpt.c | 12 +- drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c | 6 - drivers/scsi/qla2xxx/qla_target.c | 66 ++-- drivers/scsi/qla2xxx/qla_target.h | 2 +- drivers/scsi/qla2xxx/tcm_qla2xxx.c | 38 +- drivers/target/iscsi/iscsi_target.c | 80 ++-- drivers/target/iscsi/iscsi_target_configfs.c | 13 - drivers/target/iscsi/iscsi_target_erl1.c | 8 +- drivers/target/iscsi/iscsi_target_erl2.c | 6 +- drivers/target/iscsi/iscsi_target_erl2.h | 2 +- drivers/target/iscsi/iscsi_target_login.c | 2 +- drivers/target/iscsi/iscsi_target_nego.c | 16 +- drivers/target/iscsi/iscsi_target_tmr.c | 4 +- drivers/target/loopback/tcm_loop.c | 6 - drivers/target/sbp/sbp_target.c | 6 - drivers/target/target_core_alua.c | 4 +- drivers/target/target_core_configfs.c | 4 - drivers/target/target_core_device.c | 25 +- drivers/target/target_core_internal.h | 4 +- drivers/target/target_core_sbc.c | 2 +- drivers/target/target_core_tmr.c | 145 +++---- drivers/target/target_core_transport.c | 541 +++++++++------------------ drivers/target/target_core_xcopy.c | 46 ++- drivers/target/tcm_fc/tcm_fc.h | 1 - drivers/target/tcm_fc/tfc_cmd.c | 7 - drivers/target/tcm_fc/tfc_conf.c | 1 - drivers/usb/gadget/function/f_tcm.c | 9 - drivers/vhost/scsi.c | 6 - drivers/xen/xen-scsiback.c | 6 - include/target/target_core_base.h | 16 +- include/target/target_core_fabric.h | 6 +- 32 files changed, 386 insertions(+), 712 deletions(-) -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html