On Thu, 2017-02-02 at 20:34 +0100, David Disseldorp wrote: > The "lockup" I was referring to was the initiator awaiting TMF response > and never getting one - which doesn't happen with mainline. Hello David, It would be easy to modify the code such that a response is sent for all LU RESET TMFs. However, in SAM-5 section 6.3.3 LU RESET I found the following: When responding to a logical unit reset condition, the logical unit shall: [ ... ] c) terminate all task management functions. [ ... ] Your test submits two concurrent LU RESETs to the same logical unit. So I think sending a response for only one of these two LU RESETs is compliant with the SCSI specs. Bart.-- 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