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 h4UK0s305691
	for <ipsml@ece.cmu.edu>; Fri, 30 May 2003 16:00:54 -0400 (EDT)
Received: by bache.ece.cmu.edu (Postfix, from userid 953)
	id EB30098; Fri, 30 May 2003 16:00:52 -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 26F5F7B; Fri, 30 May 2003 16:00:42 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix)
	id 9B5FC89D6; Fri, 30 May 2003 16:00:21 -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 8A9EC8950
	for <ips-outgoing@sos.ece.cmu.edu>; Fri, 30 May 2003 16:00:21 -0400 (EDT)
Received: by hazard.ece.cmu.edu (Postfix)
	id 5BEBE7A; Fri, 30 May 2003 16:00:21 -0400 (EDT)
Received: by hazard.ece.cmu.edu (Postfix, from userid 953)
	id 36E0E82; Fri, 30 May 2003 16:00:21 -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 9E1BD7A
	for <ips-outgoing@ece.cmu.edu>; Fri, 30 May 2003 16:00:18 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix, from userid 363)
	id 6F58389D7; Fri, 30 May 2003 16:00:18 -0400 (EDT)
X-Original-To: ips@sos.ece.cmu.edu
Received: from bache.ece.cmu.edu (BACHE.ECE.CMU.EDU [128.2.129.23])
	by sos.ece.cmu.edu (Postfix) with ESMTP id 978B68950
	for <ips@sos.ece.cmu.edu>; Fri, 30 May 2003 16:00:16 -0400 (EDT)
Received: by bache.ece.cmu.edu (Postfix)
	id 124B17B; Fri, 30 May 2003 16:00:16 -0400 (EDT)
Delivered-To: ips@ece.cmu.edu
Received: by bache.ece.cmu.edu (Postfix, from userid 953)
	id EB39D82; Fri, 30 May 2003 16:00:15 -0400 (EDT)
Received: from mail2.microsoft.com (mail2.microsoft.com [131.107.3.124])
	by bache.ece.cmu.edu (Postfix) with ESMTP id 96C797F
	for <ips@ece.cmu.edu>; Fri, 30 May 2003 16:00:12 -0400 (EDT)
Received: from INET-VRS-02.redmond.corp.microsoft.com ([157.54.8.110]) by mail2.microsoft.com with Microsoft SMTPSVC(5.0.2195.6624);
	 Fri, 30 May 2003 13:00:08 -0700
Received: from 157.54.8.109 by INET-VRS-02.redmond.corp.microsoft.com (InterScan E-Mail VirusWall NT); Fri, 30 May 2003 13:00:08 -0700
Received: from red-imc-02.redmond.corp.microsoft.com ([157.54.9.107]) by inet-hub-02.redmond.corp.microsoft.com with Microsoft SMTPSVC(6.0.3790.0);
	 Fri, 30 May 2003 13:00:08 -0700
Received: from win-imc-01.wingroup.windeploy.ntdev.microsoft.com ([157.54.0.39]) by red-imc-02.redmond.corp.microsoft.com with Microsoft SMTPSVC(6.0.3790.0);
	 Fri, 30 May 2003 13:00:07 -0700
Received: from WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com ([157.54.12.81]) by win-imc-01.wingroup.windeploy.ntdev.microsoft.com with Microsoft SMTPSVC(6.0.3788.0);
	 Fri, 30 May 2003 13:00:02 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5.6940.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="------------InterScan_NT_MIME_Boundary"
Subject: iSCSI: Plugging holes in CmdSN
Date: Fri, 30 May 2003 12:59:57 -0700
Message-ID: <DDE1793D7266AD488BB4F5E8D38EACB801193E98@WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: iSCSI: Plugging holes in CmdSN
Thread-Index: AcMiPHs8uVgggDquQr2Nb0d/nWL+PQEqE/aA
From: "Lakshmi Ramasubramanian" <nramas@windows.microsoft.com>
To: "Julian Satran" <Julian_Satran@il.ibm.com>, <ips@ece.cmu.edu>
X-OriginalArrivalTime: 30 May 2003 20:00:02.0253 (UTC) FILETIME=[0E67E7D0:01C326E6]
Sender: owner-ips@ece.cmu.edu
Precedence: bulk
X-Spam-Status: No, hits=-1.2 required=5.0
	tests=BAYES_30,HTML_70_80,HTML_FONT_COLOR_BLUE
	version=2.50
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp)

This is a multi-part message in MIME format.

--------------InterScan_NT_MIME_Boundary
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C326E6.0C23ADB7"

------_=_NextPart_001_01C326E6.0C23ADB7
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

If the target detects data digest error in a PDU,
and sends Reject the initiator=20
=20
 * MAY retry the command with the same CmdSN, TaskTag, etc.=20
