Hi Bart, On Fri, 3 Feb 2017 17:20:06 +0000, Bart Van Assche wrote: > 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. I don't there are any cases where the LU RESETs are concurrent: - test_multipathio_reset.c issues an LU RESET on each of the two paths, but the TMF requests are sent synchronously. - test_async_lu_reset_simple.c dispatches a bunch of WRITE10s and then a single async LU RESET while the write I/Os are outstanding. I'll do some network sniffing today, and upload the mainline and e06fd3154941 captures for comparison. Cheers, David -- 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