stgt.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch 0/0] Fix two issues with WRITE_SAME*
@ 2016-10-02 16:04 Ronnie Sahlberg
  2016-10-02 16:04 ` [PATCH 1/2] Validate the DataOut length in WRITE_SAME_1* Ronnie Sahlberg
  2016-10-02 16:04 ` [PATCH 2/2] WRITE_SAME_* TL==0 means all blocks from LBA until the end of device Ronnie Sahlberg
  0 siblings, 2 replies; 4+ messages in thread
From: Ronnie Sahlberg @ 2016-10-02 16:04 UTC (permalink / raw)
  To: stgt; +Cc: tomof

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(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-04 21:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-02 16:04 [Patch 0/0] Fix two issues with WRITE_SAME* Ronnie Sahlberg
2016-10-02 16:04 ` [PATCH 1/2] Validate the DataOut length in WRITE_SAME_1* Ronnie Sahlberg
2016-10-04 21:49   ` FUJITA Tomonori
2016-10-02 16:04 ` [PATCH 2/2] WRITE_SAME_* TL==0 means all blocks from LBA until the end of device Ronnie Sahlberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).