Return-Path: <owner-ips@ece.cmu.edu>
X-Sieve: cmu-sieve 2.0
Return-Path: <owner-ips@ece.cmu.edu>
Received: (from majordom@localhost)
	by ece.cmu.edu (8.11.0/8.10.2) id h1KMHSj01722
	for ips-outgoing; Thu, 20 Feb 2003 17:17:28 -0500 (EST)
X-Authentication-Warning: ece.cmu.edu: majordom set sender to owner-ips@ece.cmu.edu using -f
Received: from mail15.messagelabs.com (mail15.messagelabs.com [63.210.62.243])
	by ece.cmu.edu (8.11.0/8.10.2) with SMTP id h1K2loW19073
	for <ips@ece.cmu.edu>; Wed, 19 Feb 2003 21:47:50 -0500 (EST)
X-VirusChecked: Checked
X-Env-Sender: DYoung@Brocade.COM
X-Msg-Ref: server-14.tower-15.messagelabs.com!1045709257!805
Received: (qmail 15934 invoked from network); 20 Feb 2003 02:47:38 -0000
Received: from sj6-b.brocade.com (HELO discus.brocade.com) (63.121.140.220)
  by server-14.tower-15.messagelabs.com with SMTP; 20 Feb 2003 02:47:38 -0000
Received: from hq-ex-c2.brocade.com (hq-ex-c2.brocade.com [192.168.126.35])
	by discus.brocade.com (Postfix) with ESMTP
	id 65D2B4F61B; Wed, 19 Feb 2003 18:46:39 -0800 (PST)
Received: by hq-ex-c2.brocade.com with Internet Mail Service (5.5.2653.19)
	id <D6126P08>; Wed, 19 Feb 2003 18:47:42 -0800
Message-ID: <7D17958F8536B640885BE12A446D548F02E6F1@hq-ex-4.brocade.com>
From: Dennis Young <DYoung@Brocade.COM>
To: "'Buck Landry'" <blandry@crossroads.com>,
   Lakshmi Ramasubramanian <nramas@windows.microsoft.com>
Cc: ips@ece.cmu.edu
Subject: RE: iSCSI: Data In PDU with S bit set
Date: Wed, 19 Feb 2003 18:47:40 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C2D88A.6F1FD9C0"
Sender: owner-ips@ece.cmu.edu
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2D88A.6F1FD9C0
Content-Type: text/plain;
	charset="iso-8859-1"


In section 10.7 (draft 20):

   Status can accompany the last Data-in PDU if the command did not end
   with an exception (i.e., the status is "good status" - GOOD,
   CONDITION MET or INTERMEDIATE CONDITION MET).  The presence of
   status (and of a residual count) is signaled though the S flag bit.
   Although targets MAY choose to send even non-exception status in
   separate responses, initiators MUST support non-exception status in
   Data-In PDUs.

Based on the last sentence of the above paragraph, the initiator has 
to be able to handle both cases, while the target has the option to 
not send a separate response if there is no exception.

-Dennis

>-----Original Message-----
>From: Buck Landry [mailto:blandry@crossroads.com]
>Sent: Wednesday, February 19, 2003 5:18 PM
>To: Lakshmi Ramasubramanian
>Cc: ips@ece.cmu.edu; Julian_Satran@il.ibm.com
>Subject: RE: iSCSI: Data In PDU with S bit set
>
>
>Well, I don't see any explicit text (too bad), but..
>
>3.5.1.5 "the last SCSI Data-in PDU passed for a command may 
>also contain the status if the status indicates termination 
>with no exceptions (no sense or response involved)"
>
>.. implies (maybe just to me) that the SCSI task is terminated 
>by a Data-In PDU w/S bit set.  A further response to a 
>terminated task would be inappropriate methinks, unless you 
>want to start talking about error recovery..
>
>Hope this helps, --buck
> 
> -----Original Message-----
>From: Lakshmi Ramasubramanian [mailto:nramas@windows.microsoft.com]
>Sent: Wednesday, February 19, 2003 4:55 PM
>To: ips@ece.cmu.edu
>Subject: iSCSI: Data In PDU with S bit set
>
>
>If the target sends a Data In PDU with S bit set,
>can it also send a SCSI Response PDU for the same command? 
>
>If the answer is no, there is no text in the spec that 
>says a target should not send scsi response PDU.
>
>thanks!
> -lakshmi
>
>
>
>
>

