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 h38GukC14105
	for ips-outgoing; Tue, 8 Apr 2003 12:56:46 -0400 (EDT)
X-Authentication-Warning: ece.cmu.edu: majordom set sender to owner-ips@ece.cmu.edu using -f
Received: from d12lmsgate-5.de.ibm.com (d12lmsgate-5.de.ibm.com [194.196.100.238])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h38Gue314095;
	Tue, 8 Apr 2003 12:56:41 -0400 (EDT)
Received: from d12relay02.de.ibm.com (d12relay02.de.ibm.com [9.165.215.23])
	by d12lmsgate-5.de.ibm.com (8.12.9/8.12.8) with ESMTP id h38GuXju083282;
	Tue, 8 Apr 2003 18:56:33 +0200
Received: from d10ml001.telaviv.ibm.com (d10ml001.telaviv.ibm.com [9.148.216.55])
	by d12relay02.de.ibm.com (8.12.8/NCO/VER6.5) with ESMTP id h38GuWD4203346;
	Tue, 8 Apr 2003 18:56:32 +0200
In-Reply-To: <OF2E5DEAA8.4A095563-ON85256D02.004BC56E@attotech.com>
To: AClarke@attotech.com
Cc: ips@ece.cmu.edu, owner-ips@ece.cmu.edu
Subject: Re: iSCSI SCSI command F bit questions
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0.1 February 07, 2003
From: "Julian Satran" <Julian_Satran@il.ibm.com>
Message-ID: <OF06A42292.EF5857E1-ONC2256D02.0058CA26-C2256D02.005D109B@telaviv.ibm.com>
Date: Tue, 8 Apr 2003 19:56:30 +0300
X-MIMETrack: Serialize by Router on D10ML001/10/M/IBM(Release 5.0.9a |January 7, 2002) at
 08/04/2003 19:56:32,
	Serialize complete at 08/04/2003 19:56:32
Content-Type: multipart/alternative; boundary="=_alternative 0058F821C2256D02_="
Sender: owner-ips@ece.cmu.edu
Precedence: bulk

This is a multipart message in MIME format.
--=_alternative 0058F821C2256D02_=
Content-Type: text/plain; charset="US-ASCII"

That is completely a SCSI issue. The target may terminate any write at any 
point by status and report the data it dit not write through residual 
lengths.

Julo



AClarke@attotech.com 
Sent by: owner-ips@ece.cmu.edu
08/04/03 17:10

To
ips@ece.cmu.edu
cc

Subject
iSCSI SCSI command F bit questions






I have a few questions about iSCSI data transfer.

In section 10.3.1 of the spec describing the F bit, why is the word "may"
used?  I think that when Expected Data Transfer Length is larger than
DataSegmentLength the target "MUST" solicit the additional data.  Is there
a situation when the target should not send an R2T for the rest of the
data?

Is it at the initiator's discretion to set this bit, even if 
InitialR2T=No,
ImmediateData=Yes, and DataSegmentLength is less than FirstBurstLength?


     10.3.1  Flags and Task Attributes (byte 1)

          The flags for a SCSI Command are:

          bit 0   (F) is set to 1 when no unsolicited SCSI Data-Out PDUs
                follow this PDU.  When F=1 for a write and if Expected 
Data
                Transfer Length is larger than the DataSegmentLength, the
                target may solicit additional data through R2T.


I would appreciate any comments or further explanation.

Aaron



--=_alternative 0058F821C2256D02_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">That is completely a SCSI issue. The
target may terminate any write at any point by status and report the data
it dit not write through residual lengths.</font>
<br>
<br><font size=2 face="sans-serif">Julo</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>AClarke@attotech.com</b>
</font>
<br><font size=1 face="sans-serif">Sent by: owner-ips@ece.cmu.edu</font>
<p><font size=1 face="sans-serif">08/04/03 17:10</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">ips@ece.cmu.edu</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">iSCSI SCSI command F bit
questions</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>I have a few questions about iSCSI data transfer.<br>
<br>
In section 10.3.1 of the spec describing the F bit, why is the word &quot;may&quot;<br>
used? &nbsp;I think that when Expected Data Transfer Length is larger than<br>
DataSegmentLength the target &quot;MUST&quot; solicit the additional data.
&nbsp;Is there<br>
a situation when the target should not send an R2T for the rest of the<br>
data?<br>
<br>
Is it at the initiator's discretion to set this bit, even if InitialR2T=No,<br>
ImmediateData=Yes, and DataSegmentLength is less than FirstBurstLength?<br>
<br>
<br>
 &nbsp; &nbsp; 10.3.1 &nbsp;Flags and Task Attributes (byte 1)<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The flags for a SCSI Command are:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bit 0 &nbsp; (F) is set to 1 when no
unsolicited SCSI Data-Out PDUs<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;follow this PDU.
&nbsp;When F=1 for a write and if Expected Data<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Transfer Length
is larger than the DataSegmentLength, the<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;target may solicit
additional data through R2T.<br>
<br>
<br>
I would appreciate any comments or further explanation.<br>
<br>
Aaron<br>
<br>
</tt></font>
<br>
--=_alternative 0058F821C2256D02_=--
