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 h08HtGE20938
	for ips-outgoing; Wed, 8 Jan 2003 12:55:16 -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 h08HtCW20933;
	Wed, 8 Jan 2003 12:55:12 -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 h08Ht211080492;
	Wed, 8 Jan 2003 18:55:03 +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 h08Ht03J133082;
	Wed, 8 Jan 2003 18:55:00 +0100
In-Reply-To: <AEC4671C8179D61194DE0002B328BDD20AE5@ATLOPS>
To: Eddy Quicksall <eddy_quicksall@ivivity.com>
Cc: Black_David@emc.com, david.brown@trebia.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: <OF7699FE51.51374811-ONC2256CA8.0061EF48-C2256CA8.00626B0E@telaviv.ibm.com>
Date: Wed, 8 Jan 2003 19:54:58 +0200
X-MIMETrack: Serialize by Router on D10ML001/10/M/IBM(Release 5.0.9a |January 7, 2002) at
 08/01/2003 19:54:59,
	Serialize complete at 08/01/2003 19:54:59
Content-Type: multipart/alternative; boundary="=_alternative 00622BB2C2256CA8_="
Sender: owner-ips@ece.cmu.edu
Precedence: bulk

This is a multipart message in MIME format.
--=_alternative 00622BB2C2256CA8_=
Content-Type: text/plain; charset="US-ASCII"

Noooo - it will require explaining the whole SCSI context (ACA active, 
queues etc.)  And as I pointed out in many usefull cases you don't even 
have to do anything.

Julo



Eddy Quicksall <eddy_quicksall@ivivity.com> 
08/01/03 18:29

To
Julian Satran/Haifa/IBM@IBMIL, Black_David@emc.com
cc
david.brown@trebia.com, ips@ece.cmu.edu, owner-ips@ece.cmu.edu
Subject
RE: iSCSI: Implicit Termination of Tasks






Should this be added to the end? "However, since the UA is set, the next 
command will get the UA or ACA Active".
 
Eddy
-----Original Message-----
From: Julian Satran [mailto:Julian_Satran@il.ibm.com]
Sent: Wednesday, January 08, 2003 1:59 AM
To: Black_David@emc.com
Cc: david.brown@trebia.com; ips@ece.cmu.edu; owner-ips@ece.cmu.edu
Subject: RE: iSCSI: Implicit Termination of Tasks


How about the following text: 

If the tasks terminated in the above cases a), b, c) and d)are SCSI tasks, 
they must be internally terminated with CHECK CONDITION status with a 
sense key of unit attention and ASC/ASCQ values of 0x6E/0x00 (COMMAND TO 
LOGICAL UNIT FAILED).  This status is only meaningful for appropriately 
handling the internal SCSI state and SCSI side effects with respect to 
ordering (e.g., queued commands and ACA) because this status is never 
communicated back as a terminating status to the initiator. 

Please pay attention to the fact that the statement about the status not 
being returned is unchanged. 

10.14.5 now reads also: 

Implicit termination of tasks 
A target implicitly terminates the active tasks in three cases due to 
iSCSI protocol: 

When a connection is implicitly or explicitly logged out with the reason 
code of "Close the connection" and there are active tasks allegiant to 
that connection. 
 
When a connection fails and eventually the connection state times out 
(state transition M1 in Section 7.2.2 State Transition Descriptions for 
Initiators and Targets) and there are active tasks allegiant to that 
connection. 
 
When a successful recovery Logout is performed while there are active 
tasks allegiant to that connection, and those tasks eventually time out 
after the Time2Wait and Time2Retain periods without allegiance 
reassignment. 
 
When a connection is implicitly or explicitly logged out with the reason 
code of "Close the session" and there are active tasks in that session. 
                

If the tasks terminated in any of the above cases are SCSI tasks, they 
must be internally terminated with CHECK CONDITION status with a sense key 
of unit attention and ASC/ASCQ values of 0x6E/0x00 (COMMAND TO LOGICAL 
UNIT FAILED).  This status is only meaningful for appropriately handling 
the internal SCSI state and SCSI side effects with respect to ordering 
(e.g., queued commands and ACA) because this status is never communicated 
back as a terminating status to the initiator. 