=20
 * Or, Send a Task Mgmt command to ABORT TASK that task.
=20
Target will not advance ExpCmdSN until initiator does something
to clear the rejected command.
=20
But, can the initiator send a Task Mgmt command with function
LU Reset (instead of ABORT TASK) as IMMEDIATE command? Should=20
the target then clear the rejected command and any command that=20
was received after that? And, advance the ExpCmdSN so that initiator
can proceed with that session?
=20
thanks!
 -lakshmi
=20
=20

------_=_NextPart_001_01C326E6.0C23ADB7
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3DWord.Document name=3DProgId>
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<META content=3D"Microsoft Word 10" name=3DOriginator><LINK=20
href=3D"cid:filelist.xml@01C3221A.D3FC5790" rel=3DFile-List><!--[if gte =
mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
 </w:WordDocument>
</xml><![endif]-->
<STYLE>@font-face {
	font-family: Courier;
}
@font-face {
	font-family: Verdana;
}
@font-face {
	font-family: Tahoma;
}
@font-face {
	font-family: Georgia;
}
@font-face {
	font-family: sans-serif;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; =
mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
P {
	FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: =
"Times New Roman"; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"; mso-margin-top-alt: auto; =
mso-margin-bottom-alt: auto
}
SPAN.EmailStyle18 {
	COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply; =
mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; mso-bidi-font-size: =
10.0pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; =
mso-bidi-font-family: Arial
}
DIV.Section1 {
	page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=3DEN-US style=3D"tab-interval: .5in" vLink=3Dpurple =
link=3Dblue><![if !supportLineBreakNewLine]><![endif]>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff size=3D2>If the target detects data =
digest error=20
in a PDU,</FONT></SPAN></o:p></DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff size=3D2>and sends Reject the=20
</FONT></SPAN></o:p><o:p><SPAN class=3D808595019-30052003><FONT =
face=3D"Courier New"=20
color=3D#0000ff size=3D2>initiator </FONT></SPAN></o:p></DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT></SPAN></o:p>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff size=3D2>&nbsp;* MAY retry the =
command=20
</FONT></SPAN></o:p><o:p><SPAN class=3D808595019-30052003><FONT =
face=3D"Courier New"=20
color=3D#0000ff size=3D2>with the same CmdSN, TaskTag, etc.=20
</FONT></SPAN></o:p></DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT></SPAN></o:p>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff size=3D2>&nbsp;* Or, Send a Task =
Mgmt command to=20
ABORT TASK that task.</FONT></SPAN></o:p></DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT></SPAN></o:p>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff size=3D2>Target will not=20
</FONT></SPAN></o:p><o:p><SPAN class=3D808595019-30052003><FONT =
face=3D"Courier New"=20
color=3D#0000ff size=3D2>advance ExpCmdSN until initiator=20
does&nbsp;something</FONT></SPAN></o:p></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3D"Courier New"><FONT =
size=3D2><FONT=20
color=3D#0000ff><o:p><SPAN class=3D808595019-30052003>to clear the =
rejected=20
command</SPAN></o:p><o:p><SPAN=20
class=3D808595019-30052003>.</SPAN></o:p></FONT></FONT></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT></SPAN></o:p>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff size=3D2>But, can the initiator =
send a Task Mgmt=20
command with function</FONT></SPAN></o:p></DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff size=3D2>LU Reset (instead of ABORT =
TASK) as=20
IMMEDIATE command? Should </FONT></SPAN></o:p></DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff size=3D2>the target then=20
</FONT></SPAN></o:p><o:p><SPAN class=3D808595019-30052003><FONT =
face=3D"Courier New"=20
color=3D#0000ff size=3D2>clear the rejected command and any command that =

</FONT></SPAN></o:p></DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff size=3D2>was received=20
</FONT></SPAN></o:p><o:p><SPAN class=3D808595019-30052003><FONT =
face=3D"Courier New"=20
color=3D#0000ff size=3D2>after that? And, advance the ExpCmdSN so that=20
initiator</FONT></SPAN></o:p></DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff size=3D2>can proceed with that=20
session?</FONT></SPAN></o:p></DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT></SPAN></o:p>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff =
size=3D2>thanks!</FONT></SPAN></o:p></DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff =
size=3D2>&nbsp;-lakshmi</FONT></SPAN></o:p></DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT></SPAN></o:p>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><o:p><SPAN class=3D808595019-30052003><FONT=20
face=3D"Courier New" color=3D#0000ff=20
size=3D2></FONT></SPAN></o:p>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C326E6.0C23ADB7--

--------------InterScan_NT_MIME_Boundary--

