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 h08I6Vw21614
	for ips-outgoing; Wed, 8 Jan 2003 13:06:31 -0500 (EST)
X-Authentication-Warning: ece.cmu.edu: majordom set sender to owner-ips@ece.cmu.edu using -f
Received: from d12lmsgate-4.de.ibm.com (d12lmsgate-4.de.ibm.com [194.196.100.237])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h08I6PW21600;
	Wed, 8 Jan 2003 13:06:25 -0500 (EST)
Received: from d12relay02.de.ibm.com (d12relay02.de.ibm.com [9.165.215.23])
	by d12lmsgate-4.de.ibm.com (8.12.3/8.12.3) with ESMTP id h08I6G11081584;
	Wed, 8 Jan 2003 19:06:17 +0100
Received: from d10ml001.telaviv.ibm.com (d10ml001.telaviv.ibm.com [9.148.216.55])
	by d12relay02.de.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id h08I6D3J072760;
	Wed, 8 Jan 2003 19:06:13 +0100
In-Reply-To: <277DD60FB639D511AC0400B0D068B71E0564C705@corpmx14.us.dg.com>
To: Black_David@emc.com
Cc: cbm@rose.hp.com, ips@ece.cmu.edu, owner-ips@ece.cmu.edu
Subject: RE: iSCSI: Implicit Termination of Tasks
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: "Julian Satran" <Julian_Satran@il.ibm.com>
Message-ID: <OFAD60527A.439422F5-ONC2256CA8.00625EB3-C2256CA8.0063725A@telaviv.ibm.com>
Date: Wed, 8 Jan 2003 20:06:12 +0200
X-MIMETrack: Serialize by Router on D10ML001/10/M/IBM(Release 5.0.9a |January 7, 2002) at
 08/01/2003 20:06:13,
	Serialize complete at 08/01/2003 20:06:13
Content-Type: multipart/alternative; boundary="=_alternative 006286F9C2256CA8_="
Sender: owner-ips@ece.cmu.edu
Precedence: bulk

This is a multipart message in MIME format.
--=_alternative 006286F9C2256CA8_=
Content-Type: text/plain; charset="US-ASCII"

the cross I_T Nexus is spatial not temporal. 
If you have a single session - then there is nothing you have to do.

Julo



Black_David@emc.com 
Sent by: owner-ips@ece.cmu.edu
08/01/03 18:36

To
cbm@rose.hp.com, ips@ece.cmu.edu
cc

Subject
RE: iSCSI: Implicit Termination of Tasks






Mallikarjun,

> I disagree with your suggestion.
> 
> I believe that cases a, b and c (as written) are necessary and 
sufficient 
> cases for generating an internal CHECK CONDITION because
> our intent is to deliver on the promise of "ordering in the face of 
errors
> on one I_T nexus", *not* to gurantee the creation of cross-initiator ACA
> based on TST and QErr bit settings - simply because there are no iSCSI
> ordering guarantees involved across independent I_T nexuses.

While I understand the intent, the problem is that CHECK CONDITION is
a SCSI mechanism that SAM-2 now defines to have cross-I_T nexus
(cross-session) side effects in some cases - iSCSI cannot disregard
those side effects because they're inconvenient, and hence if CHECK
CONDITION is used with implicit task termination, it ought to be
used consistently.

> IOW, iSCSI spec today takes the position that the first three cases 
> are of potential interest to SCSI layer in view of iSCSI's ordering
> guarantee while the last case (d) is an iSCSI dynamic that has no
> bearing on the ordering guarantee.  I think that's a very reasonable
> position.

The problem with this is that CHECK CONDITION is of interest to the
SCSI layer by definition, and the potential cross-I_T nexus side
effects make case (d) relevant to SCSI in a way that it was not earlier.

I have a problem when the answer to:
                 "When iSCSI loses or tears down connectivity, do 
implicitly
                 terminated tasks generate CHECK CONDITION and its 
potential
                 cross-I_T nexus side effects?"
is:
                 "It depends on how the connection was torn down or lost."
because to my mind that's much worse than "yes" or "no".
While it may have no bearing on the ordering guarantee, the different
results for the TST=0 case will be a major surprise, especially if ACA
is in use.

FWIW, the cross-nexus side effects were added to SAM-2 in the relatively
recent past - as SAM-2 was when much of the work on iSCSI was done, the
current state of iSCSI would be fine as there would have been no way
to determine whether the internal CHECK CONDITION was generated in
case (d) once the I_T nexus (iSCSI session) vanished.  T10 decided
to change that situation, and we need to cope with this consequence.

> On a related separate topic, the current ASC/ASCQ value specification 
> for the implicit termination in the iSCSI spec is quite limiting as Eddy
> pointed out - I surprisingly overlooked the "array only" qualifier 
> when I originally
> suggested it.....  I suggest that we change it to the following - 
> 
> 00/06  DTLPWRSOMCAEBK  I/O PROCESS TERMINATED

