On Thu, May 04, 2017 at 03:50:48PM -0700, Bart Van Assche wrote: > Avoid that the iSCSI target driver complains about "Initial page entry > out-of-bounds" and closes the connection if the SCSI Data-Out buffer > is larger than the buffer size specified through the CDB. This patch > prevents that running the libiscsi regression tests against LIO trigger > an infinite loop of libiscsi submitting a command, LIO closing the > connection and libiscsi resubmitting the same command. Can you add a bit more of an explanation of why this happens? I've just tried to verify the area, but at least while sitting in a conference talk I can't quite make sense of the changes.