Hello, This is a series with bug fixes and code simplifications mainly for the SCSI target core. The following tests have been run against this patch series for both the iSCSI and SRPT target drivers: - Run the libiscsi conformance tests. - For the SRP target driver, run the srp-test software. Please consider this patch series for kernel v4.19. Thanks, Bart. Bart Van Assche (20): target: Use config_item_name() instead of open-coding it target: Avoid that EXTENDED COPY commands trigger lock inversion target: Move a list_del_init() statement target: Rename transport_init_session() into transport_alloc_session() target: Introduce transport_init_session() target: Make the session shutdown code also wait for commands that are being aborted target: Document when CMD_T_STOP and CMD_T_COMPLETE are set target: Simplify core_tmr_handle_tas_abort() target: Fold core_tmr_handle_tas_abort() into transport_cmd_finish_abort() target: Simplify transport_generic_free_cmd() (1/2) target: Simplify transport_generic_free_cmd() (2/2) target: Simplify the code for waiting for command completion target/iscsi: Reduce number of __iscsit_free_cmd() callers target/iscsi: Make iscsit_ta_authentication() respect the output buffer size target: Remove second argument from fabric_make_tpg() target/tcm_loop: Avoid that static checkers warn about dead code target: Do not duplicate the code that marks that a command has sense data target: Send unit attention condition even if the sense buffer is too small target: Fix handling of removed LUNs target: Remove se_dev_entry.ua_count drivers/infiniband/ulp/srpt/ib_srpt.c | 2 - drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c | 1 - drivers/scsi/qla2xxx/tcm_qla2xxx.c | 12 +- drivers/target/iscsi/iscsi_target.c | 2 - drivers/target/iscsi/iscsi_target_configfs.c | 7 +- drivers/target/iscsi/iscsi_target_login.c | 2 +- drivers/target/iscsi/iscsi_target_tpg.c | 3 +- drivers/target/iscsi/iscsi_target_util.c | 4 +- drivers/target/loopback/tcm_loop.c | 11 +- drivers/target/sbp/sbp_target.c | 6 +- drivers/target/target_core_configfs.c | 4 +- drivers/target/target_core_device.c | 32 ++- drivers/target/target_core_fabric_configfs.c | 2 +- drivers/target/target_core_internal.h | 2 +- drivers/target/target_core_sbc.c | 7 +- drivers/target/target_core_tmr.c | 30 +-- drivers/target/target_core_transport.c | 257 ++++++++++--------- drivers/target/target_core_ua.c | 43 ++-- drivers/target/target_core_ua.h | 3 +- drivers/target/target_core_xcopy.c | 5 +- drivers/target/tcm_fc/tfc_conf.c | 5 +- drivers/usb/gadget/function/f_tcm.c | 8 +- drivers/vhost/scsi.c | 4 +- drivers/xen/xen-scsiback.c | 4 +- include/target/target_core_base.h | 6 +- include/target/target_core_fabric.h | 5 +- 26 files changed, 220 insertions(+), 247 deletions(-) -- 2.17.1 -- 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