Julo 




Black_David@emc.com 
Sent by: owner-ips@ece.cmu.edu 
08/01/03 03:57 


To
david.brown@trebia.com, ips@ece.cmu.edu 
cc

Subject
RE: iSCSI: Implicit Termination of Tasks








Folks,

We need to drive this issue to closure.  The gory details of the
cross-initiator effects of task termination with CHECK CONDITION
are summarized in Table 25 of Section 5.9.1.2 of SAM-2, and the
next four subsections describe how this affects new tasks.  As
David Brown pointed out, the important behavior to note is that
when TST is 0, any such termination affects *all* tasks regardless
of initiator, and if it results in an ACA, that affects
*all* existing and new tasks until the ACA cleared.  FWIW, iSCSI's
requirement that autosense MUST be used eliminates the possibility
of a new task being created while CA is in effect as the CA is
immediately cleared by autosense.

Given this, especially its ACA aspects, and the fact that iSCSI needs
to support ACA, the distinction currently made in Section 6.5 between
connection closure and session closure seems wrong - I'm inclined
to agree with David Brown and Eddy Quicksall that all four cases
in Section 6.5 need to implicitly terminate the tasks with CHECK
CONDITION for consistency, and I also think that David Brown's
add text observing that there may be cross-initiator side effects
depending on how CA and ACA are handled is reasonable, but I would
limit it to about what I just wrote plus advice to consult SAM-2.

Anyone want to disagree?

Thanks,
--David


> I don't understand why the generation of CHECK CONDITIONs is immaterial
when
> a session is closed.  When a check condition generates a CA or ACA, it 
can
> affect tasks from other initiators, too.  Look at the TST and QErr bits 
in
> the Control mode page.
> 
> If the TST bit, in the Control mode page, is zero and the QErr data 
field,
> in the same mode page, contains 01b, then a check condition causes all
tasks
> from all initiators to be aborted.
> 
> If TST is zero and QErr is not 01b, then all tasks from other initiators
are
> temporarily blocked by a CA or ACA.  The situation in which an ACA was
> generated and the session was closed is particularly problematic, 
because
> the initiator that caused the ACA is gone.  One of the other initiators
> would need to reset the unit, or send a PERSISTENT RESERVE OUT, to clear
the
> ACA.
> 
> It wouldn't have done any harm to make the last paragraph of 6.5 apply 
to
> clause (d), namely session closure.  It certainly would have been helped
if
> the paragraph referred to CA and ACA explicitly.  Such a statement would
> have made clear the underlying assumption, namely that a check condition
> never affects other initiators, as long as the target 
> implements autosense.
> 
> Bottom line: If I understand the SAM and SPC specs correctly, the 
current
> draft of the iSCSI spec is incorrect.  Clause (d) of 6.5 should cause 
the
> tasks to be terminated with a check condition, just like clauses (a), 
(b),
> and (c).  The check condition is visible externally in two situations:
> 
> 1.  Closing a session will cause tasks from other sessions to be 
aborted,
if
> QErr contains 01b and TST contains 0.
> 2.  Closing a session will cause tasks from other sessions to be 
blocked,
if
> QErr contains 00b (or 011b) and TST contains 0 and any of the terminated
> commands had the NACA bit set.
> 
> dj
> 
> 
> -----Original Message-----
> From: Eddy Quicksall [mailto:Eddy_Quicksall@ivivity.com]
> Sent: Tuesday, January 07, 2003 8:52 AM
> To: 'Mallikarjun C.'; ips@ece.cmu.edu
> Subject: RE: iSCSI: Implicit Termination of Tasks
> 
> 
> If it never makes it back to the initiator, then it is an 
> implementation
> issue. As long as the target maintains all ordering 
> requirements (iSCSI out
> of order commands and SCSI queued commands), all should be 
> well and there
> would be no requirement imposed in the spec to implement this.
> 
> If would be better to have just given the paragraph below as an
> implementation note. As long as we all understand what your 
> intent was, then
> we should be OK (and you have now explained that).
> 
> Thanks
> 
> Eddy
> 
> -----Original Message-----
> From: Mallikarjun C. [mailto:cbm@rose.hp.com]
> Sent: Monday, January 06, 2003 9:15 PM
> To: Eddy_Quicksall@iVivity.com; ips@ece.cmu.edu
> Subject: Re: iSCSI: Implicit Termination of Tasks
> 
> 
> Eddy,
> 
> iSCSI's design goal was to ensure command ordering
> even in the face of errors - ultimately, we wanted the SCSI
> execution ordering to be correct while running on iSCSI.
> This should be able to be guaranteed by the iSCSI targets,
> while initiators may/may not employ command ordering.
> 
> For this to happen, iSCSI must both maintain its delivery
> ordering, and require SCSI CHECK CONDITIONs to
> be locally triggered on the target on iSCSI exception
> conditions such as connection terminations.  The CHECK
> CONDITION would then cause the ACA/persistent-UA to
> be invoked if so desired by the initiator.
> 
> This is not "a method of implementing", it's required behavior
> to meet iSCSI's architectural guarantee of command ordering.
> --
> Mallikarjun
> 
> Mallikarjun Chadalapaka
> Networked Storage Architecture
> Network Storage Solutions
> Hewlett-Packard MS 5668
> Roseville CA 95747
> cbm@rose.hp.com
> 
> 
> ----- Original Message -----
> From: "Eddy Quicksall" <Eddy_Quicksall@iVivity.com>
> To: "'Mallikarjun C.'" <cbm@rose.hp.com>; <ips@ece.cmu.edu>
> Sent: Monday, January 06, 2003 12:46 PM
> Subject: RE: iSCSI: Implicit Termination of Tasks
> 
> 
> > Yes, I noticed my typo of "two" vs. "three" but too late.
> >
> > Below you say that the ordering is iSCSI ordering but section 6.5 is
> saying
> > SCSI ordering (queued commands is SCSI). So, that leaves me a little
> > confused as to what this paragraph is trying to say, especially when
> the
> > "status is never communicated back ... to the initiator".
> >
> > I'm probably mis-understanding something. It appears as 
> though this is
> just
> > a method of implementing within the target.
> >
> > Eddy
> >
> > -----Original Message-----
> > From: Mallikarjun C. [mailto:cbm@rose.hp.com]
> > Sent: Monday, January 06, 2003 3:12 PM
> > To: Eddy_Quicksall@ivivity.com; ips@ece.cmu.edu
> > Subject: Re: iSCSI: Implicit Termination of Tasks
> >
> >
> > Comments below.
> > --
> > Mallikarjun
> >
> > Mallikarjun Chadalapaka
> > Networked Storage Architecture
> > Network Storage Solutions
> > Hewlett-Packard MS 5668
> > Roseville CA 95747
> > cbm@rose.hp.com
> >
> > ----- Original Message -----
> > From: "Eddy Quicksall" <Eddy_Quicksall@ivivity.com>
> > To: <ips@ece.cmu.edu>
> > Sent: Monday, January 06, 2003 5:16 AM
> > Subject: iSCSI: Implicit Termination of Tasks
> >
> >
> > > There are two sections titled Implicit Termination of 
> Tasks but they
> > are
> > > slightly different. Which is correct?
> >
> > Both are correct and consistent.
> >
> > >
> > > Section 6.5 lists 4 items but section 10.14.5 only lists two.
> >
> > I'm seeing three in 10.14.5.....
> >
> > Even though 6.5 lists all the four cases, it makes it clear that the
> > check condition is to be employed only for three cases - and
> > only those three are listed by 10.14.5.  Perhaps the text could have
> > been a little bit more explicit about this distinction.
> >
> > >
> > > If 6.5 is correct, why is item D not included in the unit 
> attention?
> > SAM-3
> > > says:
> >
> > It's not so much a SAM issue.  The issue we considered was how to
> ensure
> > iSCSI-standard ordered delivery of commands in the face of errors.
> The
> > ordered delivery of commands does not make sense for case (d) - that
> of
> > creating a new session - ordering is not guaranteed anyway across
> > sessions.
> >
> >
> 