------_=_NextPart_001_01C2D88A.6F1FD9C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: iSCSI: Data In PDU with S bit set</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=3D2>In section 10.7 (draft 20):</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp; Status can accompany the last Data-in =
PDU if the command did not end</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; with an exception (i.e., the status is =
&quot;good status&quot; - GOOD,</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; CONDITION MET or INTERMEDIATE CONDITION =
MET).&nbsp; The presence of</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; status (and of a residual count) is =
signaled though the S flag bit.</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; Although targets MAY choose to send =
even non-exception status in</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; separate responses, initiators MUST =
support non-exception status in</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; Data-In PDUs.</FONT>
</P>

<P><FONT SIZE=3D2>Based on the last sentence of the above paragraph, =
the initiator has </FONT>
<BR><FONT SIZE=3D2>to be able to handle both cases, while the target =
has the option to </FONT>
<BR><FONT SIZE=3D2>not send a separate response if there is no =
exception.</FONT>
</P>

<P><FONT SIZE=3D2>-Dennis</FONT>
</P>

<P><FONT SIZE=3D2>&gt;-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt;From: Buck Landry [<A =
HREF=3D"mailto:blandry@crossroads.com">mailto:blandry@crossroads.com</A>=
]</FONT>
<BR><FONT SIZE=3D2>&gt;Sent: Wednesday, February 19, 2003 5:18 =
PM</FONT>
<BR><FONT SIZE=3D2>&gt;To: Lakshmi Ramasubramanian</FONT>
<BR><FONT SIZE=3D2>&gt;Cc: ips@ece.cmu.edu; =
Julian_Satran@il.ibm.com</FONT>
<BR><FONT SIZE=3D2>&gt;Subject: RE: iSCSI: Data In PDU with S bit =
set</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;Well, I don't see any explicit text (too bad), =
but..</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;3.5.1.5 &quot;the last SCSI Data-in PDU passed =
for a command may </FONT>
<BR><FONT SIZE=3D2>&gt;also contain the status if the status indicates =
termination </FONT>
<BR><FONT SIZE=3D2>&gt;with no exceptions (no sense or response =
involved)&quot;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;.. implies (maybe just to me) that the SCSI task =
is terminated </FONT>
<BR><FONT SIZE=3D2>&gt;by a Data-In PDU w/S bit set.&nbsp; A further =
response to a </FONT>
<BR><FONT SIZE=3D2>&gt;terminated task would be inappropriate methinks, =
unless you </FONT>
<BR><FONT SIZE=3D2>&gt;want to start talking about error =
recovery..</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;Hope this helps, --buck</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt;From: Lakshmi Ramasubramanian [<A =
HREF=3D"mailto:nramas@windows.microsoft.com">mailto:nramas@windows.micro=
soft.com</A>]</FONT>
<BR><FONT SIZE=3D2>&gt;Sent: Wednesday, February 19, 2003 4:55 =
PM</FONT>
<BR><FONT SIZE=3D2>&gt;To: ips@ece.cmu.edu</FONT>
<BR><FONT SIZE=3D2>&gt;Subject: iSCSI: Data In PDU with S bit =
set</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;If the target sends a Data In PDU with S bit =
set,</FONT>
<BR><FONT SIZE=3D2>&gt;can it also send a SCSI Response PDU for the =
same command? </FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;If the answer is no, there is no text in the =
spec that </FONT>
<BR><FONT SIZE=3D2>&gt;says a target should not send scsi response =
PDU.</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;thanks!</FONT>
<BR><FONT SIZE=3D2>&gt; -lakshmi</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2D88A.6F1FD9C0--
