Read10 question about EDTL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



List,

Assume we have a SBC device and an initiator sends a
READ10 with a TRANSFER LENGTH of 2 blocks,   or 1024 bytes of data.

Assume this is sent in a iSCSI pdu that has set
ExpectedDataTransferLength of 512.

What should the target do here?


My thinking is that this is not an error, so the target should return
SCSI_STATUS_GOOD.
However, we only provided a read buffer of 512 bytes so an overflow of
another 512 bytes occured.

So the target should respond with SCSI_STATUS_GOOD,
send a single DATA-IN PDU containing the first 512 bytes of data and
then also set the
O flag to signal overflow and set the residual count to 512.

Does that sound right to the resident SCSI experts ?
(At least one target returns a check condition for this)



Regards
Ronnie Sahlberg
--
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


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux