Return-Path: <owner-ips-outgoing@ece.cmu.edu>
X-Sieve: cmu-sieve 2.0
Return-Path: <owner-ips-outgoing@ece.cmu.edu>
Received: from bache.ece.cmu.edu (BACHE.ECE.CMU.EDU [128.2.129.23])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h4V5ru329376
	for <ipsml@ece.cmu.edu>; Sat, 31 May 2003 01:53:56 -0400 (EDT)
Received: by bache.ece.cmu.edu (Postfix, from userid 953)
	id 7919897; Sat, 31 May 2003 01:53:55 -0400 (EDT)
Received: from sos.ece.cmu.edu (SOS.ECE.CMU.EDU [128.2.129.27])
	by bache.ece.cmu.edu (Postfix) with ESMTP
	id 9761876; Sat, 31 May 2003 01:53:18 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix)
	id EC438894F; Sat, 31 May 2003 01:53:04 -0400 (EDT)
Received: from hazard.ece.cmu.edu (HAZARD.ECE.CMU.EDU [128.2.129.24])
	by sos.ece.cmu.edu (Postfix) with ESMTP id DE7D8894A
	for <ips-outgoing@sos.ece.cmu.edu>; Sat, 31 May 2003 01:53:04 -0400 (EDT)
Received: by hazard.ece.cmu.edu (Postfix)
	id A407884; Sat, 31 May 2003 01:53:04 -0400 (EDT)
Received: by hazard.ece.cmu.edu (Postfix, from userid 953)
	id 85D0977; Sat, 31 May 2003 01:53:04 -0400 (EDT)
Received: from sos.ece.cmu.edu (SOS.ECE.CMU.EDU [128.2.129.27])
	by hazard.ece.cmu.edu (Postfix) with ESMTP id 17D9984
	for <ips-outgoing@ece.cmu.edu>; Sat, 31 May 2003 01:53:02 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix, from userid 363)
	id E72068950; Sat, 31 May 2003 01:53:01 -0400 (EDT)
X-Original-To: ips@sos.ece.cmu.edu
Received: from osgood.ece.cmu.edu (OSGOOD.ECE.CMU.EDU [128.2.129.25])
	by sos.ece.cmu.edu (Postfix) with ESMTP id 74293894A
	for <ips@sos.ece.cmu.edu>; Sat, 31 May 2003 01:53:00 -0400 (EDT)
Received: by osgood.ece.cmu.edu (Postfix)
	id E84637A; Sat, 31 May 2003 01:52:59 -0400 (EDT)
Delivered-To: ips@ece.cmu.edu
Received: by osgood.ece.cmu.edu (Postfix, from userid 953)
	id AB88D87; Sat, 31 May 2003 01:52:59 -0400 (EDT)
Received: from d12lmsgate-5.de.ibm.com (d12lmsgate-5.de.ibm.com [194.196.100.238])
	by osgood.ece.cmu.edu (Postfix) with ESMTP id 8875E7A
	for <ips@ece.cmu.edu>; Sat, 31 May 2003 01:52:56 -0400 (EDT)
Received: from d12relay02.megacenter.de.ibm.com (d12relay02.megacenter.de.ibm.com [9.149.165.196])
	by d12lmsgate-5.de.ibm.com (8.12.9/8.12.8) with ESMTP id h4V5qtlr084674;
	Sat, 31 May 2003 07:52:55 +0200
Received: from d10ml001.telaviv.ibm.com (d10ml001.telaviv.ibm.com [9.148.216.55])
	by d12relay02.megacenter.de.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h4V5qsAj285668;
	Sat, 31 May 2003 07:52:54 +0200
