Re: Data-In ExpDataSN

<[email protected]> Fri, 25 Sep 2009 10:43:44 -0400
Newsgroups gmane.ietf.ips
Message-ID <9FA859626025B64FBC2AF149D97C944A03E1E901@CORPUSMX80A.corp.emc.com>
This is a multi-part message in MIME format.

--===============0084823057==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01CA3DEE.953F5EFA"

This is a multi-part message in MIME format.

------_=_NextPart_001_01CA3DEE.953F5EFA
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

> RFC 3720 says that Data-In/R2T PDU number is acknowledged by ExpDataSN
filed of SCSI Response=20
=20
Where?  Section 3.2.2.3 says:
    Data and R2T PDUs are implicitly acknowledged by status for the
command.

> But if a target choose to send a Data-In PDU with S bit set instead of
a SCSI Response .
> Where to get the ExpDataSN ? There is no such a field in Data-In PDU.

Not by that name, but the information is present.  The ExpDataSN
field in the SCSI Response PDU is "The number of R2T and Data-In
(read) PDUs the target has sent for the command."  That number can
be obtained from a Data-In PDU whose S bit is set to 1 by adding 1
to the value of that PDU's DataSN field.

Thanks,
--David


=20



________________________________

	From: [email protected] [mailto:[email protected]] On
Behalf Of yushang
	Sent: Friday, September 25, 2009 2:31 AM
	To: [email protected]
	Subject: [Ips] Data-In ExpDataSN
=09
=09
	Dear all , RFC 3720 says that Data-In/R2T PDU number is
acknowledged by ExpDataSN filed of SCSI Response . But if a target
choose to send a Data-In PDU with S bit set instead of a SCSI Response .
Where to get the ExpDataSN ? There is no such a field in Data-In PDU.
Many thanks.
=09


------_=_NextPart_001_01CA3DEE.953F5EFA
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.3603" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D413092214-25092009>&gt; RFC 3720 says that =
Data-In/R2T PDU=20
number is acknowledged by ExpDataSN filed of SCSI Response </SPAN></DIV>
<DIV><SPAN class=3D413092214-25092009><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D413092214-25092009><FONT face=3D"Courier New" =
size=3D2>Where?&nbsp;=20
Section 3.2.2.3 says:</FONT></SPAN></DIV>
<DIV><SPAN class=3D413092214-25092009><SPAN lang=3DEN>
<P><SPAN class=3D413092214-25092009>&nbsp;&nbsp;&nbsp; </SPAN>Data and =
R2T PDUs=20
are<SPAN class=3D413092214-25092009> </SPAN>implicitly acknowledged by =
status for=20
the command.</P>
<P><SPAN class=3D413092214-25092009>&gt; But if a target choose to send =
a Data-In=20
PDU with S bit set instead of a SCSI Response .<BR>&gt; </SPAN><SPAN=20
class=3D413092214-25092009>Where to get the ExpDataSN ? There is no such =
a field=20
in Data-In PDU.</SPAN></P>
<P><SPAN class=3D413092214-25092009><FONT face=3D"Courier New" =
size=3D2>Not by that=20
name, but the information is present.&nbsp; The ExpDataSN<BR>field in =
the SCSI=20
Response PDU is "<SPAN lang=3DEN>The number of R2T and Data-In<BR>(read) =

</SPAN></FONT></SPAN><SPAN class=3D413092214-25092009><FONT =
face=3D"Courier New"=20
size=3D2><SPAN lang=3DEN>PDUs the target has sent for the =
command."&nbsp; That=20
number can<BR>be </SPAN></FONT></SPAN><SPAN =
class=3D413092214-25092009><FONT=20
face=3D"Courier New" size=3D2><SPAN lang=3DEN>obtained from a Data-In =
PDU whose S bit=20
is set to 1 by adding 1<BR>to the value of that PDU's DataSN=20
field.</SPAN></FONT></SPAN><SPAN class=3D413092214-25092009><FONT=20
face=3D"Courier New" size=3D2><SPAN=20
lang=3DEN></P></SPAN></FONT></SPAN></SPAN></SPAN></DIV><!-- Converted =
from text/plain format -->
<P><FONT size=3D2>Thanks,<BR>--David<BR></FONT></P>
<DIV>&nbsp;</DIV><FONT face=3D"Courier New" size=3D2></FONT><BR>
<BLOCKQUOTE=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> [email protected]=20
  [mailto:[email protected]] <B>On Behalf Of =
</B>yushang<BR><B>Sent:</B>=20
  Friday, September 25, 2009 2:31 AM<BR><B>To:</B>=20
  [email protected]<BR><B>Subject:</B> [Ips] Data-In =
ExpDataSN<BR></FONT><BR></DIV>
  <DIV></DIV>Dear all , RFC 3720 says that Data-In/R2T PDU number is=20
  acknowledged by ExpDataSN filed of SCSI Response . But if a target =
choose to=20
  send a Data-In PDU with S bit set instead of a SCSI Response . Where =
to get=20
  the ExpDataSN ? There is no such a field in Data-In PDU. Many=20
thanks.<BR></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01CA3DEE.953F5EFA--

--===============0084823057==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ips mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/ips

--===============0084823057==--