Re: StatSN question
[email protected] Sat, 19 May 2007 16:05:20 -0400
| Newsgroups | gmane.ietf.ips |
|---|---|
| Message-ID | <[email protected]> |
In the original message, Ken did NOT say that the "S" bit was set to 1 in the last Data-In PDU. According to the RFC (3270) - Section 10.7.3" "The fields StatSN, Status, and Residual Count only have meaningful content if the S bit is set to 1 and their values are defined in Section 10.4 SCSI Response." My interpretation of that section would be that the iSCSI Initiator should NOT have sent ExpStatSN=1, until the SCSI Response PDU was received. Take Care, Greg Alvey Solution Technoloy www.soltechnology.com -----Original Message----- From: [email protected] To: [email protected] Cc: [email protected] Sent: Fri, 18 May 2007 1:15 PM Subject: RE: [Ips] StatSN question Definitely yes (acknowledging the status is equivalent to acking all the data). In addition resources are help to enable status retransmission even in commands that do not have data transfers. Julo "Ken Craig" <[email protected]> 18/05/07 23:05 ToJulian Satran/Haifa/IBM@IBMIL cc<[email protected]> SubjectRE: [Ips] StatSN question Julian, When you say "target may discard whatever it may have hold for the task" aren't you saying the same thing as Eddy. That the ExpStatSN is an indication that the Initiator has also received the data since resources would have been used for the data. Thanks, Ken Craig -----Original Message----- From: Julian Satran [mailto:[email protected]] Sent: Friday, May 18, 2007 12:47 PM To: Eddy Quicksall Cc: [email protected]; Ken Craig Subject: Re: [Ips] StatSN question ExpStatSN indicates to the target that the initiator has received the status for the task and the target may discard whatever it may have hold for the task. It also indicates to to the target when it is safe to send the response to a task abort or a "group" abort task management function. Whether you can you use TCP ack for the same pupose dependes on how you stack is layered and/or how your recovery from end-to-end errors is done. Julo "Eddy Quicksall" <[email protected]> 18/05/07 08:03 To"Ken Craig" <[email protected]>, <[email protected]> cc SubjectRe: [Ips] StatSN question It would mean the header and data has been received. The reason is because the target can use ExpStatSN to free the resources used to send the Data-in. At ERL 0 it is faster to just use the TCP ACK; for ERL > 0 I think there was argument given once that the TCP ACK may not really indicate that the data was received and hence the ExpStatSN would be used for that purpose (I don't really remember that well though). Eddy ----- Original Message ----- From: "Ken Craig" <[email protected]> To: <[email protected]> Sent: Friday, April 27, 2007 5:23 PM Subject: [Ips] StatSN question I have a question about what ExpStatSN means that I can't find an answer for in the reflector archives or in any of the RFCs. I, as an iSCSI Target running at ERL=0, send a DATA IN PDU with FINAL=1 and a StatSN of 0. I receive a SCSI CMD PDU with an ExpStatSN of 1. Does this mean that the Initiator has received the PDU BHS and all of the data or is it simply an acknowledgement that it has received the PDU BHS? Thanks, Ken Craig _______________________________________________ Ips mailing list [email protected] https://www1.ietf.org/mailman/listinfo/ips _______________________________________________ Ips mailing list [email protected] https://www1.ietf.org/mailman/listinfo/ips _______________________________________________ Ips mailing list [email protected] https://www1.ietf.org/mailman/listinfo/ips ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com. _______________________________________________ Ips mailing list [email protected] https://www1.ietf.org/mailman/listinfo/ips