Fix two issues with WRITE_SAME* found using the libiscsi test suite. When TL is set to 0 this means that the command will cover all blocks from the specified LBA until end of device. If DataOut is provided then it must be exactly one block in size. (DataOut may be omitted for unmap operations) sbc.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html