In-Reply-To: <DDE1793D7266AD488BB4F5E8D38EACB801193E98@WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com>
To: "Lakshmi Ramasubramanian" <nramas@windows.microsoft.com>
Cc: ips@ece.cmu.edu
Subject: Re: iSCSI: Plugging holes in CmdSN
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: <OFE31F23FB.94F7DA20-ONC2256D37.001EA31C-C2256D37.00204DF8@telaviv.ibm.com>
Date: Sat, 31 May 2003 08:52:51 +0300
X-MIMETrack: Serialize by Router on D10ML001/10/M/IBM(Release 5.0.9a |January 7, 2002) at
 31/05/2003 08:52:54,
	Serialize complete at 31/05/2003 08:52:54
Content-Type: multipart/alternative; boundary="=_alternative 001F4AA8C2256D37_="
Sender: owner-ips@ece.cmu.edu
Precedence: bulk
X-Spam-Status: No, hits=-8.5 required=5.0
	tests=BAYES_10,HTML_40_50,HTML_FONT_COLOR_BLUE,IN_REP_TO
	version=2.50
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp)

This is a multipart message in MIME format.
--=_alternative 001F4AA8C2256D37_=
Content-Type: text/plain; charset="US-ASCII"

Yes an initiator can send a reset and have the target completely clear. 
However bear in mind the recent changes in SPC3 and SAM with regard to 
support for  reset 
Reset will also clear commands already in execution and (depending on the 
type of queuing supported) commands from other initiators.

Regards,
Julo



"Lakshmi Ramasubramanian" <nramas@windows.microsoft.com> 
30/05/03 22:59

To
Julian Satran/Haifa/IBM@IBMIL, <ips@ece.cmu.edu>
cc

Subject
iSCSI: Plugging holes in CmdSN






If the target detects data digest error in a PDU,
and sends Reject the initiator 
 
 * MAY retry the command with the same CmdSN, TaskTag, etc. 
 
 * Or, Send a Task Mgmt command to ABORT TASK that task.
 
Target will not advance ExpCmdSN until initiator does something
to clear the rejected command.
 
But, can the initiator send a Task Mgmt command with function
LU Reset (instead of ABORT TASK) as IMMEDIATE command? Should 
the target then clear the rejected command and any command that 
was received after that? And, advance the ExpCmdSN so that initiator
can proceed with that session?
 
thanks!
 -lakshmi
 
 

--=_alternative 001F4AA8C2256D37_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Yes an initiator can send a reset and
have the target completely clear. However bear in mind the recent changes
in SPC3 and SAM with regard to support for &nbsp;reset </font>
<br><font size=2 face="sans-serif">Reset will also clear commands already
in execution and (depending on the type of queuing supported) commands
from other initiators.</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<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>&quot;Lakshmi Ramasubramanian&quot;
&lt;nramas@windows.microsoft.com&gt;</b> </font>
<p><font size=1 face="sans-serif">30/05/03 22:59</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,
&lt;ips@ece.cmu.edu&gt;</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: Plugging holes in
CmdSN</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 color=blue face="Courier New">If the target detects data
digest error in a PDU,</font>
<br><font size=2 color=blue face="Courier New">and sends Reject the initiator
</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Courier New">&nbsp;* MAY retry the command
with the same CmdSN, TaskTag, etc. </font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Courier New">&nbsp;* Or, Send a Task
Mgmt command to ABORT TASK that task.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Courier New">Target will not advance
ExpCmdSN until initiator does something</font>
<br><font size=2 color=blue face="Courier New">to clear the rejected command.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Courier New">But, can the initiator send
a Task Mgmt command with function</font>
<br><font size=2 color=blue face="Courier New">LU Reset (instead of ABORT
TASK) as IMMEDIATE command? Should </font>
<br><font size=2 color=blue face="Courier New">the target then clear the
rejected command and any command that </font>
<br><font size=2 color=blue face="Courier New">was received after that?
And, advance the ExpCmdSN so that initiator</font>
<br><font size=2 color=blue face="Courier New">can proceed with that session?</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Courier New">thanks!</font>
<br><font size=2 color=blue face="Courier New">&nbsp;-lakshmi</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>&nbsp;</font>
<br>
--=_alternative 001F4AA8C2256D37_=--