I have a note in to Rob Elliott asking the scope of the current ASC/ASCQ
value can be expanded.  Let's make sure that it can't be before making
this sort of annoying minor change at this stage.

Thanks,
--David
----------------------------------------------------
David L. Black, Senior Technologist
EMC Corporation, 176 South St., Hopkinton, MA  01748
+1 (508) 293-7953 **NEW**     FAX: +1 (508) 293-7786
black_david@emc.com        Mobile: +1 (978) 394-7754
----------------------------------------------------


--=_alternative 006286F9C2256CA8_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">the cross I_T Nexus is spatial not temporal.
&nbsp;</font>
<br><font size=2 face="sans-serif">If you have a single session - then
there is nothing you have to do.</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>Black_David@emc.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/01/03 18:36</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">cbm@rose.hp.com, 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">RE: iSCSI: Implicit Termination
of Tasks</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Mallikarjun,<br>
<br>
&gt; I disagree with your suggestion.<br>
&gt; <br>
&gt; I believe that cases a, b and c (as written) are necessary and sufficient
<br>
&gt; cases for generating an internal CHECK CONDITION because<br>
&gt; our intent is to deliver on the promise of &quot;ordering in the face
of errors<br>
&gt; on one I_T nexus&quot;, *not* to gurantee the creation of cross-initiator
ACA<br>
&gt; based on TST and QErr bit settings - simply because there are no iSCSI<br>
&gt; ordering guarantees involved across independent I_T nexuses.<br>
<br>
While I understand the intent, the problem is that CHECK CONDITION is<br>
a SCSI mechanism that SAM-2 now defines to have cross-I_T nexus<br>
(cross-session) side effects in some cases - iSCSI cannot disregard<br>
those side effects because they're inconvenient, and hence if CHECK<br>
CONDITION is used with implicit task termination, it ought to be<br>
used consistently.<br>
<br>
&gt; IOW, iSCSI spec today takes the position that the first three cases
<br>
&gt; are of potential interest to SCSI layer in view of iSCSI's ordering<br>
&gt; guarantee while the last case (d) is an iSCSI dynamic that has no<br>
&gt; bearing on the ordering guarantee. &nbsp;I think that's a very reasonable<br>
&gt; position.<br>
<br>
The problem with this is that CHECK CONDITION is of interest to the<br>
SCSI layer by definition, and the potential cross-I_T nexus side<br>
effects make case (d) relevant to SCSI in a way that it was not earlier.<br>
<br>
I have a problem when the answer to:<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&quot;When iSCSI loses or tears down connectivity, do implicitly<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
terminated tasks generate CHECK CONDITION and its potential<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
cross-I_T nexus side effects?&quot;<br>
is:<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&quot;It depends on how the connection was torn down or lost.&quot;<br>
because to my mind that's much worse than &quot;yes&quot; or &quot;no&quot;.<br>
While it may have no bearing on the ordering guarantee, the different<br>
results for the TST=0 case will be a major surprise, especially if ACA<br>
is in use.<br>
<br>
FWIW, the cross-nexus side effects were added to SAM-2 in the relatively<br>
recent past - as SAM-2 was when much of the work on iSCSI was done, the<br>
current state of iSCSI would be fine as there would have been no way<br>
to determine whether the internal CHECK CONDITION was generated in<br>
case (d) once the I_T nexus (iSCSI session) vanished. &nbsp;T10 decided<br>
to change that situation, and we need to cope with this consequence.<br>
<br>
&gt; On a related separate topic, the current ASC/ASCQ value specification
<br>
&gt; for the implicit termination in the iSCSI spec is quite limiting as
Eddy<br>
&gt; pointed out - I surprisingly overlooked the &quot;array only&quot;
qualifier <br>
&gt; when I originally<br>
&gt; suggested it..... &nbsp;I suggest that we change it to the following
- <br>
&gt; <br>
&gt; 00/06 &nbsp;DTLPWRSOMCAEBK &nbsp;I/O PROCESS TERMINATED<br>
<br>
I have a note in to Rob Elliott asking the scope of the current ASC/ASCQ<br>
value can be expanded. &nbsp;Let's make sure that it can't be before making<br>
this sort of annoying minor change at this stage.<br>
<br>
Thanks,<br>
--David<br>
----------------------------------------------------<br>
David L. Black, Senior Technologist<br>
EMC Corporation, 176 South St., Hopkinton, MA &nbsp;01748<br>
+1 (508) 293-7953 **NEW** &nbsp; &nbsp; FAX: +1 (508) 293-7786<br>
black_david@emc.com &nbsp; &nbsp; &nbsp; &nbsp;Mobile: +1 (978) 394-7754<br>
----------------------------------------------------<br>
</tt></font>
<br>
--=_alternative 006286F9C2256CA8_=--