--=_alternative 00622BB2C2256CA8_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Noooo - it will require explaining the
whole SCSI context (ACA active, queues etc.) &nbsp;And as I pointed out
in many usefull cases you don't even have to do anything.</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>Eddy Quicksall &lt;eddy_quicksall@ivivity.com&gt;</b>
</font>
<p><font size=1 face="sans-serif">08/01/03 18:29</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">Julian Satran/Haifa/IBM@IBMIL,
Black_David@emc.com</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top><font size=1 face="sans-serif">david.brown@trebia.com, ips@ece.cmu.edu,
owner-ips@ece.cmu.edu</font>
<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 color=blue face="Arial">Should this be added to the end?
&quot;However, since the UA is set, the next command will get the UA or
ACA Active&quot;.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">Eddy</font>
<br><font size=2 face="Tahoma">-----Original Message-----<b><br>
From:</b> Julian Satran [mailto:Julian_Satran@il.ibm.com]<b><br>
Sent:</b> Wednesday, January 08, 2003 1:59 AM<b><br>
To:</b> Black_David@emc.com<b><br>
Cc:</b> david.brown@trebia.com; ips@ece.cmu.edu; owner-ips@ece.cmu.edu<b><br>
Subject:</b> RE: iSCSI: Implicit Termination of Tasks<br>
</font>
<br><font size=2 face="sans-serif"><br>
How about the following text:</font><font size=3> <br>
</font><font size=3 face="Courier New"><br>
If the tasks terminated in the above cases a), b, c) and d)are SCSI tasks,
they must be internally terminated with CHECK CONDITION status with a sense
key of unit attention and ASC/ASCQ values of 0x6E/0x00 (COMMAND TO LOGICAL
UNIT FAILED). &nbsp;This status is only meaningful for appropriately handling
the internal SCSI state and SCSI side effects with respect to ordering
(e.g., queued commands and ACA) because this status is never communicated
back as a terminating status to the initiator. </font><font size=3><br>
</font><font size=2 face="sans-serif"><br>
Please pay attention to the fact that the statement about the status not
being returned is unchanged.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
10.14.5 now reads also:</font><font size=3> <br>
</font><font size=3 face="Courier New"><br>
Implicit termination of tasks</font><font size=3> </font>
<p><font size=3 face="Courier New">A target implicitly terminates the active
tasks in three cases due to iSCSI protocol:</font><font size=3> <br>
</font><font size=3 face="Courier New"><br>
When a connection is implicitly or explicitly logged out with the reason
code of &quot;Close the connection&quot; and there are active tasks allegiant
to that connection.</font><font size=3> </font><font size=3 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
When a connection fails and eventually the connection state times out (state
transition M1 in Section 7.2.2 State Transition Descriptions for Initiators
and Targets) and there are active tasks allegiant to that connection.</font><font size=3>
</font><font size=3 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
When a successful recovery Logout is performed while there are active tasks
allegiant to that connection, and those tasks eventually time out after
the Time2Wait and Time2Retain periods without allegiance reassignment.</font><font size=3>
</font><font size=3 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
When a connection is implicitly or explicitly logged out with the reason
code of &quot;Close the session&quot; and there are active tasks in that
session.</font><font size=3> </font><font size=3 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3><br>
</font><font size=3 face="Courier New"><br>
If the tasks terminated in any of the above cases are SCSI tasks, they
must be internally terminated with CHECK CONDITION status with a sense
key of unit attention and ASC/ASCQ values of 0x6E/0x00 (COMMAND TO LOGICAL
UNIT FAILED). &nbsp;This status is only meaningful for appropriately handling
the internal SCSI state and SCSI side effects with respect to ordering
(e.g., queued commands and ACA) because this status is never communicated
back as a terminating status to the initiator. </font><font size=3><br>
</font><font size=2 face="sans-serif"><br>
Julo</font><font size=3> <br>
<br>
<br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=39%><font size=1 face="sans-serif"><b>Black_David@emc.com</b>
<br>
Sent by: owner-ips@ece.cmu.edu</font><font size=3> </font>
<p><font size=1 face="sans-serif">08/01/03 03:57</font><font size=3> </font>
<td width=60%>
<br>
<table width=100%>
<tr>
<td width=15%>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td width=84% valign=top><font size=1 face="sans-serif">david.brown@trebia.com,
ips@ece.cmu.edu</font><font size=3> </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>
<br>
<table width=100%>
<tr valign=top>
<td width=49%>
<td width=50%></table>
<br></table>
<br><font size=3><br>
<br>
</font><font size=2><tt><br>
Folks,<br>
<br>
We need to drive this issue to closure. &nbsp;The gory details of the<br>
cross-initiator effects of task termination with CHECK CONDITION<br>
are summarized in Table 25 of Section 5.9.1.2 of SAM-2, and the<br>
next four subsections describe how this affects new tasks. &nbsp;As<br>
David Brown pointed out, the important behavior to note is that<br>
when TST is 0, any such termination affects *all* tasks regardless<br>
of initiator, and if it results in an ACA, that affects<br>
*all* existing and new tasks until the ACA cleared. &nbsp;FWIW, iSCSI's<br>
requirement that autosense MUST be used eliminates the possibility<br>
of a new task being created while CA is in effect as the CA is<br>
immediately cleared by autosense.<br>
<br>
Given this, especially its ACA aspects, and the fact that iSCSI needs<br>
to support ACA, the distinction currently made in Section 6.5 between<br>
connection closure and session closure seems wrong - I'm inclined<br>
to agree with David Brown and Eddy Quicksall that all four cases<br>
in Section 6.5 need to implicitly terminate the tasks with CHECK<br>
CONDITION for consistency, and I also think that David Brown's<br>
add text observing that there may be cross-initiator side effects<br>
depending on how CA and ACA are handled is reasonable, but I would<br>
limit it to about what I just wrote plus advice to consult SAM-2.<br>
<br>
Anyone want to disagree?<br>
<br>
Thanks,<br>
--David<br>
<br>
<br>
&gt; I don't understand why the generation of CHECK CONDITIONs is immaterial<br>
when<br>
&gt; a session is closed. &nbsp;When a check condition generates a CA or
ACA, it can<br>
&gt; affect tasks from other initiators, too. &nbsp;Look at the TST and
QErr bits in<br>
&gt; the Control mode page.<br>
&gt; <br>
&gt; If the TST bit, in the Control mode page, is zero and the QErr data
field,<br>
&gt; in the same mode page, contains 01b, then a check condition causes
all<br>
tasks<br>
&gt; from all initiators to be aborted.<br>
&gt; <br>
&gt; If TST is zero and QErr is not 01b, then all tasks from other initiators<br>
are<br>
&gt; temporarily blocked by a CA or ACA. &nbsp;The situation in which an
ACA was<br>
&gt; generated and the session was closed is particularly problematic,
because<br>
&gt; the initiator that caused the ACA is gone. &nbsp;One of the other
initiators<br>
&gt; would need to reset the unit, or send a PERSISTENT RESERVE OUT, to
clear<br>
the<br>
&gt; ACA.<br>
&gt; <br>
&gt; It wouldn't have done any harm to make the last paragraph of 6.5 apply
to<br>
&gt; clause (d), namely session closure. &nbsp;It certainly would have
been helped<br>
if<br>
&gt; the paragraph referred to CA and ACA explicitly. &nbsp;Such a statement
would<br>
&gt; have made clear the underlying assumption, namely that a check condition<br>
&gt; never affects other initiators, as long as the target <br>
&gt; implements autosense.<br>
&gt; <br>
&gt; Bottom line: If I understand the SAM and SPC specs correctly, the
current<br>
&gt; draft of the iSCSI spec is incorrect. &nbsp;Clause (d) of 6.5 should
cause the<br>
&gt; tasks to be terminated with a check condition, just like clauses (a),
(b),<br>
&gt; and (c). &nbsp;The check condition is visible externally in two situations:<br>
&gt; <br>
&gt; 1. &nbsp;Closing a session will cause tasks from other sessions to
be aborted,<br>
if<br>
&gt; QErr contains 01b and TST contains 0.<br>
&gt; 2. &nbsp;Closing a session will cause tasks from other sessions to
be blocked,<br>
if<br>
&gt; QErr contains 00b (or 011b) and TST contains 0 and any of the terminated<br>
&gt; commands had the NACA bit set.<br>
&gt; <br>
&gt; dj<br>
&gt; <br>
&gt; <br>
&gt; -----Original Message-----<br>
&gt; From: Eddy Quicksall [mailto:Eddy_Quicksall@ivivity.com]<br>
&gt; Sent: Tuesday, January 07, 2003 8:52 AM<br>
&gt; To: 'Mallikarjun C.'; ips@ece.cmu.edu<br>
&gt; Subject: RE: iSCSI: Implicit Termination of Tasks<br>
&gt; <br>
&gt; <br>
&gt; If it never makes it back to the initiator, then it is an <br>
&gt; implementation<br>
&gt; issue. As long as the target maintains all ordering <br>
&gt; requirements (iSCSI out<br>
&gt; of order commands and SCSI queued commands), all should be <br>
&gt; well and there<br>
&gt; would be no requirement imposed in the spec to implement this.<br>
&gt; <br>
&gt; If would be better to have just given the paragraph below as an<br>
&gt; implementation note. As long as we all understand what your <br>
&gt; intent was, then<br>
&gt; we should be OK (and you have now explained that).<br>
&gt; <br>
&gt; Thanks<br>
&gt; <br>
&gt; Eddy<br>
&gt; <br>
&gt; -----Original Message-----<br>
&gt; From: Mallikarjun C. [mailto:cbm@rose.hp.com]<br>
&gt; Sent: Monday, January 06, 2003 9:15 PM<br>
&gt; To: Eddy_Quicksall@iVivity.com; ips@ece.cmu.edu<br>
&gt; Subject: Re: iSCSI: Implicit Termination of Tasks<br>
&gt; <br>
&gt; <br>
&gt; Eddy,<br>
&gt; <br>
&gt; iSCSI's design goal was to ensure command ordering<br>
&gt; even in the face of errors - ultimately, we wanted the SCSI<br>
&gt; execution ordering to be correct while running on iSCSI.<br>
&gt; This should be able to be guaranteed by the iSCSI targets,<br>
&gt; while initiators may/may not employ command ordering.<br>
&gt; <br>
&gt; For this to happen, iSCSI must both maintain its delivery<br>
&gt; ordering, and require SCSI CHECK CONDITIONs to<br>
&gt; be locally triggered on the target on iSCSI exception<br>
&gt; conditions such as connection terminations. &nbsp;The CHECK<br>
&gt; CONDITION would then cause the ACA/persistent-UA to<br>
&gt; be invoked if so desired by the initiator.<br>
&gt; <br>
&gt; This is not &quot;a method of implementing&quot;, it's required behavior<br>
&gt; to meet iSCSI's architectural guarantee of command ordering.<br>
&gt; --<br>
&gt; Mallikarjun<br>
&gt; <br>
&gt; Mallikarjun Chadalapaka<br>
&gt; Networked Storage Architecture<br>
&gt; Network Storage Solutions<br>
&gt; Hewlett-Packard MS 5668<br>
&gt; Roseville CA 95747<br>
&gt; cbm@rose.hp.com<br>
&gt; <br>
&gt; <br>
&gt; ----- Original Message -----<br>
&gt; From: &quot;Eddy Quicksall&quot; &lt;Eddy_Quicksall@iVivity.com&gt;<br>
&gt; To: &quot;'Mallikarjun C.'&quot; &lt;cbm@rose.hp.com&gt;; &lt;ips@ece.cmu.edu&gt;<br>
&gt; Sent: Monday, January 06, 2003 12:46 PM<br>
&gt; Subject: RE: iSCSI: Implicit Termination of Tasks<br>
&gt; <br>
&gt; <br>
&gt; &gt; Yes, I noticed my typo of &quot;two&quot; vs. &quot;three&quot;
but too late.<br>
&gt; &gt;<br>
&gt; &gt; Below you say that the ordering is iSCSI ordering but section
6.5 is<br>
&gt; saying<br>
&gt; &gt; SCSI ordering (queued commands is SCSI). So, that leaves me a
little<br>
&gt; &gt; confused as to what this paragraph is trying to say, especially
when<br>
&gt; the<br>
&gt; &gt; &quot;status is never communicated back ... to the initiator&quot;.<br>
&gt; &gt;<br>
&gt; &gt; I'm probably mis-understanding something. It appears as <br>
&gt; though this is<br>
&gt; just<br>
&gt; &gt; a method of implementing within the target.<br>
&gt; &gt;<br>
&gt; &gt; Eddy<br>
&gt; &gt;<br>
&gt; &gt; -----Original Message-----<br>
&gt; &gt; From: Mallikarjun C. [mailto:cbm@rose.hp.com]<br>
&gt; &gt; Sent: Monday, January 06, 2003 3:12 PM<br>
&gt; &gt; To: Eddy_Quicksall@ivivity.com; ips@ece.cmu.edu<br>
&gt; &gt; Subject: Re: iSCSI: Implicit Termination of Tasks<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Comments below.<br>
&gt; &gt; --<br>
&gt; &gt; Mallikarjun<br>
&gt; &gt;<br>
&gt; &gt; Mallikarjun Chadalapaka<br>
&gt; &gt; Networked Storage Architecture<br>
&gt; &gt; Network Storage Solutions<br>
&gt; &gt; Hewlett-Packard MS 5668<br>
&gt; &gt; Roseville CA 95747<br>
&gt; &gt; cbm@rose.hp.com<br>
&gt; &gt;<br>
&gt; &gt; ----- Original Message -----<br>
&gt; &gt; From: &quot;Eddy Quicksall&quot; &lt;Eddy_Quicksall@ivivity.com&gt;<br>
&gt; &gt; To: &lt;ips@ece.cmu.edu&gt;<br>
&gt; &gt; Sent: Monday, January 06, 2003 5:16 AM<br>
&gt; &gt; Subject: iSCSI: Implicit Termination of Tasks<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; There are two sections titled Implicit Termination of <br>
&gt; Tasks but they<br>
&gt; &gt; are<br>
&gt; &gt; &gt; slightly different. Which is correct?<br>
&gt; &gt;<br>
&gt; &gt; Both are correct and consistent.<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Section 6.5 lists 4 items but section 10.14.5 only lists
two.<br>
&gt; &gt;<br>
&gt; &gt; I'm seeing three in 10.14.5.....<br>
&gt; &gt;<br>
&gt; &gt; Even though 6.5 lists all the four cases, it makes it clear that
the<br>
&gt; &gt; check condition is to be employed only for three cases - and<br>
&gt; &gt; only those three are listed by 10.14.5. &nbsp;Perhaps the text
could have<br>
&gt; &gt; been a little bit more explicit about this distinction.<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; If 6.5 is correct, why is item D not included in the unit
<br>
&gt; attention?<br>
&gt; &gt; SAM-3<br>
&gt; &gt; &gt; says:<br>
&gt; &gt;<br>
&gt; &gt; It's not so much a SAM issue. &nbsp;The issue we considered was
how to<br>
&gt; ensure<br>
&gt; &gt; iSCSI-standard ordered delivery of commands in the face of errors.<br>
&gt; The<br>
&gt; &gt; ordered delivery of commands does not make sense for case (d)
- that<br>
&gt; of<br>
&gt; &gt; creating a new session - ordering is not guaranteed anyway across<br>
&gt; &gt; sessions.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; </tt></font><font size=3><br>
</font>
<br>
--=_alternative 00622BB2C2256CA8_=--
