From ips-bounces@ietf.org Sun Dec 02 22:20:56 2007
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1Iz1rP-0000FU-Gm; Sun, 02 Dec 2007 22:20:43 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1Iz1rO-0000FC-7B
	for ips-confirm+ok@megatron.ietf.org; Sun, 02 Dec 2007 22:20:42 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1Iz1rN-0000Ct-Rn
	for ips@ietf.org; Sun, 02 Dec 2007 22:20:41 -0500
Received: from ausc60pc101.us.dell.com ([143.166.85.206])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1Iz1rL-00017J-Fh
	for ips@ietf.org; Sun, 02 Dec 2007 22:20:39 -0500
DomainKey-Signature: s=smtpout; d=dell.com; c=nofws; q=dns;
	h=X-IronPort-AV:X-MimeOLE:Content-class:MIME-Version:
	Content-Type:Subject:Date:Message-ID:X-MS-Has-Attach:
	X-MS-TNEF-Correlator:Thread-Topic:Thread-Index:From:To:Cc:
	Return-Path:X-OriginalArrivalTime;
	b=Ij3UYQF8iAGTKyC4xy01fjMYTPPCYn3UFSccuHgathSu1rxW/S91hZYl
	3L8KzBmge2VgRTFGZRnvFq1CS+3CpK54na4hqOqNRWh+49+ssEPvUCZJx
	FTj6JhZa8symopz;
X-IronPort-AV: E=Sophos;i="4.23,241,1194242400"; 
	d="scan'208,217";a="454365117"
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Sun, 2 Dec 2007 21:20:37 -0600
Message-ID: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9CFF@ausx3mpc102.aus.amer.dell.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Immediate Commands in iSCSI
Thread-Index: Acg1FA80xnV1/ZyrQrWRgdXVcTU4Tg==
From: <Jacob_Cherian@Dell.com>
To: <ips@ietf.org>
X-OriginalArrivalTime: 03 Dec 2007 03:20:38.0123 (UTC)
	FILETIME=[79C3CBB0:01C8355B]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 36fb765c89ed47dab364ab702a78e8fd
Cc: Nam_Nguyen@Dell.com
Subject: [Ips] Immediate Commands in iSCSI
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2074212125=="
Errors-To: ips-bounces@ietf.org

This is a multi-part message in MIME format.

--===============2074212125==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C8355B.798A1ACC"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C8355B.798A1ACC
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

RFC 3720 states:

The number of commands used for immediate delivery is not limited and
their delivery for execution is not acknowledged through the numbering
scheme. Immediate commands MAY be rejected by the iSCSI target layer due
to a lack of resources. An iSCSI target MUST be able to handle at least
one immediate task management command and one immediate
non-task-management iSCSI command per connection at any time.

=20

With storage systems that have very large number of logical units, we
run into an issue when we use LU Reset or Abort Task for reset recovery.
I couldn't find a way to tell an initiator how many immediate commands a
target can accept. The issue with this is that if we have to issue
multiple task management commands and it is more than what the target
can accept, it will reject the task management request. Since we don't
know why it was rejected, we will have to escalate the reset. This can
be very disruptive with nodes that have very large number of logical
units. There may be two ways to resolve this:

=20

1)      Define a new Text negotiation key for number of outstanding
immediate commands supported. Unlike non-immediate (data) commands where
we can send TASK SET FULL, there is no way for a target to report in the
Task Management Function Response PDU that is unable to process the
current request before it is out of resources.  The default vaule for
this new key can be 1, so if this key is not negotiated initiators can
assume one per connection.

2)      Define a new value for the Response field in the Task Management
Function Response PDU for reporting that the target cannot process the
request currently.

=20

Any suggestions on how to resolve this?

=20

Thanks,

Jacob


------_=_NextPart_001_01C8355B.798A1ACC
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:818884635;
	mso-list-type:hybrid;
	mso-list-template-ids:-1542804382 -981590226 67698713 67698715 67698703 =
67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-text:"%1\)";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:11.0pt;
	font-family:"Times New Roman","serif";
	mso-ascii-font-family:Calibri;
	mso-fareast-font-family:"Times New Roman";
	mso-hansi-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";
	mso-ansi-font-style:normal;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal style=3D'text-autospace:none'><span =
style=3D'font-size:9.5pt;
font-family:"Courier New"'>RFC 3720 states:<o:p></o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span =
style=3D'font-size:9.5pt;
font-family:"Courier New"'>The number of commands used for immediate =
delivery
is not limited and their delivery for execution is not acknowledged =
through the
numbering scheme. Immediate commands MAY be rejected by the iSCSI target =
layer
due to a lack of resources. An iSCSI target MUST be able to handle at =
least one
immediate task management command and one immediate non-task-management =
iSCSI
command per connection at any time.<o:p></o:p></span></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>With storage systems that have very large number of =
logical
units, we run into an issue when we use LU Reset or Abort Task for reset
recovery. I couldn&#8217;t find a way to tell an initiator how many =
immediate
commands a target can accept. The issue with this is that if we have to =
issue
multiple task management commands and it is more than what the target =
can
accept, it will reject the task management request. Since we don&#8217;t =
know
why it was rejected, we will have to escalate the reset. This can be =
very
disruptive with nodes that have very large number of logical units. =
There may
be two ways to resolve this:<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoListParagraph style=3D'text-indent:-.25in;mso-list:l0 =
level1 lfo1'><![if !supportLists]><span
style=3D'mso-list:Ignore'>1)<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Define a new Text negotiation key for number of
outstanding immediate commands supported. Unlike non-immediate (data) =
commands where
we can send TASK SET FULL, there is no way for a target to report in the =
Task
Management Function Response PDU that is unable to process the current =
request
before it is out of resources. &nbsp;The default vaule for this new key =
can be
1, so if this key is not negotiated initiators can assume one per =
connection.<o:p></o:p></p>

<p class=3DMsoListParagraph style=3D'text-indent:-.25in;mso-list:l0 =
level1 lfo1'><![if !supportLists]><span
style=3D'mso-list:Ignore'>2)<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Define a new value for the Response field in the =
Task
Management Function Response PDU for reporting that the target cannot =
process
the request currently.<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Any suggestions on how to resolve =
this?<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Thanks,<o:p></o:p></p>

<p class=3DMsoNormal>Jacob<o:p></o:p></p>

</div>

</body>

</html>

------_=_NextPart_001_01C8355B.798A1ACC--



--===============2074212125==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips

--===============2074212125==--





From ips-bounces@ietf.org Mon Dec 03 00:54:18 2007
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1Iz4G1-00079C-13; Mon, 03 Dec 2007 00:54:17 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1Iz4Fz-00078q-Mh
	for ips-confirm+ok@megatron.ietf.org; Mon, 03 Dec 2007 00:54:15 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1Iz4Fz-00078J-Bw
	for ips@ietf.org; Mon, 03 Dec 2007 00:54:15 -0500
Received: from smtpoutm.mac.com ([17.148.16.80])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Iz4Fy-0004oC-TD
	for ips@ietf.org; Mon, 03 Dec 2007 00:54:15 -0500
Received: from mac.com (asmtp005-s [10.150.69.68])
	by smtpoutm.mac.com (Xserve/smtpout017/MantshX 4.0) with ESMTP id
	lB35sD2R002873; Sun, 2 Dec 2007 21:54:13 -0800 (PST)
Received: from waterdeep.home.54thstreetzoo.com
	(wsip-72-214-2-130.sd.sd.cox.net [72.214.2.130])
	(authenticated bits=0)
	by mac.com (Xserve/asmtp005/MantshX 4.0) with ESMTP id lB35sB9D019111
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
	Sun, 2 Dec 2007 21:54:11 -0800 (PST)
Message-Id: <3269CD91-0A2D-4B6C-B148-CDA8BDE07256@mac.com>
From: William Stouder-Studenmund <wrstuden@mac.com>
To: Jacob_Cherian@Dell.com
In-Reply-To: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9CFF@ausx3mpc102.aus.amer.dell.com>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v915)
Subject: Re: [Ips] Immediate Commands in iSCSI
Date: Sun, 2 Dec 2007 21:54:11 -0800
References: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9CFF@ausx3mpc102.aus.amer.dell.com>
X-Mailer: Apple Mail (2.915)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e8a67952aa972b528dd04570d58ad8fe
Cc: IPS <ips@ietf.org>, Nam_Nguyen@Dell.com
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=subscribe>
Errors-To: ips-bounces@ietf.org


On Dec 2, 2007, at 7:20 PM, Jacob_Cherian@Dell.com wrote:

> RFC 3720 states:
> The number of commands used for immediate delivery is not limited =20
> and their delivery for execution is not acknowledged through the =20
> numbering scheme. Immediate commands MAY be rejected by the iSCSI =20
> target layer due to a lack of resources. An iSCSI target MUST be =20
> able to handle at least one immediate task management command and =20
> one immediate non-task-management iSCSI command per connection at =20
> any time.
>
> With storage systems that have very large number of logical units, =20
> we run into an issue when we use LU Reset or Abort Task for reset =20
> recovery. I couldn=92t find a way to tell an initiator how many =20
> immediate commands a target can accept. The issue with this is that =20=

> if we have to issue multiple task management commands and it is more =20=

> than what the target can accept, it will reject the task management =20=

> request. Since we don=92t know why it was rejected, we will have to =20=

> escalate the reset. This can be very disruptive with nodes that have =20=

> very large number of logical units. There may be two ways to resolve =20=

> this:
>
> 1)      Define a new Text negotiation key for number of outstanding =20=

> immediate commands supported. Unlike non-immediate (data) commands =20
> where we can send TASK SET FULL, there is no way for a target to =20
> report in the Task Management Function Response PDU that is unable =20
> to process the current request before it is out of resources.  The =20
> default vaule for this new key can be 1, so if this key is not =20
> negotiated initiators can assume one per connection.

If we were to add this key, I think there should be no default. No =20
negotiation result should leave both parties with the current "try it =20=

and see what happens" behavior.

> 2)      Define a new value for the Response field in the Task =20
> Management Function Response PDU for reporting that the target =20
> cannot process the request currently.
>
> Any suggestions on how to resolve this?

Since we're talking about changing the protocol, why not just fix the =20=

problem? The problem is a lack of clarity about why an operation =20
failed, so let's add an extra response code to indicate a transient =20
issue. Something to the effect of, "I'm rejecting/failing this, but I =20=

think the reasons was transient and may not hold true if you try the =20
command again."

I'm not sure if anything other than TMR needs this treatment.

Take care,

Bill=


_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips



From ips-bounces@ietf.org Mon Dec 03 02:23:38 2007
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1Iz5eR-00077D-2V; Mon, 03 Dec 2007 02:23:35 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1Iz5eP-00076t-PE
	for ips-confirm+ok@megatron.ietf.org; Mon, 03 Dec 2007 02:23:33 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1Iz5eO-00076j-VH
	for ips@ietf.org; Mon, 03 Dec 2007 02:23:32 -0500
Received: from mtagate7.de.ibm.com ([195.212.29.156])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Iz5eK-00022j-BJ
	for ips@ietf.org; Mon, 03 Dec 2007 02:23:32 -0500
Received: from d12nrmr1607.megacenter.de.ibm.com
	(d12nrmr1607.megacenter.de.ibm.com [9.149.167.49])
	by mtagate7.de.ibm.com (8.13.8/8.13.8) with ESMTP id lB37NQV1177752
	for <ips@ietf.org>; Mon, 3 Dec 2007 07:23:26 GMT
Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com
	[9.149.165.228])
	by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.7) with
	ESMTP id lB37NQj12916542
	for <ips@ietf.org>; Mon, 3 Dec 2007 08:23:26 +0100
Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1])
	by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP
	id lB37NQrE006437 for <ips@ietf.org>; Mon, 3 Dec 2007 08:23:26 +0100
Received: from d12mc102.megacenter.de.ibm.com (d12mc102.megacenter.de.ibm.com
	[9.149.167.114])
	by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP
	id lB37NQ1Y006432; Mon, 3 Dec 2007 08:23:26 +0100
In-Reply-To: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9CFF@ausx3mpc102.aus.amer.dell.com>
To: <Jacob_Cherian@Dell.com>
MIME-Version: 1.0
Subject: Re: [Ips] Immediate Commands in iSCSI
X-KeepSent: 2A29EEC8:F7179BE8-C22573A6:00279830;
 type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 7.0.3 September 26, 2007
From: Julian Satran <Julian_Satran@il.ibm.com>
Message-ID: <OF2A29EEC8.F7179BE8-ONC22573A6.00279830-C22573A6.0028981F@il.ibm.com>
Date: Mon, 3 Dec 2007 09:23:24 +0200
X-MIMETrack: Serialize by Router on D12MC102/12/M/IBM(Release 8.0|August 02,
	2007) at 03/12/2007 09:23:26,
	Serialize complete at 03/12/2007 09:23:26
X-Spam-Score: -4.0 (----)
X-Scan-Signature: 72dbfff5c6b8ad2b1b727c13be042129
Cc: ips@ietf.org, Nam_Nguyen@Dell.com
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1738579005=="
Errors-To: ips-bounces@ietf.org

This is a multipart message in MIME format.
--===============1738579005==
Content-Type: multipart/related; boundary="=_related 0028976FC22573A6_="

This is a multipart message in MIME format.
--=_related 0028976FC22573A6_=
Content-Type: multipart/alternative;
	boundary="=_alternative 0028976FC22573A6_="


--=_alternative 0028976FC22573A6_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

It looks to  me that the Reject response with reason 0x06 should be enough =

for the initiator to handle the situation you describe.
If the TM are the cause then each of those has a response indicating=20
termination. After receiving a reject an initiator should reissue new TMs=20
only after getting back one or more responses.  The initiator may even=20
accurately guess the number of commands the targets is capable of handling =

per connection and per LU. The only case in which this handling may be=20
awkward is over a WAN but if you are operating over a WAN and TM=20
performance is your only worry you are in good shape :-)

Julo





[Ips] Immediate Commands in iSCSI

Jacob=5FCherian=20
to:
ips
12/03/07 05:23 AM


Cc:
Nam=5FNguyen








RFC 3720 states:

The number of commands used for immediate delivery is not limited and=20
their delivery for execution is not acknowledged through the numbering=20
scheme. Immediate commands MAY be rejected by the iSCSI target layer due=20
to a lack of resources. An iSCSI target MUST be able to handle at least=20
one immediate task management command and one immediate=20
non-task-management iSCSI command per connection at any time.

=20

With storage systems that have very large number of logical units, we run=20
into an issue when we use LU Reset or Abort Task for reset recovery. I=20
couldn?t find a way to tell an initiator how many immediate commands a=20
target can accept. The issue with this is that if we have to issue=20
multiple task management commands and it is more than what the target can=20
accept, it will reject the task management request. Since we don?t know=20
why it was rejected, we will have to escalate the reset. This can be very=20
disruptive with nodes that have very large number of logical units. There=20
may be two ways to resolve this:

=20

1)      Define a new Text negotiation key for number of outstanding=20
immediate commands supported. Unlike non-immediate (data) commands where=20
we can send TASK SET FULL, there is no way for a target to report in the=20
Task Management Function Response PDU that is unable to process the=20
current request before it is out of resources.  The default vaule for this =

new key can be 1, so if this key is not negotiated initiators can assume=20
one per connection.

2)      Define a new value for the Response field in the Task Management=20
Function Response PDU for reporting that the target cannot process the=20
request currently.

=20

Any suggestions on how to resolve this?

=20

Thanks,

Jacob
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips


--=_alternative 0028976FC22573A6_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable


<br><font size=3D2 face=3D"sans-serif">It looks to &nbsp;me that the Reject
response with reason 0x06 should be enough for the initiator to handle
the situation you describe.</font>
<br><font size=3D2 face=3D"sans-serif">If the TM are the cause then each of
those has a response indicating termination. After receiving a reject an
initiator should reissue new TMs only after getting back one or more respon=
ses.
&nbsp;The initiator may even accurately guess the number of commands the
targets is capable of handling per connection and per LU. The only case
in which this handling may be awkward is over a WAN but if you are operating
over a WAN and TM performance is your only worry you are in good shape
:-)</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Julo</font>
<br>
<br>
<br>
<table width=3D100%>
<tr>
<td><img src=3Dcid:=5F1=5F1EE038681EE0349400289552C22573A6>
<td width=3D100%>
<table width=3D100%>
<tr valign=3Dtop>
<td width=3D100%><font size=3D2 face=3D"sans-serif"><b>[Ips] Immediate Comm=
ands
in iSCSI</b></font></table>
<br>
<table width=3D100%>
<tr>
<td><font size=3D2 color=3D#e26200 face=3D"sans-serif"><b>Jacob=5FCherian <=
/b></font>
<td><font size=3D2 color=3D#8f8f8f face=3D"sans-serif">to:</font>
<td><font size=3D2 face=3D"sans-serif">ips</font>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">12/03/07 05:23 AM</fo=
nt></div></table>
<br>
<table width=3D100%>
<tr>
<td>
<table width=3D100%>
<tr>
<td><font size=3D1 color=3D#8f8f8f face=3D"sans-serif">Cc:</font>
<td width=3D100%><font size=3D1 face=3D"sans-serif">Nam=5FNguyen</font></ta=
ble>
<br>
<td>
<div align=3Dright></div></table>
<br></table>
<br>
<br>
<hr>
<br>
<br>
<br>
<br><tt><font size=3D2>RFC 3720 states:</font></tt>
<br>
<br><tt><font size=3D2>The number of commands used for immediate delivery
is not limited and their delivery for execution is not acknowledged through
the numbering scheme. Immediate commands MAY be rejected by the iSCSI target
layer due to a lack of resources. An iSCSI target MUST be able to handle
at least one immediate task management command and one immediate non-task-m=
anagement
iSCSI command per connection at any time.</font></tt>
<br>
<br><tt><font size=3D2>&nbsp;</font></tt>
<br>
<br><tt><font size=3D2>With storage systems that have very large number of
logical units, we run into an issue when we use LU Reset or Abort Task
for reset recovery. I couldn&#8217;t find a way to tell an initiator how ma=
ny
immediate commands a target can accept. The issue with this is that if
we have to issue multiple task management commands and it is more than
what the target can accept, it will reject the task management request.
Since we don&#8217;t know why it was rejected, we will have to escalate the
reset. This can be very disruptive with nodes that have very large number
of logical units. There may be two ways to resolve this:</font></tt>
<br>
<br><tt><font size=3D2>&nbsp;</font></tt>
<br>
<br><tt><font size=3D2>1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Define a new Text
negotiation key for number of outstanding immediate commands supported.
Unlike non-immediate (data) commands where we can send TASK SET FULL, there
is no way for a target to report in the Task Management Function Response
PDU that is unable to process the current request before it is out of resou=
rces.
&nbsp;The default vaule for this new key can be 1, so if this key is not
negotiated initiators can assume one per connection.</font></tt>
<br>
<br><tt><font size=3D2>2)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Define a new value
for the Response field in the Task Management Function Response PDU for
reporting that the target cannot process the request currently.</font></tt>
<br>
<br><tt><font size=3D2>&nbsp;</font></tt>
<br>
<br><tt><font size=3D2>Any suggestions on how to resolve this?</font></tt>
<br>
<br><tt><font size=3D2>&nbsp;</font></tt>
<br>
<br><tt><font size=3D2>Thanks,</font></tt>
<br>
<br><tt><font size=3D2>Jacob</font></tt>
<br><tt><font size=3D2>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F<br>
Ips mailing list<br>
Ips@ietf.org<br>
</font></tt><a href=3Dhttps://www1.ietf.org/mailman/listinfo/ips><tt><font =
size=3D2>https://www1.ietf.org/mailman/listinfo/ips</font></tt></a>
<br>
<br>
--=_alternative 0028976FC22573A6_=--
--=_related 0028976FC22573A6_=
Content-Type: image/gif
Content-ID: <_1_1EE038681EE0349400289552C22573A6>
Content-Transfer-Encoding: base64

R0lGODlhZAABAOcAAMDAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAAALAAAAABkAAEA
QAgSAAEIHEiwoMGDCBMqXMiwYcKAADs=
--=_related 0028976FC22573A6_=--



--===============1738579005==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips

--===============1738579005==--





From ips-bounces@ietf.org Mon Dec 03 09:05:49 2007
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IzBvT-0003xn-Gi; Mon, 03 Dec 2007 09:05:35 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1IzBvS-0003xR-92
	for ips-confirm+ok@megatron.ietf.org; Mon, 03 Dec 2007 09:05:34 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IzBvR-0003x7-TY
	for ips@ietf.org; Mon, 03 Dec 2007 09:05:33 -0500
Received: from ausc60ps301.us.dell.com ([143.166.148.206])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IzBvP-0006Rq-9l
	for ips@ietf.org; Mon, 03 Dec 2007 09:05:31 -0500
DomainKey-Signature: s=smtpout; d=dell.com; c=nofws; q=dns;
	h=X-IronPort-AV:X-MimeOLE:Content-class:MIME-Version:
	Content-Type:Subject:Date:Message-ID:In-Reply-To:
	X-MS-Has-Attach:X-MS-TNEF-Correlator:Thread-Topic:
	Thread-Index:References:From:To:Cc:Return-Path:
	X-OriginalArrivalTime;
	b=WWKYL3fnp926DcG/TJh2CjvG3iAkBxH6SemxpYoQwck1fPAtSJyUUqma
	LLXjslO3a6hAblsfWy0CT+o+sSHXoCLOk4gfZM/glgtmtLnV2JqIlSPi9
	M15AYHNnrSGQHKk;
X-IronPort-AV: E=Sophos;i="4.23,244,1194242400"; 
	d="gif'147?scan'147,208,217,147";a="433185393"
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: [Ips] Immediate Commands in iSCSI
Date: Mon, 3 Dec 2007 08:05:28 -0600
Message-ID: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9D2E@ausx3mpc102.aus.amer.dell.com>
In-Reply-To: <OF2A29EEC8.F7179BE8-ONC22573A6.00279830-C22573A6.0028981F@il.ibm.com>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: [Ips] Immediate Commands in iSCSI
Thread-Index: Acg1fWkJDi06/gPCSV+IzBXYlbPg+QAN5FtA
References: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9CFF@ausx3mpc102.aus.amer.dell.com>
	<OF2A29EEC8.F7179BE8-ONC22573A6.00279830-C22573A6.0028981F@il.ibm.com>
From: <Jacob_Cherian@Dell.com>
To: <Julian_Satran@il.ibm.com>
X-OriginalArrivalTime: 03 Dec 2007 14:05:30.0418 (UTC)
	FILETIME=[902B7920:01C835B5]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 90fbdaf3c139ce803b358d56775b59ed
Cc: ips@ietf.org, Nam_Nguyen@Dell.com
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1824597339=="
Errors-To: ips-bounces@ietf.org

This is a multi-part message in MIME format.

--===============1824597339==
Content-class: urn:content-classes:message
Content-Type: multipart/related; type="multipart/alternative";
	boundary="----_=_NextPart_001_01C835B5.8FBAB70D"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C835B5.8FBAB70D
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_002_01C835B5.8FBAB70D"


------_=_NextPart_002_01C835B5.8FBAB70D
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

The goal of the new status or key is to help the initiator to know the
correct number of immediate commands that the target supports. The issue
with overloading a status that does clearly define the error condition
is that it does help in achieving interoperability between the myriad of
initiators and targets that are out there. I was looking to see if there
was another way that I had not considered.

=20

Jacob

=20

=20

From: Julian Satran [mailto:Julian_Satran@il.ibm.com]=20
Sent: Monday, December 03, 2007 1:23 AM
To: Cherian, Jacob
Cc: ips@ietf.org; Nguyen, Nam
Subject: Re: [Ips] Immediate Commands in iSCSI

=20


It looks to  me that the Reject response with reason 0x06 should be
enough for the initiator to handle the situation you describe.=20
If the TM are the cause then each of those has a response indicating
termination. After receiving a reject an initiator should reissue new
TMs only after getting back one or more responses.  The initiator may
even accurately guess the number of commands the targets is capable of
handling per connection and per LU. The only case in which this handling
may be awkward is over a WAN but if you are operating over a WAN and TM
performance is your only worry you are in good shape :-)=20

Julo=20



=20

[Ips] Immediate Commands in iSCSI

=20

Jacob_Cherian=20

to:=20

ips=20

12/03/07 05:23 AM

=20

Cc:=20

Nam_Nguyen

=09

=20

________________________________





RFC 3720 states:=20

The number of commands used for immediate delivery is not limited and
their delivery for execution is not acknowledged through the numbering
scheme. Immediate commands MAY be rejected by the iSCSI target layer due
to a lack of resources. An iSCSI target MUST be able to handle at least
one immediate task management command and one immediate
non-task-management iSCSI command per connection at any time.=20

 =20

With storage systems that have very large number of logical units, we
run into an issue when we use LU Reset or Abort Task for reset recovery.
I couldn't find a way to tell an initiator how many immediate commands a
target can accept. The issue with this is that if we have to issue
multiple task management commands and it is more than what the target
can accept, it will reject the task management request. Since we don't
know why it was rejected, we will have to escalate the reset. This can
be very disruptive with nodes that have very large number of logical
units. There may be two ways to resolve this:=20

 =20

1)      Define a new Text negotiation key for number of outstanding
immediate commands supported. Unlike non-immediate (data) commands where
we can send TASK SET FULL, there is no way for a target to report in the
Task Management Function Response PDU that is unable to process the
current request before it is out of resources.  The default vaule for
this new key can be 1, so if this key is not negotiated initiators can
assume one per connection.=20

2)      Define a new value for the Response field in the Task Management
Function Response PDU for reporting that the target cannot process the
request currently.=20

 =20

Any suggestions on how to resolve this?=20

 =20

Thanks,=20

Jacob=20
_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips
<https://www1.ietf.org/mailman/listinfo/ips> =20


------_=_NextPart_002_01C835B5.8FBAB70D
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
tt
	{mso-style-priority:99;
	font-family:"Courier New";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The goal of the new status or key is to help the =
initiator to know
the correct number of immediate commands that the target supports. The =
issue
with overloading a status that does clearly define the error condition =
is that
it does help in achieving interoperability between the myriad of =
initiators and
targets that are out there. I was looking to see if there was another =
way that
I had not considered.<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Jacob<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt =
0in 0in 0in'>

<p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Julian =
Satran
[mailto:Julian_Satran@il.ibm.com] <br>
<b>Sent:</b> Monday, December 03, 2007 1:23 AM<br>
<b>To:</b> Cherian, Jacob<br>
<b>Cc:</b> ips@ietf.org; Nguyen, Nam<br>
<b>Subject:</b> Re: [Ips] Immediate Commands in =
iSCSI<o:p></o:p></span></p>

</div>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><br>
<span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>It =
looks to
&nbsp;me that the Reject response with reason 0x06 should be enough for =
the
initiator to handle the situation you describe.</span> <br>
<span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>If the =
TM are
the cause then each of those has a response indicating termination. =
After
receiving a reject an initiator should reissue new TMs only after =
getting back
one or more responses. &nbsp;The initiator may even accurately guess the =
number
of commands the targets is capable of handling per connection and per =
LU. The
only case in which this handling may be awkward is over a WAN but if you =
are
operating over a WAN and TM performance is your only worry you are in =
good
shape :-)</span> <br>
<br>
<span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>Julo</span> =
<br>
<br>
<o:p></o:p></p>

<table class=3DMsoNormalTable border=3D0 cellpadding=3D0 width=3D"100%"
 style=3D'width:100.0%'>
 <tr>
  <td style=3D'padding:.75pt .75pt .75pt .75pt'>
  <p class=3DMsoNormal><img width=3D100 height=3D1 id=3D"_x0000_i1025"
  src=3D"cid:image001.gif@01C83583.44256B30"><o:p></o:p></p>
  </td>
  <td width=3D"100%" style=3D'width:100.0%;padding:.75pt .75pt .75pt =
.75pt'>
  <table class=3DMsoNormalTable border=3D0 cellpadding=3D0 =
width=3D"100%"
   style=3D'width:100.0%'>
   <tr>
    <td width=3D"100%" valign=3Dtop style=3D'width:100.0%;padding:.75pt =
.75pt .75pt .75pt'>
    <p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>[Ips]
    Immediate Commands in iSCSI</span></b><o:p></o:p></p>
    </td>
   </tr>
  </table>
  <p class=3DMsoNormal><o:p>&nbsp;</o:p></p>
  <table class=3DMsoNormalTable border=3D0 cellpadding=3D0 =
width=3D"100%"
   style=3D'width:100.0%'>
   <tr>
    <td style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
    color:#E26200'>Jacob_Cherian </span></b><o:p></o:p></p>
    </td>
    <td style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
    color:#8F8F8F'>to:</span> <o:p></o:p></p>
    </td>
    <td style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>ips</span>
    <o:p></o:p></p>
    </td>
    <td style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal align=3Dright style=3D'text-align:right'><span
    style=3D'font-size:7.5pt;font-family:"Arial","sans-serif"'>12/03/07 =
05:23 AM</span><o:p></o:p></p>
    </td>
   </tr>
  </table>
  <p class=3DMsoNormal><o:p>&nbsp;</o:p></p>
  <table class=3DMsoNormalTable border=3D0 cellpadding=3D0 =
width=3D"100%"
   style=3D'width:100.0%'>
   <tr>
    <td style=3D'padding:.75pt .75pt .75pt .75pt'>
    <table class=3DMsoNormalTable border=3D0 cellpadding=3D0 =
width=3D"100%"
     style=3D'width:100.0%'>
     <tr>
      <td style=3D'padding:.75pt .75pt .75pt .75pt'>
      <p class=3DMsoNormal><span =
style=3D'font-size:7.5pt;font-family:"Arial","sans-serif";
      color:#8F8F8F'>Cc:</span> <o:p></o:p></p>
      </td>
      <td width=3D"100%" style=3D'width:100.0%;padding:.75pt .75pt .75pt =
.75pt'>
      <p class=3DMsoNormal><span =
style=3D'font-size:7.5pt;font-family:"Arial","sans-serif"'>Nam_Nguyen</sp=
an><o:p></o:p></p>
      </td>
     </tr>
    </table>
    </td>
    <td style=3D'padding:.75pt .75pt .75pt .75pt'></td>
   </tr>
  </table>
  </td>
 </tr>
</table>

<p class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'>

<hr size=3D2 width=3D"100%" align=3Dcenter>

</div>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><br>
<br>
<br>
<br>
<tt><span style=3D'font-size:10.0pt'>RFC 3720 states:</span></tt> <br>
<br>
<tt><span style=3D'font-size:10.0pt'>The number of commands used for =
immediate
delivery is not limited and their delivery for execution is not =
acknowledged
through the numbering scheme. Immediate commands MAY be rejected by the =
iSCSI target
layer due to a lack of resources. An iSCSI target MUST be able to handle =
at
least one immediate task management command and one immediate
non-task-management iSCSI command per connection at any =
time.</span></tt> <br>
<br>
<tt><span style=3D'font-size:10.0pt'>&nbsp;</span></tt> <br>
<br>
<tt><span style=3D'font-size:10.0pt'>With storage systems that have very =
large number
of logical units, we run into an issue when we use LU Reset or Abort =
Task for
reset recovery. I couldn&#8217;t find a way to tell an initiator how =
many immediate
commands a target can accept. The issue with this is that if we have to =
issue
multiple task management commands and it is more than what the target =
can
accept, it will reject the task management request. Since we don&#8217;t =
know why it
was rejected, we will have to escalate the reset. This can be very =
disruptive
with nodes that have very large number of logical units. There may be =
two ways
to resolve this:</span></tt> <br>
<br>
<tt><span style=3D'font-size:10.0pt'>&nbsp;</span></tt> <br>
<br>
<tt><span style=3D'font-size:10.0pt'>1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Define a
new Text negotiation key for number of outstanding immediate commands
supported. Unlike non-immediate (data) commands where we can send TASK =
SET
FULL, there is no way for a target to report in the Task Management =
Function
Response PDU that is unable to process the current request before it is =
out of
resources. &nbsp;The default vaule for this new key can be 1, so if this =
key is
not negotiated initiators can assume one per connection.</span></tt> =
<br>
<br>
<tt><span style=3D'font-size:10.0pt'>2)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Define a
new value for the Response field in the Task Management Function =
Response PDU
for reporting that the target cannot process the request =
currently.</span></tt>
<br>
<br>
<tt><span style=3D'font-size:10.0pt'>&nbsp;</span></tt> <br>
<br>
<tt><span style=3D'font-size:10.0pt'>Any suggestions on how to resolve =
this?</span></tt>
<br>
<br>
<tt><span style=3D'font-size:10.0pt'>&nbsp;</span></tt> <br>
<br>
<tt><span style=3D'font-size:10.0pt'>Thanks,</span></tt> <br>
<br>
<tt><span style=3D'font-size:10.0pt'>Jacob</span></tt> <br>
<tt><span =
style=3D'font-size:10.0pt'>______________________________________________=
_</span></tt><span
style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
<tt>Ips mailing list</tt><br>
<tt>Ips@ietf.org</tt><br>
</span><a href=3D"https://www1.ietf.org/mailman/listinfo/ips"><tt><span
style=3D'font-size:10.0pt'>https://www1.ietf.org/mailman/listinfo/ips</sp=
an></tt></a>
<o:p></o:p></p>

</div>

</body>

</html>

------_=_NextPart_002_01C835B5.8FBAB70D--

------_=_NextPart_001_01C835B5.8FBAB70D
Content-Type: image/gif;
	name="image001.gif"
Content-Transfer-Encoding: base64
Content-ID: <image001.gif@01C83583.44256B30>
Content-Description: image001.gif
Content-Location: image001.gif

R0lGODlhZAABAOcAAMDAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAAALAAAAABkAAEA
QAgSAAEIHEiwoMGDCBMqXMiwYcKAADs=

------_=_NextPart_001_01C835B5.8FBAB70D--



--===============1824597339==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips

--===============1824597339==--





From ips-bounces@ietf.org Mon Dec 03 09:42:49 2007
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IzCVM-0004Q8-2R; Mon, 03 Dec 2007 09:42:40 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1IzCVK-0004LZ-0B
	for ips-confirm+ok@megatron.ietf.org; Mon, 03 Dec 2007 09:42:38 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IzCVJ-0004Jn-Kq
	for ips@ietf.org; Mon, 03 Dec 2007 09:42:37 -0500
Received: from mtagate1.de.ibm.com ([195.212.29.150])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IzCVD-0008LF-9W
	for ips@ietf.org; Mon, 03 Dec 2007 09:42:37 -0500
Received: from d12nrmr1607.megacenter.de.ibm.com
	(d12nrmr1607.megacenter.de.ibm.com [9.149.167.49])
	by mtagate1.de.ibm.com (8.13.8/8.13.8) with ESMTP id lB3EgUdH145614
	for <ips@ietf.org>; Mon, 3 Dec 2007 14:42:30 GMT
Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com
	[9.149.165.228])
	by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.7) with
	ESMTP id lB3EgTpB3010772
	for <ips@ietf.org>; Mon, 3 Dec 2007 15:42:30 +0100
Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1])
	by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP
	id lB3EgTeV004554 for <ips@ietf.org>; Mon, 3 Dec 2007 15:42:29 +0100
Received: from d12mc102.megacenter.de.ibm.com (d12mc102.megacenter.de.ibm.com
	[9.149.167.114])
	by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP
	id lB3EgTQE004551; Mon, 3 Dec 2007 15:42:29 +0100
In-Reply-To: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9D2E@ausx3mpc102.aus.amer.dell.com>
To: <Jacob_Cherian@Dell.com>
MIME-Version: 1.0
Subject: RE: [Ips] Immediate Commands in iSCSI
X-KeepSent: 93E9CD5B:0C677223-C22573A6:004FE0BF;
 type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 7.0.3 September 26, 2007
From: Julian Satran <Julian_Satran@il.ibm.com>
Message-ID: <OF93E9CD5B.0C677223-ONC22573A6.004FE0BF-C22573A6.0050CAE5@il.ibm.com>
Date: Mon, 3 Dec 2007 16:42:29 +0200
X-MIMETrack: Serialize by Router on D12MC102/12/M/IBM(Release 8.0|August 02,
	2007) at 03/12/2007 16:42:29,
	Serialize complete at 03/12/2007 16:42:29
X-Spam-Score: -4.0 (----)
X-Scan-Signature: 958aa603499a3de6b2b87d68741ed60e
Cc: ips@ietf.org, Nam_Nguyen@Dell.com
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0594521496=="
Errors-To: ips-bounces@ietf.org

This is a multipart message in MIME format.
--===============0594521496==
Content-Type: multipart/related; boundary="=_related 0050CA43C22573A6_="

This is a multipart message in MIME format.
--=_related 0050CA43C22573A6_=
Content-Type: multipart/alternative;
	boundary="=_alternative 0050CA43C22573A6_="


--=_alternative 0050CA43C22573A6_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Jacob,

I do not want to appear offensive - but did you consider the "larger=20
picture"? Assuming that the negotiation key or status is there and=20
assuming that the target talks to 7 (seven) different initiators what=20
would it tell each of them (it has 7 different sessions)? Should he=20
reserve a quota for each of them - so that it can meet what it declared?=20
What should a target do with commands that exceed the number?=20

In iSCSI as a rule we avoided setting or negotiating parameters that we=20
don't need to set/negotiate and I think the number of accepted immediate=20
commands is one of them.

Julo





RE: [Ips] Immediate Commands in iSCSI

Jacob=5FCherian=20
to:
Julian Satran
12/03/07 04:06 PM


Cc:
ips, Nam=5FNguyen







The goal of the new status or key is to help the initiator to know the=20
correct number of immediate commands that the target supports. The issue=20
with overloading a status that does clearly define the error condition is=20
that it does help in achieving interoperability between the myriad of=20
initiators and targets that are out there. I was looking to see if there=20
was another way that I had not considered.
=20
Jacob
=20
=20
From: Julian Satran [mailto:Julian=5FSatran@il.ibm.com]=20
Sent: Monday, December 03, 2007 1:23 AM
To: Cherian, Jacob
Cc: ips@ietf.org; Nguyen, Nam
Subject: Re: [Ips] Immediate Commands in iSCSI
=20

It looks to  me that the Reject response with reason 0x06 should be enough =

for the initiator to handle the situation you describe.=20
If the TM are the cause then each of those has a response indicating=20
termination. After receiving a reject an initiator should reissue new TMs=20
only after getting back one or more responses.  The initiator may even=20
accurately guess the number of commands the targets is capable of handling =

per connection and per LU. The only case in which this handling may be=20
awkward is over a WAN but if you are operating over a WAN and TM=20
performance is your only worry you are in good shape :-)=20

Julo=20





[Ips] Immediate Commands in iSCSI
=20


Jacob=5FCherian=20
to:=20
ips=20
12/03/07 05:23 AM
=20



Cc:=20
Nam=5FNguyen



=20





RFC 3720 states:=20

The number of commands used for immediate delivery is not limited and=20
their delivery for execution is not acknowledged through the numbering=20
scheme. Immediate commands MAY be rejected by the iSCSI target layer due=20
to a lack of resources. An iSCSI target MUST be able to handle at least=20
one immediate task management command and one immediate=20
non-task-management iSCSI command per connection at any time.=20

 =20

With storage systems that have very large number of logical units, we run=20
into an issue when we use LU Reset or Abort Task for reset recovery. I=20
couldn?t find a way to tell an initiator how many immediate commands a=20
target can accept. The issue with this is that if we have to issue=20
multiple task management commands and it is more than what the target can=20
accept, it will reject the task management request. Since we don?t know=20
why it was rejected, we will have to escalate the reset. This can be very=20
disruptive with nodes that have very large number of logical units. There=20
may be two ways to resolve this:=20

 =20

1)      Define a new Text negotiation key for number of outstanding=20
immediate commands supported. Unlike non-immediate (data) commands where=20
we can send TASK SET FULL, there is no way for a target to report in the=20
Task Management Function Response PDU that is unable to process the=20
current request before it is out of resources.  The default vaule for this =

new key can be 1, so if this key is not negotiated initiators can assume=20
one per connection.=20

2)      Define a new value for the Response field in the Task Management=20
Function Response PDU for reporting that the target cannot process the=20
request currently.=20

 =20

Any suggestions on how to resolve this?=20

 =20

Thanks,=20

Jacob=20
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips=20

--=_alternative 0050CA43C22573A6_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable


<br><font size=3D2 face=3D"sans-serif">Jacob,</font>
<br>
<br><font size=3D2 face=3D"sans-serif">I do not want to appear offensive -
but did you consider the &quot;larger picture&quot;? Assuming that the
negotiation key or status is there and assuming that the target talks to
7 (seven) different initiators what would it tell each of them (it has
7 different sessions)? Should he reserve a quota for each of them - so
that it can meet what it declared? What should a target do with commands
that exceed the number? </font>
<br>
<br><font size=3D2 face=3D"sans-serif">In iSCSI as a rule we avoided setting
or negotiating parameters that we don't need to set/negotiate and I think
the number of accepted immediate commands is one of them.</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Julo</font>
<br>
<br>
<br>
<table width=3D100%>
<tr>
<td><img src=3Dcid:=5F1=5F2027C71C2027C3480050C7F1C22573A6>
<td width=3D100%>
<table width=3D100%>
<tr valign=3Dtop>
<td width=3D100%><font size=3D2 face=3D"sans-serif"><b>RE: [Ips] Immediate =
Commands
in iSCSI</b></font></table>
<br>
<table width=3D100%>
<tr>
<td><font size=3D2 color=3D#e26200 face=3D"sans-serif"><b>Jacob=5FCherian <=
/b></font>
<td><font size=3D2 color=3D#8f8f8f face=3D"sans-serif">to:</font>
<td><font size=3D2 face=3D"sans-serif">Julian Satran</font>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">12/03/07 04:06 PM</fo=
nt></div></table>
<br>
<table width=3D100%>
<tr>
<td>
<table width=3D100%>
<tr>
<td><font size=3D1 color=3D#8f8f8f face=3D"sans-serif">Cc:</font>
<td width=3D100%><font size=3D1 face=3D"sans-serif">ips, Nam=5FNguyen</font=
></table>
<br>
<td>
<div align=3Dright></div></table>
<br></table>
<br>
<br>
<hr>
<br>
<br>
<br><font size=3D2 color=3D#004080 face=3D"sans-serif">The goal of the new =
status
or key is to help the initiator to know the correct number of immediate
commands that the target supports. The issue with overloading a status
that does clearly define the error condition is that it does help in achiev=
ing
interoperability between the myriad of initiators and targets that are
out there. I was looking to see if there was another way that I had not
considered.</font>
<br><font size=3D2 color=3D#004080 face=3D"sans-serif">&nbsp;</font>
<br><font size=3D2 color=3D#004080 face=3D"sans-serif">Jacob</font>
<br><font size=3D2 color=3D#004080 face=3D"sans-serif">&nbsp;</font>
<br><font size=3D2 color=3D#004080 face=3D"sans-serif">&nbsp;</font>
<br><font size=3D2 face=3D"Tahoma"><b>From:</b> Julian Satran [mailto:Julia=
n=5FSatran@il.ibm.com]
<b><br>
Sent:</b> Monday, December 03, 2007 1:23 AM<b><br>
To:</b> Cherian, Jacob<b><br>
Cc:</b> ips@ietf.org; Nguyen, Nam<b><br>
Subject:</b> Re: [Ips] Immediate Commands in iSCSI</font>
<br><font size=3D3 face=3D"Times New Roman">&nbsp;</font>
<br><font size=3D2 face=3D"Arial"><br>
It looks to &nbsp;me that the Reject response with reason 0x06 should be
enough for the initiator to handle the situation you describe.</font><font =
size=3D3 face=3D"Times New Roman">
</font><font size=3D2 face=3D"Arial"><br>
If the TM are the cause then each of those has a response indicating termin=
ation.
After receiving a reject an initiator should reissue new TMs only after
getting back one or more responses. &nbsp;The initiator may even accurately
guess the number of commands the targets is capable of handling per connect=
ion
and per LU. The only case in which this handling may be awkward is over
a WAN but if you are operating over a WAN and TM performance is your only
worry you are in good shape :-)</font><font size=3D3 face=3D"Times New Roma=
n">
<br>
</font><font size=3D2 face=3D"Arial"><br>
Julo</font><font size=3D3 face=3D"Times New Roman"> <br>
</font>
<p>
<table width=3D100%>
<tr>
<td width=3D28%><img src=3Dcid:=5F1=5F2028DD082028D9640050C7F1C22573A6>
<td width=3D71%>
<br>
<table width=3D100%>
<tr valign=3Dtop>
<td width=3D100%><font size=3D2 face=3D"Arial"><b>[Ips] Immediate Commands =
in
iSCSI</b></font></table>
<br><font size=3D3 face=3D"Times New Roman">&nbsp;</font>
<p>
<br>
<table width=3D100%>
<tr>
<td width=3D42%><font size=3D2 color=3D#e26200 face=3D"Arial"><b>Jacob=5FCh=
erian
</b></font>
<td width=3D7%><font size=3D2 color=3D#8f8f8f face=3D"Arial">to:</font><fon=
t size=3D3 face=3D"Times New Roman">
</font>
<td width=3D8%><font size=3D2 face=3D"Arial">ips</font><font size=3D3 face=
=3D"Times New Roman">
</font>
<td width=3D40%>
<div align=3Dright><font size=3D1 face=3D"Arial">12/03/07 05:23 AM</font></=
div></table>
<br><font size=3D3 face=3D"Times New Roman">&nbsp;</font>
<p>
<br>
<table width=3D100%>
<tr>
<td width=3D97%>
<table width=3D100%>
<tr>
<td width=3D22%><font size=3D1 color=3D#8f8f8f face=3D"Arial">Cc:</font><fo=
nt size=3D3 face=3D"Times New Roman">
</font>
<td width=3D77%><font size=3D1 face=3D"Arial">Nam=5FNguyen</font></table>
<br>
<td width=3D2%></table>
<br></table>
<br><font size=3D3 face=3D"Times New Roman">&nbsp;</font>
<div align=3Dcenter>
<br>
<hr></div>
<br><font size=3D3 face=3D"Times New Roman"><br>
<br>
<br>
</font><font size=3D2 face=3D"Courier New"><br>
RFC 3720 states:</font><font size=3D3 face=3D"Times New Roman"> <br>
</font><font size=3D2 face=3D"Courier New"><br>
The number of commands used for immediate delivery is not limited and their
delivery for execution is not acknowledged through the numbering scheme.
Immediate commands MAY be rejected by the iSCSI target layer due to a lack
of resources. An iSCSI target MUST be able to handle at least one immediate
task management command and one immediate non-task-management iSCSI command
per connection at any time.</font><font size=3D3 face=3D"Times New Roman">
<br>
</font><font size=3D2 face=3D"Courier New"><br>
 </font><font size=3D3 face=3D"Times New Roman">&nbsp;<br>
</font><font size=3D2 face=3D"Courier New"><br>
With storage systems that have very large number of logical units, we run
into an issue when we use LU Reset or Abort Task for reset recovery. I
couldn&#8217;t find a way to tell an initiator how many immediate commands a
target can accept. The issue with this is that if we have to issue multiple
task management commands and it is more than what the target can accept,
it will reject the task management request. Since we don&#8217;t know why it
was rejected, we will have to escalate the reset. This can be very disrupti=
ve
with nodes that have very large number of logical units. There may be two
ways to resolve this:</font><font size=3D3 face=3D"Times New Roman"> <br>
</font><font size=3D2 face=3D"Courier New"><br>
 </font><font size=3D3 face=3D"Times New Roman">&nbsp;<br>
</font><font size=3D2 face=3D"Courier New"><br>
1) &nbsp; &nbsp; &nbsp;Define a new Text negotiation key for number of
outstanding immediate commands supported. Unlike non-immediate (data) comma=
nds
where we can send TASK SET FULL, there is no way for a target to report
in the Task Management Function Response PDU that is unable to process
the current request before it is out of resources. &nbsp;The default vaule
for this new key can be 1, so if this key is not negotiated initiators
can assume one per connection.</font><font size=3D3 face=3D"Times New Roman=
">
<br>
</font><font size=3D2 face=3D"Courier New"><br>
2) &nbsp; &nbsp; &nbsp;Define a new value for the Response field in the
Task Management Function Response PDU for reporting that the target cannot
process the request currently.</font><font size=3D3 face=3D"Times New Roman=
">
<br>
</font><font size=3D2 face=3D"Courier New"><br>
 </font><font size=3D3 face=3D"Times New Roman">&nbsp;<br>
</font><font size=3D2 face=3D"Courier New"><br>
Any suggestions on how to resolve this?</font><font size=3D3 face=3D"Times =
New Roman">
<br>
</font><font size=3D2 face=3D"Courier New"><br>
 </font><font size=3D3 face=3D"Times New Roman">&nbsp;<br>
</font><font size=3D2 face=3D"Courier New"><br>
Thanks,</font><font size=3D3 face=3D"Times New Roman"> <br>
</font><font size=3D2 face=3D"Courier New"><br>
Jacob</font><font size=3D3 face=3D"Times New Roman"> </font><font size=3D2 =
face=3D"Courier New"><br>
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<br>
Ips mailing list<br>
Ips@ietf.org</font><font size=3D3 color=3Dblue face=3D"Times New Roman"><u>=
<br>
</u></font><a href=3Dhttps://www1.ietf.org/mailman/listinfo/ips><font size=
=3D2 color=3Dblue face=3D"Courier New"><u>https://www1.ietf.org/mailman/lis=
tinfo/ips</u></font></a><font size=3D3 face=3D"Times New Roman">
</font>
<br>
--=_alternative 0050CA43C22573A6_=--
--=_related 0050CA43C22573A6_=
Content-Type: image/gif
Content-ID: <_1_2027C71C2027C3480050C7F1C22573A6>
Content-Transfer-Encoding: base64

R0lGODlhZAABAOcAAMDAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAAALAAAAABkAAEA
QAgSAAEIHEiwoMGDCBMqXMiwYcKAADs=
--=_related 0050CA43C22573A6_=
Content-Type: image/gif
Content-ID: <_1_2028DD082028D9640050C7F1C22573A6>
Content-Transfer-Encoding: base64

R0lGODlhZAABAOcAAMDAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAAALAAAAABkAAEA
QAgSAAEIHEiwoMGDCBMqXMiwYcKAADs=
--=_related 0050CA43C22573A6_=--



--===============0594521496==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips

--===============0594521496==--





From ips-bounces@ietf.org Mon Dec 03 15:15:32 2007
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IzHhP-0003Bs-Sq; Mon, 03 Dec 2007 15:15:27 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1IzHhN-00038Q-Tz
	for ips-confirm+ok@megatron.ietf.org; Mon, 03 Dec 2007 15:15:25 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IzHhN-0002zD-Ae
	for ips@ietf.org; Mon, 03 Dec 2007 15:15:25 -0500
Received: from ausc60pc101.us.dell.com ([143.166.85.206])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IzHhK-0004ZH-9W
	for ips@ietf.org; Mon, 03 Dec 2007 15:15:22 -0500
DomainKey-Signature: s=smtpout; d=dell.com; c=nofws; q=dns;
	h=X-IronPort-AV:X-MimeOLE:Content-class:MIME-Version:
	Content-Type:Subject:Date:Message-ID:In-Reply-To:
	X-MS-Has-Attach:X-MS-TNEF-Correlator:Thread-Topic:
	Thread-Index:References:From:To:Cc:Return-Path:
	X-OriginalArrivalTime;
	b=qF0zSoIzu0YNW8ezwq/qTy6Lzpt9k0dpbapfPkGb4LAMYDHG2xcTUqBR
	6XEpI8PsLo+6R7pTTFAK392B+aHwf9DjcihB4fGZLRhDvwgyu7avG2lvi
	qFx5Ik/Ghtw6Pw6;
X-IronPort-AV: E=Sophos;i="4.23,244,1194242400"; 
	d="gif'147?scan'147,208,217,147";a="456232986"
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: [Ips] Immediate Commands in iSCSI
Date: Mon, 3 Dec 2007 14:15:19 -0600
Message-ID: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9F00@ausx3mpc102.aus.amer.dell.com>
In-Reply-To: <OF93E9CD5B.0C677223-ONC22573A6.004FE0BF-C22573A6.0050CAE5@il.ibm.com>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: [Ips] Immediate Commands in iSCSI
Thread-Index: Acg1usC8FBkl9pixR+yYp4g1A9OrcAACBnIA
References: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9D2E@ausx3mpc102.aus.amer.dell.com>
	<OF93E9CD5B.0C677223-ONC22573A6.004FE0BF-C22573A6.0050CAE5@il.ibm.com>
From: <Jacob_Cherian@Dell.com>
To: <Julian_Satran@il.ibm.com>
X-OriginalArrivalTime: 03 Dec 2007 20:15:21.0393 (UTC)
	FILETIME=[3B058A10:01C835E9]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7b1e34d2462e88c1c4311f8189331c59
Cc: ips@ietf.org, Nam_Nguyen@Dell.com
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1942487721=="
Errors-To: ips-bounces@ietf.org

This is a multi-part message in MIME format.

--===============1942487721==
Content-class: urn:content-classes:message
Content-Type: multipart/related; type="multipart/alternative";
	boundary="----_=_NextPart_001_01C835E9.3A9E9DB5"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C835E9.3A9E9DB5
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_002_01C835E9.3A9E9DB5"


------_=_NextPart_002_01C835E9.3A9E9DB5
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Julian,

    No offense taken. The scenario that you brought up was considered
since most configurations with iSCSI are with multiple hosts. However,
the allocation of immediate commands to connection/sessions/hosts
depends on the actual implementation. RFC 3720 already requires support
for at least one per connection. Even we cannot agree on a key, having a
more granular status for a rejected TMF that says the target is
currently busy processing a TMF and cannot process another at this time
(but will be able to sometime in the future), helps initiators to wait
and retry, instead of assuming a failure and escalating the reset.=20

=20

 Jacob

=20

From: Julian Satran [mailto:Julian_Satran@il.ibm.com]=20
Sent: Monday, December 03, 2007 8:42 AM
To: Cherian, Jacob
Cc: ips@ietf.org; Nguyen, Nam
Subject: RE: [Ips] Immediate Commands in iSCSI

=20


Jacob,=20

I do not want to appear offensive - but did you consider the "larger
picture"? Assuming that the negotiation key or status is there and
assuming that the target talks to 7 (seven) different initiators what
would it tell each of them (it has 7 different sessions)? Should he
reserve a quota for each of them - so that it can meet what it declared?
What should a target do with commands that exceed the number?=20

In iSCSI as a rule we avoided setting or negotiating parameters that we
don't need to set/negotiate and I think the number of accepted immediate
commands is one of them.=20

Julo=20



=20

RE: [Ips] Immediate Commands in iSCSI

=20

Jacob_Cherian=20

to:=20

Julian Satran=20

12/03/07 04:06 PM

=20

Cc:=20

ips, Nam_Nguyen

=09

=20

________________________________




The goal of the new status or key is to help the initiator to know the
correct number of immediate commands that the target supports. The issue
with overloading a status that does clearly define the error condition
is that it does help in achieving interoperability between the myriad of
initiators and targets that are out there. I was looking to see if there
was another way that I had not considered.=20
 =20
Jacob=20
 =20
 =20
From: Julian Satran [mailto:Julian_Satran@il.ibm.com]=20
Sent: Monday, December 03, 2007 1:23 AM
To: Cherian, Jacob
Cc: ips@ietf.org; Nguyen, Nam
Subject: Re: [Ips] Immediate Commands in iSCSI=20
 =20

It looks to  me that the Reject response with reason 0x06 should be
enough for the initiator to handle the situation you describe.=20
If the TM are the cause then each of those has a response indicating
termination. After receiving a reject an initiator should reissue new
TMs only after getting back one or more responses.  The initiator may
even accurately guess the number of commands the targets is capable of
handling per connection and per LU. The only case in which this handling
may be awkward is over a WAN but if you are operating over a WAN and TM
performance is your only worry you are in good shape :-)=20

Julo=20



=20

[Ips] Immediate Commands in iSCSI


 =20

=20

Jacob_Cherian=20

to:=20

ips=20

12/03/07 05:23 AM


 =20

=20

Cc:=20

Nam_Nguyen

=09


 =20

=20

________________________________






RFC 3720 states:=20

The number of commands used for immediate delivery is not limited and
their delivery for execution is not acknowledged through the numbering
scheme. Immediate commands MAY be rejected by the iSCSI target layer due
to a lack of resources. An iSCSI target MUST be able to handle at least
one immediate task management command and one immediate
non-task-management iSCSI command per connection at any time.=20

=20

With storage systems that have very large number of logical units, we
run into an issue when we use LU Reset or Abort Task for reset recovery.
I couldn't find a way to tell an initiator how many immediate commands a
target can accept. The issue with this is that if we have to issue
multiple task management commands and it is more than what the target
can accept, it will reject the task management request. Since we don't
know why it was rejected, we will have to escalate the reset. This can
be very disruptive with nodes that have very large number of logical
units. There may be two ways to resolve this:=20

=20

1)      Define a new Text negotiation key for number of outstanding
immediate commands supported. Unlike non-immediate (data) commands where
we can send TASK SET FULL, there is no way for a target to report in the
Task Management Function Response PDU that is unable to process the
current request before it is out of resources.  The default vaule for
this new key can be 1, so if this key is not negotiated initiators can
assume one per connection.=20

2)      Define a new value for the Response field in the Task Management
Function Response PDU for reporting that the target cannot process the
request currently.=20

=20

Any suggestions on how to resolve this?=20

=20

Thanks,=20

Jacob=20
_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips
<https://www1.ietf.org/mailman/listinfo/ips> =20


------_=_NextPart_002_01C835E9.3A9E9DB5
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"Microsoft Yi Baiti";
	panose-1:3 0 5 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Julian,<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp; &nbsp;No offense taken. The scenario that =
you
brought up was considered since most configurations with iSCSI are with
multiple hosts. However, the allocation of immediate commands to =
connection/sessions/hosts
depends on the actual implementation. RFC 3720 already requires support =
for at
least one per connection. Even we cannot agree on a key, having a more =
granular
status for a rejected TMF that says the target is currently busy =
processing a
TMF and cannot process another at this time (but will be able to =
sometime in
the future), helps initiators to wait and retry, instead of assuming a =
failure
and escalating the reset. <o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;Jacob</span><i><span =
style=3D'font-size:8.0pt;font-family:
"Tahoma","sans-serif";color:#1F497D'><o:p></o:p></span></i></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt =
0in 0in 0in'>

<p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Julian =
Satran
[mailto:Julian_Satran@il.ibm.com] <br>
<b>Sent:</b> Monday, December 03, 2007 8:42 AM<br>
<b>To:</b> Cherian, Jacob<br>
<b>Cc:</b> ips@ietf.org; Nguyen, Nam<br>
<b>Subject:</b> RE: [Ips] Immediate Commands in =
iSCSI<o:p></o:p></span></p>

</div>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><br>
<span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>Jacob,</span>=
 <br>
<br>
<span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>I do =
not want
to appear offensive - but did you consider the &quot;larger =
picture&quot;?
Assuming that the negotiation key or status is there and assuming that =
the
target talks to 7 (seven) different initiators what would it tell each =
of them
(it has 7 different sessions)? Should he reserve a quota for each of =
them - so
that it can meet what it declared? What should a target do with commands =
that
exceed the number? </span><br>
<br>
<span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>In =
iSCSI as a rule
we avoided setting or negotiating parameters that we don't need to
set/negotiate and I think the number of accepted immediate commands is =
one of
them.</span> <br>
<br>
<span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>Julo</span> =
<br>
<br>
<o:p></o:p></p>

<table class=3DMsoNormalTable border=3D0 cellpadding=3D0 width=3D"100%"
 style=3D'width:100.0%'>
 <tr>
  <td style=3D'padding:.75pt .75pt .75pt .75pt'>
  <p class=3DMsoNormal><img width=3D100 height=3D1 id=3D"_x0000_i1025"
  src=3D"cid:image001.gif@01C83590.FD173B20"><o:p></o:p></p>
  </td>
  <td width=3D"100%" style=3D'width:100.0%;padding:.75pt .75pt .75pt =
.75pt'>
  <table class=3DMsoNormalTable border=3D0 cellpadding=3D0 =
width=3D"100%"
   style=3D'width:100.0%'>
   <tr>
    <td width=3D"100%" valign=3Dtop style=3D'width:100.0%;padding:.75pt =
.75pt .75pt .75pt'>
    <p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>RE:
    [Ips] Immediate Commands in iSCSI</span></b><o:p></o:p></p>
    </td>
   </tr>
  </table>
  <p class=3DMsoNormal><o:p>&nbsp;</o:p></p>
  <table class=3DMsoNormalTable border=3D0 cellpadding=3D0 =
width=3D"100%"
   style=3D'width:100.0%'>
   <tr>
    <td style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
    color:#E26200'>Jacob_Cherian </span></b><o:p></o:p></p>
    </td>
    <td style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
    color:#8F8F8F'>to:</span> <o:p></o:p></p>
    </td>
    <td style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>Julian
    Satran</span> <o:p></o:p></p>
    </td>
    <td style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal align=3Dright style=3D'text-align:right'><span
    style=3D'font-size:7.5pt;font-family:"Arial","sans-serif"'>12/03/07 =
04:06 PM</span><o:p></o:p></p>
    </td>
   </tr>
  </table>
  <p class=3DMsoNormal><o:p>&nbsp;</o:p></p>
  <table class=3DMsoNormalTable border=3D0 cellpadding=3D0 =
width=3D"100%"
   style=3D'width:100.0%'>
   <tr>
    <td style=3D'padding:.75pt .75pt .75pt .75pt'>
    <table class=3DMsoNormalTable border=3D0 cellpadding=3D0 =
width=3D"100%"
     style=3D'width:100.0%'>
     <tr>
      <td style=3D'padding:.75pt .75pt .75pt .75pt'>
      <p class=3DMsoNormal><span =
style=3D'font-size:7.5pt;font-family:"Arial","sans-serif";
      color:#8F8F8F'>Cc:</span> <o:p></o:p></p>
      </td>
      <td width=3D"100%" style=3D'width:100.0%;padding:.75pt .75pt .75pt =
.75pt'>
      <p class=3DMsoNormal><span =
style=3D'font-size:7.5pt;font-family:"Arial","sans-serif"'>ips,
      Nam_Nguyen</span><o:p></o:p></p>
      </td>
     </tr>
    </table>
    </td>
    <td style=3D'padding:.75pt .75pt .75pt .75pt'></td>
   </tr>
  </table>
  </td>
 </tr>
</table>

<p class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'>

<hr size=3D2 width=3D"100%" align=3Dcenter>

</div>

<p class=3DMsoNormal><br>
<br>
<br>
<span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#004080'=
>The
goal of the new status or key is to help the initiator to know the =
correct
number of immediate commands that the target supports. The issue with
overloading a status that does clearly define the error condition is =
that it
does help in achieving interoperability between the myriad of initiators =
and
targets that are out there. I was looking to see if there was another =
way that
I had not considered.</span> <br>
<span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#004080'=
>&nbsp;</span>
<br>
<span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#004080'=
>Jacob</span>
<br>
<span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#004080'=
>&nbsp;</span>
<br>
<span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#004080'=
>&nbsp;</span>
<br>
<b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Julian =
Satran
[mailto:Julian_Satran@il.ibm.com] <b><br>
Sent:</b> Monday, December 03, 2007 1:23 AM<b><br>
To:</b> Cherian, Jacob<b><br>
Cc:</b> ips@ietf.org; Nguyen, Nam<b><br>
Subject:</b> Re: [Ips] Immediate Commands in iSCSI</span> <br>
&nbsp; <br>
<span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
It looks to &nbsp;me that the Reject response with reason 0x06 should be =
enough
for the initiator to handle the situation you describe.</span> <span
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
If the TM are the cause then each of those has a response indicating
termination. After receiving a reject an initiator should reissue new =
TMs only
after getting back one or more responses. &nbsp;The initiator may even
accurately guess the number of commands the targets is capable of =
handling per
connection and per LU. The only case in which this handling may be =
awkward is
over a WAN but if you are operating over a WAN and TM performance is =
your only
worry you are in good shape :-)</span> <br>
<span style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
Julo</span> <o:p></o:p></p>

<table class=3DMsoNormalTable border=3D0 cellpadding=3D0 width=3D"100%"
 style=3D'width:100.0%'>
 <tr>
  <td width=3D"28%" style=3D'width:28.0%;padding:.75pt .75pt .75pt =
.75pt'>
  <p class=3DMsoNormal><img width=3D100 height=3D1 id=3D"_x0000_i1027"
  src=3D"cid:image001.gif@01C83590.FD173B20"><o:p></o:p></p>
  </td>
  <td width=3D"71%" style=3D'width:71.0%;padding:.75pt .75pt .75pt =
.75pt'>
  <p class=3DMsoNormal><o:p>&nbsp;</o:p></p>
  <table class=3DMsoNormalTable border=3D0 cellpadding=3D0 =
width=3D"100%"
   style=3D'width:100.0%'>
   <tr>
    <td width=3D"100%" valign=3Dtop style=3D'width:100.0%;padding:.75pt =
.75pt .75pt .75pt'>
    <p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>[Ips]
    Immediate Commands in iSCSI</span></b><o:p></o:p></p>
    </td>
   </tr>
  </table>
  <p class=3DMsoNormal><br>
  &nbsp; <o:p></o:p></p>
  <p><o:p>&nbsp;</o:p></p>
  <table class=3DMsoNormalTable border=3D0 cellpadding=3D0 =
width=3D"100%"
   style=3D'width:100.0%'>
   <tr>
    <td width=3D"42%" style=3D'width:42.0%;padding:.75pt .75pt .75pt =
.75pt'>
    <p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
    color:#E26200'>Jacob_Cherian </span></b><o:p></o:p></p>
    </td>
    <td width=3D"7%" style=3D'width:7.0%;padding:.75pt .75pt .75pt =
.75pt'>
    <p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
    color:#8F8F8F'>to:</span> <o:p></o:p></p>
    </td>
    <td width=3D"8%" style=3D'width:8.0%;padding:.75pt .75pt .75pt =
.75pt'>
    <p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>ips</span>
    <o:p></o:p></p>
    </td>
    <td width=3D"40%" style=3D'width:40.0%;padding:.75pt .75pt .75pt =
.75pt'>
    <p class=3DMsoNormal align=3Dright style=3D'text-align:right'><span
    style=3D'font-size:7.5pt;font-family:"Arial","sans-serif"'>12/03/07 =
05:23 AM</span><o:p></o:p></p>
    </td>
   </tr>
  </table>
  <p><br>
  &nbsp; <o:p></o:p></p>
  <p><o:p>&nbsp;</o:p></p>
  <table class=3DMsoNormalTable border=3D0 cellpadding=3D0 =
width=3D"100%"
   style=3D'width:100.0%'>
   <tr>
    <td width=3D"97%" style=3D'width:97.0%;padding:.75pt .75pt .75pt =
.75pt'>
    <table class=3DMsoNormalTable border=3D0 cellpadding=3D0 =
width=3D"100%"
     style=3D'width:100.0%'>
     <tr>
      <td width=3D"22%" style=3D'width:22.0%;padding:.75pt .75pt .75pt =
.75pt'>
      <p class=3DMsoNormal><span =
style=3D'font-size:7.5pt;font-family:"Arial","sans-serif";
      color:#8F8F8F'>Cc:</span> <o:p></o:p></p>
      </td>
      <td width=3D"77%" style=3D'width:77.0%;padding:.75pt .75pt .75pt =
.75pt'>
      <p class=3DMsoNormal><span =
style=3D'font-size:7.5pt;font-family:"Arial","sans-serif"'>Nam_Nguyen</sp=
an><o:p></o:p></p>
      </td>
     </tr>
    </table>
    </td>
    <td width=3D"2%" style=3D'width:2.0%;padding:.75pt .75pt .75pt =
.75pt'></td>
   </tr>
  </table>
  </td>
 </tr>
</table>

<p><br>
&nbsp; <o:p></o:p></p>

<p class=3DMsoNormal align=3Dcenter =
style=3D'text-align:center'><o:p>&nbsp;</o:p></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'>

<hr size=3D2 width=3D"100%" align=3Dcenter>

</div>

<p class=3DMsoNormal><br>
<br>
<br>
<br>
<span style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
RFC 3720 states:</span> <br>
<span style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
The number of commands used for immediate delivery is not limited and =
their
delivery for execution is not acknowledged through the numbering scheme.
Immediate commands MAY be rejected by the iSCSI target layer due to a =
lack of
resources. An iSCSI target MUST be able to handle at least one immediate =
task
management command and one immediate non-task-management iSCSI command =
per
connection at any time.</span> <br>
<span style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
</span>&nbsp;<br>
<span style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
With storage systems that have very large number of logical units, we =
run into
an issue when we use LU Reset or Abort Task for reset recovery. I
couldn&#8217;t find a way to tell an initiator how many immediate =
commands a
target can accept. The issue with this is that if we have to issue =
multiple
task management commands and it is more than what the target can accept, =
it
will reject the task management request. Since we don&#8217;t know why =
it was
rejected, we will have to escalate the reset. This can be very =
disruptive with
nodes that have very large number of logical units. There may be two =
ways to
resolve this:</span> <br>
<span style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
</span>&nbsp;<br>
<span style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
1) &nbsp; &nbsp; &nbsp;Define a new Text negotiation key for number of
outstanding immediate commands supported. Unlike non-immediate (data) =
commands
where we can send TASK SET FULL, there is no way for a target to report =
in the
Task Management Function Response PDU that is unable to process the =
current
request before it is out of resources. &nbsp;The default vaule for this =
new key
can be 1, so if this key is not negotiated initiators can assume one per
connection.</span> <br>
<span style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
2) &nbsp; &nbsp; &nbsp;Define a new value for the Response field in the =
Task
Management Function Response PDU for reporting that the target cannot =
process
the request currently.</span> <br>
<span style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
</span>&nbsp;<br>
<span style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
Any suggestions on how to resolve this?</span> <br>
<span style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
</span>&nbsp;<br>
<span style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
Thanks,</span> <br>
<span style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
Jacob</span> <span style=3D'font-size:10.0pt;font-family:"Courier =
New"'><br>
_______________________________________________<br>
Ips mailing list<br>
Ips@ietf.org</span><u><span style=3D'color:blue'><br>
</span></u><a href=3D"https://www1.ietf.org/mailman/listinfo/ips"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>https://www1.ietf.org/mailman/listinfo/ips</span></a>
<o:p></o:p></p>

</div>

</body>

</html>

------_=_NextPart_002_01C835E9.3A9E9DB5--

------_=_NextPart_001_01C835E9.3A9E9DB5
Content-Type: image/gif;
	name="image001.gif"
Content-Transfer-Encoding: base64
Content-ID: <image001.gif@01C83590.FD173B20>
Content-Description: image001.gif
Content-Location: image001.gif

R0lGODlhZAABAOcAAMDAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAAALAAAAABkAAEA
QAgSAAEIHEiwoMGDCBMqXMiwYcKAADs=

------_=_NextPart_001_01C835E9.3A9E9DB5--



--===============1942487721==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips

--===============1942487721==--





From ips-bounces@ietf.org Tue Dec 04 08:47:45 2007
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IzY7i-0007Ms-QN; Tue, 04 Dec 2007 08:47:42 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1IzRIX-0002FN-S5
	for ips-confirm+ok@megatron.ietf.org; Tue, 04 Dec 2007 01:30:25 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1IzRIX-0002F8-GW for ips@ietf.org; Tue, 04 Dec 2007 01:30:25 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IzRHn-0007ih-31
	for ips@ietf.org; Tue, 04 Dec 2007 01:29:39 -0500
Received: from smtp-outbound-1.vmware.com ([65.113.40.141])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IzRHk-00034L-NL
	for ips@ietf.org; Tue, 04 Dec 2007 01:29:36 -0500
Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.64.160])
	by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 11F3161A3
	for <ips@ietf.org>; Mon,  3 Dec 2007 22:29:36 -0800 (PST)
Received: from PA-EXCH03.vmware.com (pa-exch-node03.vmware.com [10.16.64.142])
	by mailhost2.vmware.com (Postfix) with ESMTP id 14DD33C694
	for <ips@ietf.org>; Mon,  3 Dec 2007 22:29:36 -0800 (PST)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 3 Dec 2007 22:29:31 -0800
Message-ID: <882A4B7A51024043B9E5EA13382DF21102FD4F73@PA-EXCH03.vmware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Pending R2T's at the initiator and initiator issuing "abort task"
Thread-Index: Acg2PwdN6097jtEiShaiAssPQMIgog==
From: "Prasanna Aithal" <paithal@vmware.com>
To: <ips@ietf.org>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d6b246023072368de71562c0ab503126
X-TMDA-Confirmed: Tue, 04 Dec 2007 01:30:25 -0500
X-Mailman-Approved-At: Tue, 04 Dec 2007 08:47:40 -0500
Subject: [Ips] Pending R2T's at the initiator and initiator issuing "abort
	task"
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=subscribe>
Errors-To: ips-bounces@ietf.org

RFC 3720, Section 10.5.1 says:
=20
"For ABORT TASK SET and CLEAR TASK SET, the issuing initiator MUST
continue to respond to all valid target transfer tags (received via
R2T, Text Response, NOP-In, or SCSI Data-In PDUs) related to the
affected task set, even after issuing the task management request.
The issuing initiator SHOULD however terminate (i.e., by setting the
F-bit to 1) these response sequences as quickly as possible. The
target on its part MUST wait for responses on all affected target
transfer tags before acting on either of these two task management
requests. In case all or part of the response sequence is not
received (due to digest errors) for a valid TTT, the target MAY treat
it as a case of within-command error recovery class (see Section
6.1.4.1 Recovery Within-command) if it is supporting
ErrorRecoveryLevel >=3D 1, or alternatively may drop the connection to
complete the requested task set function."

What is expected of the initiators in case of "abort task"?. Does the
responding to "all valid target tags" apply to "abort task" also?.



_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips



From ips-bounces@ietf.org Tue Dec 04 10:05:53 2007
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IzZLM-0003s8-8L; Tue, 04 Dec 2007 10:05:52 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1IzZLK-0003ry-ON
	for ips-confirm+ok@megatron.ietf.org; Tue, 04 Dec 2007 10:05:50 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IzZLK-0003rn-Em
	for ips@ietf.org; Tue, 04 Dec 2007 10:05:50 -0500
Received: from mexforward.lss.emc.com ([128.222.32.20])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IzZLK-00057x-1F
	for ips@ietf.org; Tue, 04 Dec 2007 10:05:50 -0500
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com
	[10.254.111.54])
	by mexforward.lss.emc.com (Switch-3.2.5/Switch-3.1.7) with ESMTP id
	lB4F5lwI006332
	for <ips@ietf.org>; Tue, 4 Dec 2007 10:05:49 -0500 (EST)
Received: from mailhub.lss.emc.com (nirah.lss.emc.com [10.254.144.13]) by
	hop04-l1d11-si01.isus.emc.com (Tablus Interceptor) for
	<ips@ietf.org>; Tue, 4 Dec 2007 10:05:47 -0500
Received: from corpussmtp2.corp.emc.com (corpussmtp2.corp.emc.com
	[128.221.14.146])
	by mailhub.lss.emc.com (Switch-3.2.5/Switch-3.1.7) with ESMTP id
	lB4F4kCt022136
	for <ips@ietf.org>; Tue, 4 Dec 2007 10:05:45 -0500 (EST)
From: Black_David@emc.com
Received: from CORPUSMX20A.corp.emc.com ([128.221.62.13]) by
	corpussmtp2.corp.emc.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Tue, 4 Dec 2007 10:04:58 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Ips] Pending R2T's at the initiator and initiator issuing
	"aborttask"
Date: Tue, 4 Dec 2007 10:04:56 -0500
Message-ID: <FF29F13E2D78C047B4B79F4E062D0363C2DD56@CORPUSMX20A.corp.emc.com>
In-Reply-To: <882A4B7A51024043B9E5EA13382DF21102FD4F73@PA-EXCH03.vmware.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Ips] Pending R2T's at the initiator and initiator issuing
	"aborttask"
thread-index: Acg2PwdN6097jtEiShaiAssPQMIgogAQh35Q
References: <882A4B7A51024043B9E5EA13382DF21102FD4F73@PA-EXCH03.vmware.com>
To: <paithal@vmware.com>, <ips@ietf.org>
X-OriginalArrivalTime: 04 Dec 2007 15:04:58.0641 (UTC)
	FILETIME=[0968D810:01C83687]
X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.5.1.298604,
	Antispam-Data: 2007.8.30.51425
X-PerlMx-Spam: Gauge=, SPAM=0%, Reason='EMC_BODY_1+ -3, EMC_FROM_0+ -3,
	NO_REAL_NAME 0, __C230066_P5 0, __CT 0, __CTE 0,
	__CT_TEXT_PLAIN 0, __HAS_MSGID 0, __IMS_MSGID 0,
	__MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
X-Tablus-Inspected: yes
X-Tablus-Classifications: public
X-Tablus-Action: allow
X-Spam-Score: -4.0 (----)
X-Scan-Signature: c1c65599517f9ac32519d043c37c5336
Cc: 
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=subscribe>
Errors-To: ips-bounces@ietf.org

Prasanna,

> RFC 3720, Section 10.5.1 says:
> =20
> "For ABORT TASK SET and CLEAR TASK SET, the issuing initiator MUST
> continue to respond to all valid target transfer tags (received via
> R2T, Text Response, NOP-In, or SCSI Data-In PDUs) related to the
> affected task set, even after issuing the task management request.
> The issuing initiator SHOULD however terminate (i.e., by setting the
> F-bit to 1) these response sequences as quickly as possible. The
> target on its part MUST wait for responses on all affected target
> transfer tags before acting on either of these two task management
> requests. In case all or part of the response sequence is not
> received (due to digest errors) for a valid TTT, the target MAY treat
> it as a case of within-command error recovery class (see Section
> 6.1.4.1 Recovery Within-command) if it is supporting
> ErrorRecoveryLevel >=3D 1, or alternatively may drop the connection to
> complete the requested task set function."

Please be aware that the above text was modified by Section 4 of
RFC 5048, although those modifications do not affect what is being
asked about here:
=20
> What is expected of the initiators in case of "abort task"?. Does the
> responding to "all valid target tags" apply to "abort task" also?.

No, ABORT TASK can only be used by an initiator to abort one of its
own commands - it is required to be issued on the same TCP connection
as the command to be aborted:

   If the connection is still active (it is not undergoing an implicit
   or explicit logout), ABORT TASK MUST be issued on the same connection
   to which the task to be aborted is allegiant at the time the Task
   Management Request is issued.

This avoids any need to complete outstanding transfers because
the ABORT TASK request is synchronized with those transfers (which
also have to be on the same connection).

Thanks,
--David
----------------------------------------------------
David L. Black, Distinguished Engineer
EMC Corporation, 176 South St., Hopkinton, MA  01748
+1 (508) 293-7953             FAX: +1 (508) 293-7786
black_david@emc.com        Mobile: +1 (978) 394-7754
----------------------------------------------------


_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips



From ips-bounces@ietf.org Tue Dec 04 20:08:05 2007
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1Izik9-0006Bl-2N; Tue, 04 Dec 2007 20:08:05 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1Izik7-00068G-NH
	for ips-confirm+ok@megatron.ietf.org; Tue, 04 Dec 2007 20:08:03 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1Izik7-00067T-Cn
	for ips@ietf.org; Tue, 04 Dec 2007 20:08:03 -0500
Received: from blu139-omc3-s5.blu139.hotmail.com ([65.55.175.205])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Izik4-0004k3-Ov
	for ips@ietf.org; Tue, 04 Dec 2007 20:08:03 -0500
Received: from BLU117-W3 ([65.55.162.189]) by
	blu139-omc3-s5.blu139.hotmail.com with Microsoft
	SMTPSVC(6.0.3790.3959); Tue, 4 Dec 2007 17:08:00 -0800
Message-ID: <BLU117-W39A4B1B17921335FABEAAD76E0@phx.gbl>
X-Originating-IP: [61.14.27.42]
From: Ken Sandars <kensandars@hotmail.com>
To: <jacob_cherian@dell.com>, <julian_satran@il.ibm.com>
Subject: RE: [Ips] Immediate Commands in iSCSI
Date: Wed, 5 Dec 2007 12:08:00 +1100
Importance: Normal
In-Reply-To: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9F00@ausx3mpc102.aus.amer.dell.com>
References: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9D2E@ausx3mpc102.aus.amer.dell.com>
	<OF93E9CD5B.0C677223-ONC22573A6.004FE0BF-C22573A6.0050CAE5@il.ibm.com> 
	<5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9F00@ausx3mpc102.aus.amer.dell.com> 
MIME-Version: 1.0
X-OriginalArrivalTime: 05 Dec 2007 01:08:00.0478 (UTC)
	FILETIME=[477707E0:01C836DB]
X-Spam-Score: 2.2 (++)
X-Scan-Signature: eda4528ec6326d3504ad3a985d220c76
Cc: ips@ietf.org, nam_nguyen@dell.com
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0175238084=="
Errors-To: ips-bounces@ietf.org

--===============0175238084==
Content-Type: multipart/alternative;
	boundary="_44fbb6ae-6d5b-4897-b310-34a25e73e823_"

--_44fbb6ae-6d5b-4897-b310-34a25e73e823_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

=0A=
=0A=
=0A=
Hi Jacob,

A Reject PDU which indicates its reason as "Immediate Command Reject - too =
many immediate commands" seems pretty granular to me. :-) That's what the r=
eject code 0x06 means (as Julo had recommended). The initiator may resubmit=
 the PDU whenever it deems appropriate. Does that make sense?

IMHO, a target implementation constrains the number of non-TMF commands and=
 might throttle repeated TMF commands when they are in progress (and the cl=
earing effects are taking a long time to resolve). Even with a large number=
 of LU's it would be unusual to constrain the number of concurrent LU Reset=
 operations. Have you got a trace showing this behaviour?

HTH,
Ken

Subject: RE: [Ips] Immediate Commands in iSCSI
Date: Mon, 3 Dec 2007 14:15:19 -0600
From: Jacob_Cherian@Dell.com
To: Julian_Satran@il.ibm.com
CC: ips@ietf.org; Nam_Nguyen@Dell.com

=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
Julian,=0A=
=0A=
    No offense taken. The scenario that you=0A=
brought up was considered since most configurations with iSCSI are with=0A=
multiple hosts. However, the allocation of immediate commands to connection=
/sessions/hosts=0A=
depends on the actual implementation. RFC 3720 already requires support for=
 at=0A=
least one per connection. Even we cannot agree on a key, having a more gran=
ular=0A=
status for a rejected TMF that says the target is currently busy processing=
 a=0A=
TMF and cannot process another at this time (but will be able to sometime i=
n=0A=
the future), helps initiators to wait and retry, instead of assuming a fail=
ure=0A=
and escalating the reset. =0A=
=0A=
 =0A=
=0A=
 Jacob=0A=
=0A=
 =0A=
=0A=
=0A=
=0A=
From: Julian Satran=0A=
[mailto:Julian_Satran@il.ibm.com]=20
=0A=
Sent: Monday, December 03, 2007 8:42 AM
=0A=
To: Cherian, Jacob
=0A=
Cc: ips@ietf.org; Nguyen, Nam
=0A=
Subject: RE: [Ips] Immediate Commands in iSCSI=0A=
=0A=
=0A=
=0A=
 =0A=
=0A=

=0A=
Jacob,=20
=0A=

=0A=
I do not want=0A=
to appear offensive - but did you consider the "larger picture"?=0A=
Assuming that the negotiation key or status is there and assuming that the=
=0A=
target talks to 7 (seven) different initiators what would it tell each of t=
hem=0A=
(it has 7 different sessions)? Should he reserve a quota for each of them -=
 so=0A=
that it can meet what it declared? What should a target do with commands th=
at=0A=
exceed the number?=20
=0A=

=0A=
In iSCSI as a rule=0A=
we avoided setting or negotiating parameters that we don't need to=0A=
set/negotiate and I think the number of accepted immediate commands is one =
of=0A=
them.=20
=0A=

=0A=
Julo=20
=0A=

=0A=
=0A=
=0A=
=0A=
 =0A=
  =0A=
  =0A=
  =0A=
  =0A=
  =0A=
   =0A=
    =0A=
    RE:=0A=
    [Ips] Immediate Commands in iSCSI=0A=
    =0A=
   =0A=
  =0A=
   =0A=
  =0A=
   =0A=
    =0A=
    Jacob_Cherian =0A=
    =0A=
    =0A=
    to: =0A=
    =0A=
    =0A=
    Julian=0A=
    Satran =0A=
    =0A=
    =0A=
    12/03/07 04:06 PM=0A=
    =0A=
   =0A=
  =0A=
   =0A=
  =0A=
   =0A=
    =0A=
    =0A=
     =0A=
      =0A=
      Cc: =0A=
      =0A=
      =0A=
      ips,=0A=
      Nam_Nguyen=0A=
      =0A=
     =0A=
    =0A=
    =0A=
    =0A=
   =0A=
  =0A=
  =0A=
 =0A=
=0A=
=0A=
 =0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=

=0A=

=0A=

=0A=
The=0A=
goal of the new status or key is to help the initiator to know the correct=
=0A=
number of immediate commands that the target supports. The issue with=0A=
overloading a status that does clearly define the error condition is that i=
t=0A=
does help in achieving interoperability between the myriad of initiators an=
d=0A=
targets that are out there. I was looking to see if there was another way t=
hat=0A=
I had not considered.=20
=0A=
 =0A=

=0A=
Jacob=0A=

=0A=
 =0A=

=0A=
 =0A=

=0A=
From: Julian Satran=0A=
[mailto:Julian_Satran@il.ibm.com]=20
=0A=
Sent: Monday, December 03, 2007 1:23 AM
=0A=
To: Cherian, Jacob
=0A=
Cc: ips@ietf.org; Nguyen, Nam
=0A=
Subject: Re: [Ips] Immediate Commands in iSCSI=20
=0A=
 =20
=0A=

=0A=
It looks to  me that the Reject response with reason 0x06 should be enough=
=0A=
for the initiator to handle the situation you describe.=20
=0A=
If the TM are the cause then each of those has a response indicating=0A=
termination. After receiving a reject an initiator should reissue new TMs o=
nly=0A=
after getting back one or more responses.  The initiator may even=0A=
accurately guess the number of commands the targets is capable of handling =
per=0A=
connection and per LU. The only case in which this handling may be awkward =
is=0A=
over a WAN but if you are operating over a WAN and TM performance is your o=
nly=0A=
worry you are in good shape :-)=20
=0A=

=0A=
Julo =0A=
=0A=
=0A=
 =0A=
  =0A=
  =0A=
  =0A=
  =0A=
   =0A=
  =0A=
   =0A=
    =0A=
    [Ips]=0A=
    Immediate Commands in iSCSI=0A=
    =0A=
   =0A=
  =0A=
 =20
=0A=
    =0A=
  =20
=0A=
  =0A=
   =0A=
    =0A=
    Jacob_Cherian =0A=
    =0A=
    =0A=
    to: =0A=
    =0A=
    =0A=
    ips=0A=
    =0A=
    =0A=
    =0A=
    12/03/07 05:23 AM=0A=
    =0A=
   =0A=
  =0A=
 =20
=0A=
   =20
=0A=
  =20
=0A=
  =0A=
   =0A=
    =0A=
    =0A=
     =0A=
      =0A=
      Cc: =0A=
      =0A=
      =0A=
      Nam_Nguyen=0A=
      =0A=
     =0A=
    =0A=
    =0A=
    =0A=
   =0A=
  =0A=
  =0A=
 =0A=
=0A=
=0A=

=0A=
 =20
=0A=
=0A=
 =0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=

=0A=

=0A=

=0A=

=0A=

=0A=
RFC 3720 states:=20
=0A=

=0A=
The number of commands used for immediate delivery is not limited and their=
=0A=
delivery for execution is not acknowledged through the numbering scheme.=0A=
Immediate commands MAY be rejected by the iSCSI target layer due to a lack =
of=0A=
resources. An iSCSI target MUST be able to handle at least one immediate ta=
sk=0A=
management command and one immediate non-task-management iSCSI command per=
=0A=
connection at any time.=20
=0A=

=0A=
=20
=0A=

=0A=
With storage systems that have very large number of logical units, we run i=
nto=0A=
an issue when we use LU Reset or Abort Task for reset recovery. I=0A=
couldn=92t find a way to tell an initiator how many immediate commands a=0A=
target can accept. The issue with this is that if we have to issue multiple=
=0A=
task management commands and it is more than what the target can accept, it=
=0A=
will reject the task management request. Since we don=92t know why it was=
=0A=
rejected, we will have to escalate the reset. This can be very disruptive w=
ith=0A=
nodes that have very large number of logical units. There may be two ways t=
o=0A=
resolve this:=20
=0A=

=0A=
=20
=0A=

=0A=
1)      Define a new Text negotiation key for number of=0A=
outstanding immediate commands supported. Unlike non-immediate (data) comma=
nds=0A=
where we can send TASK SET FULL, there is no way for a target to report in =
the=0A=
Task Management Function Response PDU that is unable to process the current=
=0A=
request before it is out of resources.  The default vaule for this new key=
=0A=
can be 1, so if this key is not negotiated initiators can assume one per=0A=
connection.=20
=0A=

=0A=
2)      Define a new value for the Response field in the Task=0A=
Management Function Response PDU for reporting that the target cannot proce=
ss=0A=
the request currently.=20
=0A=

=0A=
=20
=0A=

=0A=
Any suggestions on how to resolve this?=20
=0A=

=0A=
=20
=0A=

=0A=
Thanks,=20
=0A=

=0A=
Jacob=20
=0A=
_______________________________________________
=0A=
Ips mailing list
=0A=
Ips@ietf.org
=0A=
https://www1.ietf.org/mailman/listinfo/ips=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=

_________________________________________________________________
It's simple! Sell your car for just $30 at CarPoint.com.au
http://a.ninemsn.com.au/b.aspx?URL=3Dhttp%3A%2F%2Fsecure%2Dau%2Eimrworldwid=
e%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813=
%2Fai%5F859641&_t=3D762955845&_r=3Dtig_OCT07&_m=3DEXT=

--_44fbb6ae-6d5b-4897-b310-34a25e73e823_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class=3D'hmmessage'><div style=3D"text-align: left;">=0A=
=0A=
</div><style>=0A=
.hmmessage P=0A=
{=0A=
margin:0px;=0A=
padding:0px=0A=
}=0A=
body.hmmessage=0A=
{=0A=
FONT-SIZE: 10pt;=0A=
FONT-FAMILY:Tahoma=0A=
}=0A=
</style>=0A=
<div style=3D"text-align: left;">Hi Jacob,<br><br>A Reject PDU which indica=
tes its reason as "Immediate Command Reject - too many immediate commands" =
seems pretty granular to me. :-) That's what the reject code 0x06 means (as=
 Julo had recommended). The initiator may resubmit the PDU whenever it deem=
s appropriate. Does that make sense?<br><br>IMHO, a target implementation c=
onstrains the number of non-TMF commands and might throttle repeated TMF co=
mmands when they are in progress (and the clearing effects are taking a lon=
g time to resolve). Even with a large number of LU's it would be unusual to=
 constrain the number of concurrent LU Reset operations. Have you got a tra=
ce showing this behaviour?<br></div><br>HTH,<br>Ken<br><br><blockquote><hr =
id=3D"EC_stopSpelling">Subject: RE: [Ips] Immediate Commands in iSCSI<br>Da=
te: Mon, 3 Dec 2007 14:15:19 -0600<br>From: Jacob_Cherian@Dell.com<br>To: J=
ulian_Satran@il.ibm.com<br>CC: ips@ietf.org; Nam_Nguyen@Dell.com<br><br>=0A=
=0A=
=0A=
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dunicode">=
=0A=
<meta name=3D"Generator" content=3D"Microsoft SafeHTML">=0A=
=0A=
=0A=
=0A=
<style>=0A=
.ExternalClass .EC_shape=0A=
{;}=0A=
</style>=0A=
=0A=
<style>=0A=
.ExternalClass EC_p.MsoNormal, .ExternalClass EC_li.MsoNormal, .ExternalCla=
ss EC_div.MsoNormal=0A=
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','seri=
f';}=0A=
.ExternalClass a:link, .ExternalClass EC_span.MsoHyperlink=0A=
{color:blue;text-decoration:underline;}=0A=
.ExternalClass a:visited, .ExternalClass EC_span.MsoHyperlinkFollowed=0A=
{color:purple;text-decoration:underline;}=0A=
.ExternalClass p=0A=
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New R=
oman','serif';}=0A=
.ExternalClass EC_span.EmailStyle18=0A=
{font-family:'Calibri','sans-serif';color:#1F497D;}=0A=
.ExternalClass .EC_MsoChpDefault=0A=
{;}=0A=
@page Section1=0A=
{size:8.5in 11.0in;}=0A=
.ExternalClass EC_div.Section1=0A=
{page:Section1;}=0A=
=0A=
</style>=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
<div class=3D"EC_Section1">=0A=
=0A=
<p class=3D"EC_MsoNormal"><span style=3D"font-size: 11pt; font-family: 'Cal=
ibri','sans-serif'; color: rgb(31, 73, 125);">Julian,</span></p>=0A=
=0A=
<p class=3D"EC_MsoNormal"><span style=3D"font-size: 11pt; font-family: 'Cal=
ibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;&nbsp; &nbsp;No offense=
 taken. The scenario that you=0A=
brought up was considered since most configurations with iSCSI are with=0A=
multiple hosts. However, the allocation of immediate commands to connection=
/sessions/hosts=0A=
depends on the actual implementation. RFC 3720 already requires support for=
 at=0A=
least one per connection. Even we cannot agree on a key, having a more gran=
ular=0A=
status for a rejected TMF that says the target is currently busy processing=
 a=0A=
TMF and cannot process another at this time (but will be able to sometime i=
n=0A=
the future), helps initiators to wait and retry, instead of assuming a fail=
ure=0A=
and escalating the reset. </span></p>=0A=
=0A=
<p class=3D"EC_MsoNormal"><span style=3D"font-size: 11pt; font-family: 'Cal=
ibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>=0A=
=0A=
<p class=3D"EC_MsoNormal"><span style=3D"font-size: 11pt; font-family: 'Cal=
ibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;Jacob</span><i><span st=
yle=3D"font-size: 8pt; font-family: 'Tahoma','sans-serif'; color: rgb(31, 7=
3, 125);"></span></i></p>=0A=
=0A=
<p class=3D"EC_MsoNormal"><span style=3D"font-size: 11pt; font-family: 'Cal=
ibri','sans-serif'; color: rgb(31, 73, 125);">&nbsp;</span></p>=0A=
=0A=
<div style=3D"border-style: solid none none; border-color: rgb(181, 196, 22=
3) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium=
; padding: 3pt 0in 0in;">=0A=
=0A=
<p class=3D"EC_MsoNormal"><b><span style=3D"font-size: 10pt; font-family: '=
Tahoma','sans-serif';">From:</span></b><span style=3D"font-size: 10pt; font=
-family: 'Tahoma','sans-serif';"> Julian Satran=0A=
[mailto:Julian_Satran@il.ibm.com] <br>=0A=
<b>Sent:</b> Monday, December 03, 2007 8:42 AM<br>=0A=
<b>To:</b> Cherian, Jacob<br>=0A=
<b>Cc:</b> ips@ietf.org; Nguyen, Nam<br>=0A=
<b>Subject:</b> RE: [Ips] Immediate Commands in iSCSI</span></p>=0A=
=0A=
</div>=0A=
=0A=
<p class=3D"EC_MsoNormal">&nbsp;</p>=0A=
=0A=
<p class=3D"EC_MsoNormal" style=3D"margin-bottom: 12pt;"><br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Arial','sans-serif';">Jacob,<=
/span> <br>=0A=
<br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Arial','sans-serif';">I do no=
t want=0A=
to appear offensive - but did you consider the "larger picture"?=0A=
Assuming that the negotiation key or status is there and assuming that the=
=0A=
target talks to 7 (seven) different initiators what would it tell each of t=
hem=0A=
(it has 7 different sessions)? Should he reserve a quota for each of them -=
 so=0A=
that it can meet what it declared? What should a target do with commands th=
at=0A=
exceed the number? </span><br>=0A=
<br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Arial','sans-serif';">In iSCS=
I as a rule=0A=
we avoided setting or negotiating parameters that we don't need to=0A=
set/negotiate and I think the number of accepted immediate commands is one =
of=0A=
them.</span> <br>=0A=
<br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Arial','sans-serif';">Julo</s=
pan> <br>=0A=
<br>=0A=
</p>=0A=
=0A=
<table class=3D"EC_MsoNormalTable" style=3D"width: 100%;" border=3D"0" cell=
padding=3D"0" width=3D"100%">=0A=
 <tbody><tr>=0A=
  <td style=3D"padding: 0.75pt;">=0A=
  <p class=3D"EC_MsoNormal"><img id=3D"EC__x0000_i1025" src=3D"cid:image001=
.gif@01C83590.FD173B20" height=3D"1" width=3D"100"></p>=0A=
  </td>=0A=
  <td style=3D"padding: 0.75pt; width: 100%;" width=3D"100%">=0A=
  <table class=3D"EC_MsoNormalTable" style=3D"width: 100%;" border=3D"0" ce=
llpadding=3D"0" width=3D"100%">=0A=
   <tbody><tr>=0A=
    <td style=3D"padding: 0.75pt; width: 100%;" valign=3D"top" width=3D"100=
%">=0A=
    <p class=3D"EC_MsoNormal"><b><span style=3D"font-size: 10pt; font-famil=
y: 'Arial','sans-serif';">RE:=0A=
    [Ips] Immediate Commands in iSCSI</span></b></p>=0A=
    </td>=0A=
   </tr>=0A=
  </tbody></table>=0A=
  <p class=3D"EC_MsoNormal">&nbsp;</p>=0A=
  <table class=3D"EC_MsoNormalTable" style=3D"width: 100%;" border=3D"0" ce=
llpadding=3D"0" width=3D"100%">=0A=
   <tbody><tr>=0A=
    <td style=3D"padding: 0.75pt;">=0A=
    <p class=3D"EC_MsoNormal"><b><span style=3D"font-size: 10pt; font-famil=
y: 'Arial','sans-serif'; color: rgb(226, 98, 0);">Jacob_Cherian </span></b>=
</p>=0A=
    </td>=0A=
    <td style=3D"padding: 0.75pt;">=0A=
    <p class=3D"EC_MsoNormal"><span style=3D"font-size: 10pt; font-family: =
'Arial','sans-serif'; color: rgb(143, 143, 143);">to:</span> </p>=0A=
    </td>=0A=
    <td style=3D"padding: 0.75pt;">=0A=
    <p class=3D"EC_MsoNormal"><span style=3D"font-size: 10pt; font-family: =
'Arial','sans-serif';">Julian=0A=
    Satran</span> </p>=0A=
    </td>=0A=
    <td style=3D"padding: 0.75pt;">=0A=
    <p class=3D"EC_MsoNormal" style=3D"text-align: right;" align=3D"right">=
<span style=3D"font-size: 7.5pt; font-family: 'Arial','sans-serif';">12/03/=
07 04:06 PM</span></p>=0A=
    </td>=0A=
   </tr>=0A=
  </tbody></table>=0A=
  <p class=3D"EC_MsoNormal">&nbsp;</p>=0A=
  <table class=3D"EC_MsoNormalTable" style=3D"width: 100%;" border=3D"0" ce=
llpadding=3D"0" width=3D"100%">=0A=
   <tbody><tr>=0A=
    <td style=3D"padding: 0.75pt;">=0A=
    <table class=3D"EC_MsoNormalTable" style=3D"width: 100%;" border=3D"0" =
cellpadding=3D"0" width=3D"100%">=0A=
     <tbody><tr>=0A=
      <td style=3D"padding: 0.75pt;">=0A=
      <p class=3D"EC_MsoNormal"><span style=3D"font-size: 7.5pt; font-famil=
y: 'Arial','sans-serif'; color: rgb(143, 143, 143);">Cc:</span> </p>=0A=
      </td>=0A=
      <td style=3D"padding: 0.75pt; width: 100%;" width=3D"100%">=0A=
      <p class=3D"EC_MsoNormal"><span style=3D"font-size: 7.5pt; font-famil=
y: 'Arial','sans-serif';">ips,=0A=
      Nam_Nguyen</span></p>=0A=
      </td>=0A=
     </tr>=0A=
    </tbody></table>=0A=
    </td>=0A=
    <td style=3D"padding: 0.75pt;"></td>=0A=
   </tr>=0A=
  </tbody></table>=0A=
  </td>=0A=
 </tr>=0A=
</tbody></table>=0A=
=0A=
<p class=3D"EC_MsoNormal" style=3D"margin-bottom: 12pt;">&nbsp;</p>=0A=
=0A=
<div class=3D"EC_MsoNormal" style=3D"text-align: center;" align=3D"center">=
=0A=
=0A=
<hr align=3D"center" size=3D"2" width=3D"100%">=0A=
=0A=
</div>=0A=
=0A=
<p class=3D"EC_MsoNormal"><br>=0A=
<br>=0A=
<br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Arial','sans-serif'; color: r=
gb(0, 64, 128);">The=0A=
goal of the new status or key is to help the initiator to know the correct=
=0A=
number of immediate commands that the target supports. The issue with=0A=
overloading a status that does clearly define the error condition is that i=
t=0A=
does help in achieving interoperability between the myriad of initiators an=
d=0A=
targets that are out there. I was looking to see if there was another way t=
hat=0A=
I had not considered.</span> <br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Arial','sans-serif'; color: r=
gb(0, 64, 128);">&nbsp;</span>=0A=
<br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Arial','sans-serif'; color: r=
gb(0, 64, 128);">Jacob</span>=0A=
<br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Arial','sans-serif'; color: r=
gb(0, 64, 128);">&nbsp;</span>=0A=
<br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Arial','sans-serif'; color: r=
gb(0, 64, 128);">&nbsp;</span>=0A=
<br>=0A=
<b><span style=3D"font-size: 10pt; font-family: 'Tahoma','sans-serif';">Fro=
m:</span></b><span style=3D"font-size: 10pt; font-family: 'Tahoma','sans-se=
rif';"> Julian Satran=0A=
[mailto:Julian_Satran@il.ibm.com] <b><br>=0A=
Sent:</b> Monday, December 03, 2007 1:23 AM<b><br>=0A=
To:</b> Cherian, Jacob<b><br>=0A=
Cc:</b> ips@ietf.org; Nguyen, Nam<b><br>=0A=
Subject:</b> Re: [Ips] Immediate Commands in iSCSI</span> <br>=0A=
&nbsp; <br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Arial','sans-serif';"><br>=0A=
It looks to &nbsp;me that the Reject response with reason 0x06 should be en=
ough=0A=
for the initiator to handle the situation you describe.</span> <span style=
=3D"font-size: 10pt; font-family: 'Arial','sans-serif';"><br>=0A=
If the TM are the cause then each of those has a response indicating=0A=
termination. After receiving a reject an initiator should reissue new TMs o=
nly=0A=
after getting back one or more responses. &nbsp;The initiator may even=0A=
accurately guess the number of commands the targets is capable of handling =
per=0A=
connection and per LU. The only case in which this handling may be awkward =
is=0A=
over a WAN but if you are operating over a WAN and TM performance is your o=
nly=0A=
worry you are in good shape :-)</span> <br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Arial','sans-serif';"><br>=0A=
Julo</span> </p>=0A=
=0A=
<table class=3D"EC_MsoNormalTable" style=3D"width: 100%;" border=3D"0" cell=
padding=3D"0" width=3D"100%">=0A=
 <tbody><tr>=0A=
  <td style=3D"padding: 0.75pt; width: 28%;" width=3D"28%">=0A=
  <p class=3D"EC_MsoNormal"><img id=3D"EC__x0000_i1027" src=3D"cid:image001=
.gif@01C83590.FD173B20" height=3D"1" width=3D"100"></p>=0A=
  </td>=0A=
  <td style=3D"padding: 0.75pt; width: 71%;" width=3D"71%">=0A=
  <p class=3D"EC_MsoNormal">&nbsp;</p>=0A=
  <table class=3D"EC_MsoNormalTable" style=3D"width: 100%;" border=3D"0" ce=
llpadding=3D"0" width=3D"100%">=0A=
   <tbody><tr>=0A=
    <td style=3D"padding: 0.75pt; width: 100%;" valign=3D"top" width=3D"100=
%">=0A=
    <p class=3D"EC_MsoNormal"><b><span style=3D"font-size: 10pt; font-famil=
y: 'Arial','sans-serif';">[Ips]=0A=
    Immediate Commands in iSCSI</span></b></p>=0A=
    </td>=0A=
   </tr>=0A=
  </tbody></table>=0A=
  <p class=3D"EC_MsoNormal"><br>=0A=
  &nbsp; </p>=0A=
  &nbsp;<br>=0A=
  <table class=3D"EC_MsoNormalTable" style=3D"width: 100%;" border=3D"0" ce=
llpadding=3D"0" width=3D"100%">=0A=
   <tbody><tr>=0A=
    <td style=3D"padding: 0.75pt; width: 42%;" width=3D"42%">=0A=
    <p class=3D"EC_MsoNormal"><b><span style=3D"font-size: 10pt; font-famil=
y: 'Arial','sans-serif'; color: rgb(226, 98, 0);">Jacob_Cherian </span></b>=
</p>=0A=
    </td>=0A=
    <td style=3D"padding: 0.75pt; width: 7%;" width=3D"7%">=0A=
    <p class=3D"EC_MsoNormal"><span style=3D"font-size: 10pt; font-family: =
'Arial','sans-serif'; color: rgb(143, 143, 143);">to:</span> </p>=0A=
    </td>=0A=
    <td style=3D"padding: 0.75pt; width: 8%;" width=3D"8%">=0A=
    <p class=3D"EC_MsoNormal"><span style=3D"font-size: 10pt; font-family: =
'Arial','sans-serif';">ips</span>=0A=
    </p>=0A=
    </td>=0A=
    <td style=3D"padding: 0.75pt; width: 40%;" width=3D"40%">=0A=
    <p class=3D"EC_MsoNormal" style=3D"text-align: right;" align=3D"right">=
<span style=3D"font-size: 7.5pt; font-family: 'Arial','sans-serif';">12/03/=
07 05:23 AM</span></p>=0A=
    </td>=0A=
   </tr>=0A=
  </tbody></table>=0A=
  <br>=0A=
  &nbsp; <br>=0A=
  &nbsp;<br>=0A=
  <table class=3D"EC_MsoNormalTable" style=3D"width: 100%;" border=3D"0" ce=
llpadding=3D"0" width=3D"100%">=0A=
   <tbody><tr>=0A=
    <td style=3D"padding: 0.75pt; width: 97%;" width=3D"97%">=0A=
    <table class=3D"EC_MsoNormalTable" style=3D"width: 100%;" border=3D"0" =
cellpadding=3D"0" width=3D"100%">=0A=
     <tbody><tr>=0A=
      <td style=3D"padding: 0.75pt; width: 22%;" width=3D"22%">=0A=
      <p class=3D"EC_MsoNormal"><span style=3D"font-size: 7.5pt; font-famil=
y: 'Arial','sans-serif'; color: rgb(143, 143, 143);">Cc:</span> </p>=0A=
      </td>=0A=
      <td style=3D"padding: 0.75pt; width: 77%;" width=3D"77%">=0A=
      <p class=3D"EC_MsoNormal"><span style=3D"font-size: 7.5pt; font-famil=
y: 'Arial','sans-serif';">Nam_Nguyen</span></p>=0A=
      </td>=0A=
     </tr>=0A=
    </tbody></table>=0A=
    </td>=0A=
    <td style=3D"padding: 0.75pt; width: 2%;" width=3D"2%"></td>=0A=
   </tr>=0A=
  </tbody></table>=0A=
  </td>=0A=
 </tr>=0A=
</tbody></table>=0A=
=0A=
<br>=0A=
&nbsp; <br>=0A=
=0A=
<p class=3D"EC_MsoNormal" style=3D"text-align: center;" align=3D"center">&n=
bsp;</p>=0A=
=0A=
<div class=3D"EC_MsoNormal" style=3D"text-align: center;" align=3D"center">=
=0A=
=0A=
<hr align=3D"center" size=3D"2" width=3D"100%">=0A=
=0A=
</div>=0A=
=0A=
<p class=3D"EC_MsoNormal"><br>=0A=
<br>=0A=
<br>=0A=
<br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Courier New';"><br>=0A=
RFC 3720 states:</span> <br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Courier New';"><br>=0A=
The number of commands used for immediate delivery is not limited and their=
=0A=
delivery for execution is not acknowledged through the numbering scheme.=0A=
Immediate commands MAY be rejected by the iSCSI target layer due to a lack =
of=0A=
resources. An iSCSI target MUST be able to handle at least one immediate ta=
sk=0A=
management command and one immediate non-task-management iSCSI command per=
=0A=
connection at any time.</span> <br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Courier New';"><br>=0A=
</span>&nbsp;<br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Courier New';"><br>=0A=
With storage systems that have very large number of logical units, we run i=
nto=0A=
an issue when we use LU Reset or Abort Task for reset recovery. I=0A=
couldn=92t find a way to tell an initiator how many immediate commands a=0A=
target can accept. The issue with this is that if we have to issue multiple=
=0A=
task management commands and it is more than what the target can accept, it=
=0A=
will reject the task management request. Since we don=92t know why it was=
=0A=
rejected, we will have to escalate the reset. This can be very disruptive w=
ith=0A=
nodes that have very large number of logical units. There may be two ways t=
o=0A=
resolve this:</span> <br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Courier New';"><br>=0A=
</span>&nbsp;<br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Courier New';"><br>=0A=
1) &nbsp; &nbsp; &nbsp;Define a new Text negotiation key for number of=0A=
outstanding immediate commands supported. Unlike non-immediate (data) comma=
nds=0A=
where we can send TASK SET FULL, there is no way for a target to report in =
the=0A=
Task Management Function Response PDU that is unable to process the current=
=0A=
request before it is out of resources. &nbsp;The default vaule for this new=
 key=0A=
can be 1, so if this key is not negotiated initiators can assume one per=0A=
connection.</span> <br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Courier New';"><br>=0A=
2) &nbsp; &nbsp; &nbsp;Define a new value for the Response field in the Tas=
k=0A=
Management Function Response PDU for reporting that the target cannot proce=
ss=0A=
the request currently.</span> <br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Courier New';"><br>=0A=
</span>&nbsp;<br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Courier New';"><br>=0A=
Any suggestions on how to resolve this?</span> <br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Courier New';"><br>=0A=
</span>&nbsp;<br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Courier New';"><br>=0A=
Thanks,</span> <br>=0A=
<span style=3D"font-size: 10pt; font-family: 'Courier New';"><br>=0A=
Jacob</span> <span style=3D"font-size: 10pt; font-family: 'Courier New';"><=
br>=0A=
_______________________________________________<br>=0A=
Ips mailing list<br>=0A=
Ips@ietf.org</span><u><span style=3D"color: blue;"><br>=0A=
</span></u><a href=3D"https://www1.ietf.org/mailman/listinfo/ips" target=3D=
"_blank"><span style=3D"font-size: 10pt; font-family: 'Courier New';">https=
://www1.ietf.org/mailman/listinfo/ips</span></a>=0A=
</p>=0A=
=0A=
</div>=0A=
=0A=
=0A=
=0A=
=0A=
</blockquote><br /><hr />Sell your car for just $30 at CarPoint.com.au. <a =
href=3D'http://a.ninemsn.com.au/b.aspx?URL=3Dhttp%3A%2F%2Fsecure%2Dau%2Eimr=
worldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5=
F1004813%2Fai%5F859641&_t=3D762955845&_r=3Dtig_OCT07&_m=3DEXT' target=3D'_n=
ew'>It's simple!</a></body>
</html>=

--_44fbb6ae-6d5b-4897-b310-34a25e73e823_--



--===============0175238084==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips

--===============0175238084==--





From ips-bounces@ietf.org Thu Dec 06 04:10:54 2007
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1J0Ckt-0006vb-Iv; Thu, 06 Dec 2007 04:10:51 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1J0Ckr-0006vT-0p
	for ips-confirm+ok@megatron.ietf.org; Thu, 06 Dec 2007 04:10:49 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1J0Ckp-0006vI-Vq
	for ips@ietf.org; Thu, 06 Dec 2007 04:10:47 -0500
Received: from rv-out-0910.google.com ([209.85.198.190])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1J0Ckj-0003W6-HW
	for ips@ietf.org; Thu, 06 Dec 2007 04:10:47 -0500
Received: by rv-out-0910.google.com with SMTP id l15so154412rvb
	for <ips@ietf.org>; Thu, 06 Dec 2007 01:10:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
	bh=tcri5mfyA9CJxEfdZ4Qe84lV1VrqtICAFZr7kGrfvYQ=;
	b=mKBonzBPBtdZLmhFws1ow/SPZEeNG0NVzD8mc/ltwFfWBf1nv8DEnU6MWvdYfzrSVgSSZeY0oK/ogHvoo8MejVUvTsCMAxUGibaymcRhoWGxzbfrRJjzMzH1p70D/tK5jLWZl9nWBtvAW8g1j+oFUeGJ0tcDgUkOBB9jQOP/zGU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
	b=Rwir01cEG5d7eW4+AkNXXUcfxBMAqP78VcT6oLjjHo6SNy0y26lqYwBzWLhv/33BtMijv2/8lYY+0RUWct4Jp97tUBLkgID766FdLVcoLrE5wtsnhzqwe8iya7j2hBhIZEUhvDzUXNG/vsMv+RRkU6ZlRspIreHv4n/0z4rcGL8=
Received: by 10.141.153.16 with SMTP id f16mr1809548rvo.1196932240917;
	Thu, 06 Dec 2007 01:10:40 -0800 (PST)
Received: by 10.140.127.16 with HTTP; Thu, 6 Dec 2007 01:10:40 -0800 (PST)
Message-ID: <b7f21edd0712060110l496ebff3se2d53a475e549c1d@mail.gmail.com>
Date: Thu, 6 Dec 2007 14:40:40 +0530
From: "Jijo Chacko" <consultant.bangalore@gmail.com>
To: "Ken Sandars" <kensandars@hotmail.com>
Subject: Re: [Ips] Immediate Commands in iSCSI
In-Reply-To: <BLU117-W39A4B1B17921335FABEAAD76E0@phx.gbl>
MIME-Version: 1.0
References: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9D2E@ausx3mpc102.aus.amer.dell.com>
	<OF93E9CD5B.0C677223-ONC22573A6.004FE0BF-C22573A6.0050CAE5@il.ibm.com>
	<5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9F00@ausx3mpc102.aus.amer.dell.com>
	<BLU117-W39A4B1B17921335FABEAAD76E0@phx.gbl>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: dae47ebd0d959deee2d6f67621ddb2e3
Cc: ips@ietf.org, jacob_cherian@dell.com, nam_nguyen@dell.com,
	julian_satran@il.ibm.com
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1617781316=="
Errors-To: ips-bounces@ietf.org

--===============1617781316==
Content-Type: multipart/alternative; 
	boundary="----=_Part_4462_11068876.1196932240895"

------=_Part_4462_11068876.1196932240895
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

A related question - from the above discussions, i assume that there is no,
application-level, end-to-end flow control from the initiator-to-target, as
it relates to queued commands. As TCP flow control layers already allowed
the command-bytes in to the host,  we have the memory buffers at the TCP
layer, and later commands are just ignored, with ICR return code 0x06. And
initiator re-submits, target re-rejects,  and this repeats this is not good
for internet, as it relates to congestion. When tagged queueing/no of
outstanding commands support added to SCSI, iSCSI was not in anybody's
mind(IMHO).. please dis-agree with me here.

And strongly feel that, we need to have some way of throttling the initiator
to prevent from swamping the target, or  target implementation code should
have the logic to re-submit the un-honored commands from the TCP buffers(or
local buffers), before returning an error code to the initiator. or there
can be an iSCSI, pending-coomands cache at the target stack, to solve this
problem.

In essence, IMHO, we should do some fixes for target iSCSI implementation,
to provide some staging buffers for already tcp-received commands. We should
not be returning wrong error code to the initiator, if we already received
the command at the TCP layer, and the target has the ability to apply it. We
should be returning the error code only if target failed to apply it.

IN the SCSI world, as the number of initiators are typically just 1, and the
data is not travelling across WAN, target can  return "Too many commands
pending" errors.. as it has only local effect, having few meters.

Please correct me, if i am wrong...

thanks,
Jijo Chacko
Bangalore.

On Dec 5, 2007 6:38 AM, Ken Sandars <kensandars@hotmail.com> wrote:

>  Hi Jacob,
>
> A Reject PDU which indicates its reason as "Immediate Command Reject - too
> many immediate commands" seems pretty granular to me. :-) That's what the
> reject code 0x06 means (as Julo had recommended). The initiator may resubmit
> the PDU whenever it deems appropriate. Does that make sense?
>
> IMHO, a target implementation constrains the number of non-TMF commands
> and might throttle repeated TMF commands when they are in progress (and the
> clearing effects are taking a long time to resolve). Even with a large
> number of LU's it would be unusual to constrain the number of concurrent LU
> Reset operations. Have you got a trace showing this behaviour?
>
> HTH,
> Ken
>
> ------------------------------
> Subject: RE: [Ips] Immediate Commands in iSCSI
> Date: Mon, 3 Dec 2007 14:15:19 -0600
> From: Jacob_Cherian@Dell.com
> To: Julian_Satran@il.ibm.com
> CC: ips@ietf.org; Nam_Nguyen@Dell.com
>
>  Julian,
>
>     No offense taken. The scenario that you brought up was considered
> since most configurations with iSCSI are with multiple hosts. However, the
> allocation of immediate commands to connection/sessions/hosts depends on the
> actual implementation. RFC 3720 already requires support for at least one
> per connection. Even we cannot agree on a key, having a more granular status
> for a rejected TMF that says the target is currently busy processing a TMF
> and cannot process another at this time (but will be able to sometime in the
> future), helps initiators to wait and retry, instead of assuming a failure
> and escalating the reset.
>
>
>
>  Jacob**
>
>
>
> *From:* Julian Satran [mailto:Julian_Satran@il.ibm.com]
> *Sent:* Monday, December 03, 2007 8:42 AM
> *To:* Cherian, Jacob
> *Cc:* ips@ietf.org; Nguyen, Nam
> *Subject:* RE: [Ips] Immediate Commands in iSCSI
>
>
>
>
> Jacob,
>
> I do not want to appear offensive - but did you consider the "larger
> picture"? Assuming that the negotiation key or status is there and assuming
> that the target talks to 7 (seven) different initiators what would it tell
> each of them (it has 7 different sessions)? Should he reserve a quota for
> each of them - so that it can meet what it declared? What should a target do
> with commands that exceed the number?
>
> In iSCSI as a rule we avoided setting or negotiating parameters that we
> don't need to set/negotiate and I think the number of accepted immediate
> commands is one of them.
>
> Julo
>
>      *RE: [Ips] Immediate Commands in iSCSI*
>
>
>
> *Jacob_Cherian *
>
> to:
>
> Julian Satran
>
> 12/03/07 04:06 PM
>
>
>
> Cc:
>
> ips, Nam_Nguyen
>
>
>  ------------------------------
>
>
>
>
> The goal of the new status or key is to help the initiator to know the
> correct number of immediate commands that the target supports. The issue
> with overloading a status that does clearly define the error condition is
> that it does help in achieving interoperability between the myriad of
> initiators and targets that are out there. I was looking to see if there was
> another way that I had not considered.
>
> Jacob
>
>
> *From:* Julian Satran [mailto:Julian_Satran@il.ibm.com] *
> Sent:* Monday, December 03, 2007 1:23 AM*
> To:* Cherian, Jacob*
> Cc:* ips@ietf.org; Nguyen, Nam*
> Subject:* Re: [Ips] Immediate Commands in iSCSI
>
>
> It looks to  me that the Reject response with reason 0x06 should be enough
> for the initiator to handle the situation you describe.
> If the TM are the cause then each of those has a response indicating
> termination. After receiving a reject an initiator should reissue new TMs
> only after getting back one or more responses.  The initiator may even
> accurately guess the number of commands the targets is capable of handling
> per connection and per LU. The only case in which this handling may be
> awkward is over a WAN but if you are operating over a WAN and TM performance
> is your only worry you are in good shape :-)
>
> Julo
>
>
>
> *[Ips] Immediate Commands in iSCSI*
>
>
>
>
>
> *Jacob_Cherian *
>
> to:
>
> ips
>
> 12/03/07 05:23 AM
>
>
>
>
> Cc:
>
> Nam_Nguyen
>
>
>
>
>  ------------------------------
>
>
>
>
>
>
> RFC 3720 states:
>
> The number of commands used for immediate delivery is not limited and
> their delivery for execution is not acknowledged through the numbering
> scheme. Immediate commands MAY be rejected by the iSCSI target layer due to
> a lack of resources. An iSCSI target MUST be able to handle at least one
> immediate task management command and one immediate non-task-management
> iSCSI command per connection at any time.
>
>
>
> With storage systems that have very large number of logical units, we run
> into an issue when we use LU Reset or Abort Task for reset recovery. I
> couldn't find a way to tell an initiator how many immediate commands a
> target can accept. The issue with this is that if we have to issue multiple
> task management commands and it is more than what the target can accept, it
> will reject the task management request. Since we don't know why it was
> rejected, we will have to escalate the reset. This can be very disruptive
> with nodes that have very large number of logical units. There may be two
> ways to resolve this:
>
>
>
> 1)      Define a new Text negotiation key for number of outstanding
> immediate commands supported. Unlike non-immediate (data) commands where we
> can send TASK SET FULL, there is no way for a target to report in the Task
> Management Function Response PDU that is unable to process the current
> request before it is out of resources.  The default vaule for this new key
> can be 1, so if this key is not negotiated initiators can assume one per
> connection.
>
> 2)      Define a new value for the Response field in the Task Management
> Function Response PDU for reporting that the target cannot process the
> request currently.
>
>
>
> Any suggestions on how to resolve this?
>
>
>
> Thanks,
>
> Jacob
> _______________________________________________
> Ips mailing list
> Ips@ietf.org*
> *https://www1.ietf.org/mailman/listinfo/ips
>
>
> ------------------------------
> Sell your car for just $30 at CarPoint.com.au. It's simple!<http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT>
>
> _______________________________________________
> Ips mailing list
> Ips@ietf.org
> https://www1.ietf.org/mailman/listinfo/ips
>
>

------=_Part_4462_11068876.1196932240895
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br>A related question - from the above discussions, i assume that there is no, application-level, end-to-end flow control from the initiator-to-target, as it relates to queued commands. As TCP flow control layers already allowed the command-bytes in to the host,&nbsp; we have the memory buffers at the TCP layer, and later commands are just ignored, with ICR return code 0x06. And initiator re-submits, target re-rejects,&nbsp; and this repeats this is not good for internet, as it relates to congestion. When tagged queueing/no of outstanding commands support added to SCSI, iSCSI was not in anybody&#39;s mind(IMHO).. please dis-agree with me here.
<br><br>And strongly feel that, we need to have some way of throttling the initiator to prevent from swamping the target, or&nbsp; target implementation code should have the logic to re-submit the un-honored commands from the TCP buffers(or local buffers), before returning an error code to the initiator. or there can be an iSCSI, pending-coomands cache at the target stack, to solve this problem.
<br><br>In essence, IMHO, we should do some fixes for target iSCSI implementation, to provide some staging buffers for already tcp-received commands. We should not be returning wrong error code to the initiator, if we already received the command at the TCP layer, and the target has the ability to apply it. We should be returning the error code only if target failed to apply it. 
<br><br>IN the SCSI world, as the number of initiators are typically just 1, and the data is not travelling across WAN, target can&nbsp; return &quot;Too many commands pending&quot; errors.. as it has only local effect, having few meters. 
<br><br>Please correct me, if i am wrong... <br><br>thanks,<br>Jijo Chacko<br>Bangalore.<br><br><div class="gmail_quote">On Dec 5, 2007 6:38 AM, Ken Sandars &lt;<a href="mailto:kensandars@hotmail.com">kensandars@hotmail.com
</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div><div style="text-align: left;">

</div>
<div style="text-align: left;">Hi Jacob,<br><br>A Reject PDU which indicates its reason as &quot;Immediate Command Reject - too many immediate commands&quot; seems pretty granular to me. :-) That&#39;s what the reject code 0x06 means (as Julo had recommended). The initiator may resubmit the PDU whenever it deems appropriate. Does that make sense?
<br><br>IMHO, a target implementation constrains the number of non-TMF commands and might throttle repeated TMF commands when they are in progress (and the clearing effects are taking a long time to resolve). Even with a large number of LU&#39;s it would be unusual to constrain the number of concurrent LU Reset operations. Have you got a trace showing this behaviour?
<br></div><br>HTH,<br>Ken<br><br><blockquote><hr><div class="Ih2E3d">Subject: RE: [Ips] Immediate Commands in iSCSI<br></div>Date: Mon, 3 Dec 2007 14:15:19 -0600<br>From: <a href="mailto:Jacob_Cherian@Dell.com" target="_blank">
Jacob_Cherian@Dell.com</a><br>To: <a href="mailto:Julian_Satran@il.ibm.com" target="_blank">Julian_Satran@il.ibm.com</a><br>CC: <a href="mailto:ips@ietf.org" target="_blank">ips@ietf.org</a>; <a href="mailto:Nam_Nguyen@Dell.com" target="_blank">
Nam_Nguyen@Dell.com</a><br><br>















<div><div><div></div><div class="Wj3C7c">

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Julian,</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;&nbsp; &nbsp;No offense taken. The scenario that you
brought up was considered since most configurations with iSCSI are with
multiple hosts. However, the allocation of immediate commands to connection/sessions/hosts
depends on the actual implementation. RFC 3720 already requires support for at
least one per connection. Even we cannot agree on a key, having a more granular
status for a rejected TMF that says the target is currently busy processing a
TMF and cannot process another at this time (but will be able to sometime in
the future), helps initiators to wait and retry, instead of assuming a failure
and escalating the reset. </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;Jacob</span><i><span style="font-size: 8pt; color: rgb(31, 73, 125);"></span></i></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Julian Satran
[mailto:<a href="mailto:Julian_Satran@il.ibm.com" target="_blank">Julian_Satran@il.ibm.com</a>] <br>
<b>Sent:</b> Monday, December 03, 2007 8:42 AM<br>
<b>To:</b> Cherian, Jacob<br>
<b>Cc:</b> <a href="mailto:ips@ietf.org" target="_blank">ips@ietf.org</a>; Nguyen, Nam<br>
<b>Subject:</b> RE: [Ips] Immediate Commands in iSCSI</span></p>

</div>

<p>&nbsp;</p>

<p style="margin-bottom: 12pt;"><br>
<span style="font-size: 10pt;">Jacob,</span> <br>
<br>
<span style="font-size: 10pt;">I do not want
to appear offensive - but did you consider the &quot;larger picture&quot;?
Assuming that the negotiation key or status is there and assuming that the
target talks to 7 (seven) different initiators what would it tell each of them
(it has 7 different sessions)? Should he reserve a quota for each of them - so
that it can meet what it declared? What should a target do with commands that
exceed the number? </span><br>
<br>
<span style="font-size: 10pt;">In iSCSI as a rule
we avoided setting or negotiating parameters that we don&#39;t need to
set/negotiate and I think the number of accepted immediate commands is one of
them.</span> <br>
<br>
<span style="font-size: 10pt;">Julo</span> <br>
<br>
</p>

<table style="width: 100%;" border="0" cellpadding="0" width="100%">
 <tbody><tr>
  <td style="padding: 0.75pt;">
  <p><img height="1" width="100"></p>
  </td>
  <td style="padding: 0.75pt; width: 100%;" width="100%">
  <table style="width: 100%;" border="0" cellpadding="0" width="100%">
   <tbody><tr>
    <td style="padding: 0.75pt; width: 100%;" valign="top" width="100%">
    <p><b><span style="font-size: 10pt;">RE:
    [Ips] Immediate Commands in iSCSI</span></b></p>
    </td>
   </tr>
  </tbody></table>
  <p>&nbsp;</p>
  <table style="width: 100%;" border="0" cellpadding="0" width="100%">
   <tbody><tr>
    <td style="padding: 0.75pt;">
    <p><b><span style="font-size: 10pt; color: rgb(226, 98, 0);">Jacob_Cherian </span></b></p>
    </td>
    <td style="padding: 0.75pt;">
    <p><span style="font-size: 10pt; color: rgb(143, 143, 143);">to:</span> </p>
    </td>
    <td style="padding: 0.75pt;">
    <p><span style="font-size: 10pt;">Julian
    Satran</span> </p>
    </td>
    <td style="padding: 0.75pt;">
    <p style="text-align: right;" align="right"><span style="font-size: 7.5pt;">12/03/07 04:06 PM</span></p>
    </td>
   </tr>
  </tbody></table>
  <p>&nbsp;</p>
  <table style="width: 100%;" border="0" cellpadding="0" width="100%">
   <tbody><tr>
    <td style="padding: 0.75pt;">
    <table style="width: 100%;" border="0" cellpadding="0" width="100%">
     <tbody><tr>
      <td style="padding: 0.75pt;">
      <p><span style="font-size: 7.5pt; color: rgb(143, 143, 143);">Cc:</span> </p>
      </td>
      <td style="padding: 0.75pt; width: 100%;" width="100%">
      <p><span style="font-size: 7.5pt;">ips,
      Nam_Nguyen</span></p>
      </td>
     </tr>
    </tbody></table>
    </td>
    <td style="padding: 0.75pt;"></td>
   </tr>
  </tbody></table>
  </td>
 </tr>
</tbody></table>

<p style="margin-bottom: 12pt;">&nbsp;</p>

<div style="text-align: center;" align="center">

<hr align="center" size="2" width="100%">

</div>

<p><br>
<br>
<br>
<span style="font-size: 10pt; color: rgb(0, 64, 128);">The
goal of the new status or key is to help the initiator to know the correct
number of immediate commands that the target supports. The issue with
overloading a status that does clearly define the error condition is that it
does help in achieving interoperability between the myriad of initiators and
targets that are out there. I was looking to see if there was another way that
I had not considered.</span> <br>
<span style="font-size: 10pt; color: rgb(0, 64, 128);">&nbsp;</span>
<br>
<span style="font-size: 10pt; color: rgb(0, 64, 128);">Jacob</span>
<br>
<span style="font-size: 10pt; color: rgb(0, 64, 128);">&nbsp;</span>
<br>
<span style="font-size: 10pt; color: rgb(0, 64, 128);">&nbsp;</span>
<br>
<b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Julian Satran
[mailto:<a href="mailto:Julian_Satran@il.ibm.com" target="_blank">Julian_Satran@il.ibm.com</a>] <b><br>
Sent:</b> Monday, December 03, 2007 1:23 AM<b><br>
To:</b> Cherian, Jacob<b><br>
Cc:</b> <a href="mailto:ips@ietf.org" target="_blank">ips@ietf.org</a>; Nguyen, Nam<b><br>
Subject:</b> Re: [Ips] Immediate Commands in iSCSI</span> <br>
&nbsp; <br>
<span style="font-size: 10pt;"><br>
It looks to &nbsp;me that the Reject response with reason 0x06 should be enough
for the initiator to handle the situation you describe.</span> <span style="font-size: 10pt;"><br>
If the TM are the cause then each of those has a response indicating
termination. After receiving a reject an initiator should reissue new TMs only
after getting back one or more responses. &nbsp;The initiator may even
accurately guess the number of commands the targets is capable of handling per
connection and per LU. The only case in which this handling may be awkward is
over a WAN but if you are operating over a WAN and TM performance is your only
worry you are in good shape :-)</span> <br>
<span style="font-size: 10pt;"><br>
Julo</span> </p>

<table style="width: 100%;" border="0" cellpadding="0" width="100%">
 <tbody><tr>
  <td style="padding: 0.75pt; width: 28%;" width="28%">
  <p><img height="1" width="100"></p>
  </td>
  <td style="padding: 0.75pt; width: 71%;" width="71%">
  <p>&nbsp;</p>
  <table style="width: 100%;" border="0" cellpadding="0" width="100%">
   <tbody><tr>
    <td style="padding: 0.75pt; width: 100%;" valign="top" width="100%">
    <p><b><span style="font-size: 10pt;">[Ips]
    Immediate Commands in iSCSI</span></b></p>
    </td>
   </tr>
  </tbody></table>
  <p><br>
  &nbsp; </p>
  &nbsp;<br>
  <table style="width: 100%;" border="0" cellpadding="0" width="100%">
   <tbody><tr>
    <td style="padding: 0.75pt; width: 42%;" width="42%">
    <p><b><span style="font-size: 10pt; color: rgb(226, 98, 0);">Jacob_Cherian </span></b></p>
    </td>
    <td style="padding: 0.75pt; width: 7%;" width="7%">
    <p><span style="font-size: 10pt; color: rgb(143, 143, 143);">to:</span> </p>
    </td>
    <td style="padding: 0.75pt; width: 8%;" width="8%">
    <p><span style="font-size: 10pt;">ips</span>
    </p>
    </td>
    <td style="padding: 0.75pt; width: 40%;" width="40%">
    <p style="text-align: right;" align="right"><span style="font-size: 7.5pt;">12/03/07 05:23 AM</span></p>
    </td>
   </tr>
  </tbody></table>
  <br>
  &nbsp; <br>
  &nbsp;<br>
  <table style="width: 100%;" border="0" cellpadding="0" width="100%">
   <tbody><tr>
    <td style="padding: 0.75pt; width: 97%;" width="97%">
    <table style="width: 100%;" border="0" cellpadding="0" width="100%">
     <tbody><tr>
      <td style="padding: 0.75pt; width: 22%;" width="22%">
      <p><span style="font-size: 7.5pt; color: rgb(143, 143, 143);">Cc:</span> </p>
      </td>
      <td style="padding: 0.75pt; width: 77%;" width="77%">
      <p><span style="font-size: 7.5pt;">Nam_Nguyen</span></p>
      </td>
     </tr>
    </tbody></table>
    </td>
    <td style="padding: 0.75pt; width: 2%;" width="2%"></td>
   </tr>
  </tbody></table>
  </td>
 </tr>
</tbody></table>

<br>
&nbsp; <br>

<p style="text-align: center;" align="center">&nbsp;</p>

<div style="text-align: center;" align="center">

<hr align="center" size="2" width="100%">

</div>

<p><br>
<br>
<br>
<br>
<span style="font-size: 10pt;"><br>
RFC 3720 states:</span> <br>
<span style="font-size: 10pt;"><br>
The number of commands used for immediate delivery is not limited and their
delivery for execution is not acknowledged through the numbering scheme.
Immediate commands MAY be rejected by the iSCSI target layer due to a lack of
resources. An iSCSI target MUST be able to handle at least one immediate task
management command and one immediate non-task-management iSCSI command per
connection at any time.</span> <br>
<span style="font-size: 10pt;"><br>
</span>&nbsp;<br>
<span style="font-size: 10pt;"><br>
With storage systems that have very large number of logical units, we run into
an issue when we use LU Reset or Abort Task for reset recovery. I
couldn't find a way to tell an initiator how many immediate commands a
target can accept. The issue with this is that if we have to issue multiple
task management commands and it is more than what the target can accept, it
will reject the task management request. Since we don't know why it was
rejected, we will have to escalate the reset. This can be very disruptive with
nodes that have very large number of logical units. There may be two ways to
resolve this:</span> <br>
<span style="font-size: 10pt;"><br>
</span>&nbsp;<br>
<span style="font-size: 10pt;"><br>
1) &nbsp; &nbsp; &nbsp;Define a new Text negotiation key for number of
outstanding immediate commands supported. Unlike non-immediate (data) commands
where we can send TASK SET FULL, there is no way for a target to report in the
Task Management Function Response PDU that is unable to process the current
request before it is out of resources. &nbsp;The default vaule for this new key
can be 1, so if this key is not negotiated initiators can assume one per
connection.</span> <br>
<span style="font-size: 10pt;"><br>
2) &nbsp; &nbsp; &nbsp;Define a new value for the Response field in the Task
Management Function Response PDU for reporting that the target cannot process
the request currently.</span> <br>
<span style="font-size: 10pt;"><br>
</span>&nbsp;<br>
<span style="font-size: 10pt;"><br>
Any suggestions on how to resolve this?</span> <br>
<span style="font-size: 10pt;"><br>
</span>&nbsp;<br>
<span style="font-size: 10pt;"><br>
Thanks,</span> <br>
<span style="font-size: 10pt;"><br>
Jacob</span> <span style="font-size: 10pt;"><br>
_______________________________________________<br>
Ips mailing list<br>
<a href="mailto:Ips@ietf.org" target="_blank">Ips@ietf.org</a></span><u><span style="color: blue;"><br>
</span></u><a href="https://www1.ietf.org/mailman/listinfo/ips" target="_blank"><span style="font-size: 10pt;">https://www1.ietf.org/mailman/listinfo/ips</span></a>
</p></div></div>

</div>




</blockquote><br><hr>Sell your car for just $30 at <a href="http://CarPoint.com.au" target="_blank">CarPoint.com.au</a>. <a href="http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&amp;_t=762955845&amp;_r=tig_OCT07&amp;_m=EXT" target="_blank">
It&#39;s simple!</a></div>
<br>_______________________________________________<br>Ips mailing list<br><a href="mailto:Ips@ietf.org">Ips@ietf.org</a><br><a href="https://www1.ietf.org/mailman/listinfo/ips" target="_blank">https://www1.ietf.org/mailman/listinfo/ips
</a><br><br></blockquote></div><br>

------=_Part_4462_11068876.1196932240895--



--===============1617781316==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips

--===============1617781316==--





From ips-bounces@ietf.org Thu Dec 06 09:46:49 2007
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1J0Hzy-0006ht-0p; Thu, 06 Dec 2007 09:46:46 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1J0Hzv-0006em-WE
	for ips-confirm+ok@megatron.ietf.org; Thu, 06 Dec 2007 09:46:44 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1J0Hzv-0006d2-Kh
	for ips@ietf.org; Thu, 06 Dec 2007 09:46:43 -0500
Received: from mexforward.lss.emc.com ([128.222.32.20])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1J0Hzq-0003UF-Ur
	for ips@ietf.org; Thu, 06 Dec 2007 09:46:42 -0500
Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com
	[10.254.111.55])
	by mexforward.lss.emc.com (Switch-3.2.5/Switch-3.1.7) with ESMTP id
	lB6EkZo6000416; Thu, 6 Dec 2007 09:46:35 -0500 (EST)
Received: from mailhub.lss.emc.com (nirah.lss.emc.com [10.254.144.13]) by
	hop04-l1d11-si02.isus.emc.com (Tablus Interceptor);
	Thu, 6 Dec 2007 09:46:32 -0500
Received: from corpussmtp3.corp.emc.com (corpussmtp3.corp.emc.com
	[10.254.64.53])
	by mailhub.lss.emc.com (Switch-3.2.5/Switch-3.1.7) with ESMTP id
	lB6Ejex1011380; Thu, 6 Dec 2007 09:46:30 -0500 (EST)
From: Black_David@emc.com
Received: from CORPUSMX20A.corp.emc.com ([128.221.62.13]) by
	corpussmtp3.corp.emc.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 6 Dec 2007 09:46:21 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Ips] Immediate Commands in iSCSI
Date: Thu, 6 Dec 2007 09:46:20 -0500
Message-ID: <FF29F13E2D78C047B4B79F4E062D0363C2DD78@CORPUSMX20A.corp.emc.com>
In-Reply-To: <b7f21edd0712060110l496ebff3se2d53a475e549c1d@mail.gmail.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Ips] Immediate Commands in iSCSI
thread-index: Acg36Cpsntt9u3UfRoKYVE5Pd8a5fwAK3Zuw
References: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9D2E@ausx3mpc102.aus.amer.dell.com><OF93E9CD5B.0C677223-ONC22573A6.004FE0BF-C22573A6.0050CAE5@il.ibm.com><5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9F00@ausx3mpc102.aus.amer.dell.com><BLU117-W39A4B1B17921335FABEAAD76E0@phx.gbl>
	<b7f21edd0712060110l496ebff3se2d53a475e549c1d@mail.gmail.com>
To: <consultant.bangalore@gmail.com>
X-OriginalArrivalTime: 06 Dec 2007 14:46:21.0991 (UTC)
	FILETIME=[C4A91370:01C83816]
X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.5.1.298604,
	Antispam-Data: 2007.8.30.51425
X-PerlMx-Spam: Gauge=, SPAM=0%, Reason='EMC_BODY_1+ -3, EMC_FROM_0+ -3,
	NO_REAL_NAME 0, __C230066_P5 0, __CT 0, __CTE 0,
	__CT_TEXT_PLAIN 0, __HAS_MSGID 0, __IMS_MSGID 0,
	__MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0'
X-Tablus-Inspected: yes
X-Tablus-Classifications: public
X-Tablus-Action: allow
X-Spam-Score: -4.0 (----)
X-Scan-Signature: e5ba305d0e64821bf3d8bc5d3bb07228
Cc: ips@ietf.org, Black_David@emc.com
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=subscribe>
Errors-To: ips-bounces@ietf.org

Jijo,

> A related question - from the above discussions, i assume that
> there is no, application-level, end-to-end flow control from
> the initiator-to-target, as it relates to queued commands. As
> TCP flow control layers already allowed the command-bytes in
> to the host,  we have the memory buffers at the TCP layer,
> and later commands are just ignored, with ICR return code 0x06.
> And initiator re-submits, target re-rejects,  and this repeats
> this is not good for internet, as it relates to congestion.
> When tagged queueing/no of outstanding commands support added
> to SCSI, iSCSI was not in anybody's mind(IMHO).. please
> dis-agree with me here.

Happy to do so, as that last statement is incorrect, because
the initial assumption is wrong.  Tagged command queuing is in
SAM-2, which is normatively referenced by iSCSI (RFC 3720).  The
mechanism that you're looking for is TASK SET FULL status (28h),
which is widely supported.  The recent discussion on this list
was specific to iSCSI commands, which are intended for exceptional
cases where the outstanding queue of undelivered commands
in iSCSI needs to be bypassed (see Section 3.2.2.1 of RFC 3720).

Thanks,
--David
----------------------------------------------------
David L. Black, Distinguished Engineer
EMC Corporation, 176 South St., Hopkinton, MA  01748
+1 (508) 293-7953             FAX: +1 (508) 293-7786
black_david@emc.com        Mobile: +1 (978) 394-7754
----------------------------------------------------


_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips



From ips-bounces@ietf.org Thu Dec 06 09:53:43 2007
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1J0I6f-0003pu-8Q; Thu, 06 Dec 2007 09:53:41 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1J0I6e-0003pY-3b
	for ips-confirm+ok@megatron.ietf.org; Thu, 06 Dec 2007 09:53:40 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1J0I6d-0003pN-Os
	for ips@ietf.org; Thu, 06 Dec 2007 09:53:39 -0500
Received: from mexforward.lss.emc.com ([128.222.32.20])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1J0I6d-000268-BG
	for ips@ietf.org; Thu, 06 Dec 2007 09:53:39 -0500
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com
	[10.254.111.54])
	by mexforward.lss.emc.com (Switch-3.2.5/Switch-3.1.7) with ESMTP id
	lB6ErbtH003732; Thu, 6 Dec 2007 09:53:37 -0500 (EST)
Received: from mailhub.lss.emc.com (uraeus.lss.emc.com [10.254.144.14]) by
	hop04-l1d11-si01.isus.emc.com (Tablus Interceptor);
	Thu, 6 Dec 2007 09:53:37 -0500
Received: from corpussmtp3.corp.emc.com (corpussmtp3.corp.emc.com
	[10.254.64.53])
	by mailhub.lss.emc.com (Switch-3.2.5/Switch-3.1.7) with ESMTP id
	lB6Er9GP022605; Thu, 6 Dec 2007 09:53:35 -0500 (EST)
From: Black_David@emc.com
Received: from CORPUSMX20A.corp.emc.com ([128.221.62.13]) by
	corpussmtp3.corp.emc.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 6 Dec 2007 09:53:15 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Ips] Immediate Commands in iSCSI
Date: Thu, 6 Dec 2007 09:53:13 -0500
Message-ID: <FF29F13E2D78C047B4B79F4E062D0363C2DD79@CORPUSMX20A.corp.emc.com>
In-Reply-To: <FF29F13E2D78C047B4B79F4E062D0363C2DD78@CORPUSMX20A.corp.emc.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Ips] Immediate Commands in iSCSI
thread-index: Acg36Cpsntt9u3UfRoKYVE5Pd8a5fwAK3ZuwAAD9J9A=
X-Priority: 1
Priority: Urgent
Importance: high
References: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9D2E@ausx3mpc102.aus.amer.dell.com><OF93E9CD5B.0C677223-ONC22573A6.004FE0BF-C22573A6.0050CAE5@il.ibm.com><5DDAB7BA7BDB58439DD0EED0B8E9A3AEFD9F00@ausx3mpc102.aus.amer.dell.com><BLU117-W39A4B1B17921335FABEAAD76E0@phx.gbl>
	<b7f21edd0712060110l496ebff3se2d53a475e549c1d@mail.gmail.com>
	<FF29F13E2D78C047B4B79F4E062D0363C2DD78@CORPUSMX20A.corp.emc.com>
To: <Black_David@emc.com>, <consultant.bangalore@gmail.com>
X-OriginalArrivalTime: 06 Dec 2007 14:53:15.0632 (UTC)
	FILETIME=[BB35AF00:01C83817]
X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.5.1.298604,
	Antispam-Data: 2007.8.30.51425
X-PerlMx-Spam: Gauge=, SPAM=0%, Reason='EMC_BODY_1+ -3, EMC_FROM_0+ -3,
	PRIORITY_NO_NAME 0.716, NO_REAL_NAME 0, __C230066_P5 0, __CT 0,
	__CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_PRIORITY 0,
	__IMS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0,
	__SANE_MSGID 0'
X-Tablus-Inspected: yes
X-Tablus-Classifications: public
X-Tablus-Action: allow
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 39bd8f8cbb76cae18b7e23f7cf6b2b9f
Cc: ips@ietf.org
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=subscribe>
Errors-To: ips-bounces@ietf.org

Crucial editing mistake - see below.  Sorry, --David

> Jijo,
>=20
> > A related question - from the above discussions, i assume that
> > there is no, application-level, end-to-end flow control from
> > the initiator-to-target, as it relates to queued commands. As
> > TCP flow control layers already allowed the command-bytes in
> > to the host,  we have the memory buffers at the TCP layer,
> > and later commands are just ignored, with ICR return code 0x06.
> > And initiator re-submits, target re-rejects,  and this repeats
> > this is not good for internet, as it relates to congestion.
> > When tagged queueing/no of outstanding commands support added
> > to SCSI, iSCSI was not in anybody's mind(IMHO).. please
> > dis-agree with me here.
>=20
> Happy to do so, as that last statement is incorrect, because
> the initial assumption is wrong.  Tagged command queuing is in
> SAM-2, which is normatively referenced by iSCSI (RFC 3720).  The
> mechanism that you're looking for is TASK SET FULL status (28h),
> which is widely supported.  The recent discussion on this list
> was specific to iSCSI commands, which are intended for exceptional

"iSCSI commands" --> "immediate iSCSI commands"

> cases where the outstanding queue of undelivered commands
> in iSCSI needs to be bypassed (see Section 3.2.2.1 of RFC 3720).
>=20
> Thanks,
> --David
> ----------------------------------------------------
> David L. Black, Distinguished Engineer
> EMC Corporation, 176 South St., Hopkinton, MA  01748
> +1 (508) 293-7953             FAX: +1 (508) 293-7786
> black_david@emc.com        Mobile: +1 (978) 394-7754
> ----------------------------------------------------
>=20


_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips



From ips-bounces@ietf.org Thu Dec 06 10:23:46 2007
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1J0IZl-0008Uf-Mz; Thu, 06 Dec 2007 10:23:45 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1J0IZk-0008UW-Fw
	for ips-confirm+ok@megatron.ietf.org; Thu, 06 Dec 2007 10:23:44 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1J0IZk-0008UN-6K
	for ips@ietf.org; Thu, 06 Dec 2007 10:23:44 -0500
Received: from noteserv1.attotech.com ([208.69.85.41])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1J0IZf-0006QB-9c
	for ips@ietf.org; Thu, 06 Dec 2007 10:23:44 -0500
To: ips@ietf.org
Subject: Re: [Ips] Immediate Commands in iSCSI
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0.2 September 26, 2006
Message-ID: <OF4F9E66C7.4731027B-ON852573A9.005478C0-852573A9.0054900A@attotech.com>
From: dcuddihy@attotech.com
Date: Thu, 6 Dec 2007 10:23:38 -0500
X-MIMETrack: Serialize by Router on NOTESERV1/SERV/ATTO(Release
	7.0.2FP1|January 10, 2007) at 12/06/2007 10:23:39 AM,
	Serialize complete at 12/06/2007 10:23:39 AM
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 88b11fc64c1bfdb4425294ef5374ca07
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0269587727=="
Errors-To: ips-bounces@ietf.org

This is a multipart message in MIME format.
--===============0269587727==
Content-Type: multipart/alternative;
	boundary="=_alternative 00549008852573A9_="

This is a multipart message in MIME format.
--=_alternative 00549008852573A9_=
Content-Type: text/plain; charset="US-ASCII"

Jijo,

There is an ISCSI level flow control from the target back to the initiator 
via the MaxCmdSn field.  The field can be found in the SCSI response, and 
it stops initiators from sending more than (MaxCmdSn-ExpCmdSn+1) commands 
on the session at any one time.  See RFC 3720 10.4 (specifically 10.4.11) 
for more information.

regards,

david


Java: The elegant simplicity of C++ 
and the blazing speed of smalltalk.

David J Cuddihy
Principal Engineer
ATTO Technology, Inc.

www.attotech.com
Power Behind the Storage




"Jijo Chacko" <consultant.bangalore@gmail.com> 
12/06/2007 04:12 AM

To
"Ken Sandars" <kensandars@hotmail.com>
cc
ips@ietf.org, jacob_cherian@dell.com, nam_nguyen@dell.com, 
julian_satran@il.ibm.com
Subject
Re: [Ips] Immediate Commands in iSCSI







A related question - from the above discussions, i assume that there is 
no, application-level, end-to-end flow control from the 
initiator-to-target, as it relates to queued commands. As TCP flow control 
layers already allowed the command-bytes in to the host,  we have the 
memory buffers at the TCP layer, and later commands are just ignored, with 
ICR return code 0x06. And initiator re-submits, target re-rejects,  and 
this repeats this is not good for internet, as it relates to congestion. 
When tagged queueing/no of outstanding commands support added to SCSI, 
iSCSI was not in anybody's mind(IMHO).. please dis-agree with me here. 

And strongly feel that, we need to have some way of throttling the 
initiator to prevent from swamping the target, or  target implementation 
code should have the logic to re-submit the un-honored commands from the 
TCP buffers(or local buffers), before returning an error code to the 
initiator. or there can be an iSCSI, pending-coomands cache at the target 
stack, to solve this problem. 

In essence, IMHO, we should do some fixes for target iSCSI implementation, 
to provide some staging buffers for already tcp-received commands. We 
should not be returning wrong error code to the initiator, if we already 
received the command at the TCP layer, and the target has the ability to 
apply it. We should be returning the error code only if target failed to 
apply it. 

IN the SCSI world, as the number of initiators are typically just 1, and 
the data is not travelling across WAN, target can  return "Too many 
commands pending" errors.. as it has only local effect, having few meters. 


Please correct me, if i am wrong... 

thanks,
Jijo Chacko
Bangalore.


_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips 

_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips


--=_alternative 00549008852573A9_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Jijo,</font>
<br>
<br><font size=2 face="sans-serif">There is an ISCSI level flow control
from the target back to the initiator via the MaxCmdSn field. &nbsp;The
field can be found in the SCSI response, and it stops initiators from sending
more than (MaxCmdSn-ExpCmdSn+1) commands on the session at any one time.
&nbsp;See RFC 3720 10.4 (specifically 10.4.11) for more information.</font>
<br>
<br><font size=2 face="sans-serif">regards,</font>
<br>
<br><font size=2 face="sans-serif">david<br>
</font><font size=3><br>
</font><font size=1 face="Courier"><i><br>
Java: The elegant simplicity of C++ <br>
and the blazing speed of smalltalk.</i><br>
</font><font size=1 color=blue face="Courier"><br>
David J Cuddihy<br>
Principal Engineer<br>
ATTO Technology, Inc.<br>
</font><font size=1 color=#800080 face="Courier"><u><br>
</u></font><a href=http://www.attotech.com/><font size=1 color=#800080 face="Courier"><u>www.attotech.com</u></font></a><font size=1 face="Courier"><b><i><br>
Power Behind the Storage</i></b></font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Jijo Chacko&quot;
&lt;consultant.bangalore@gmail.com&gt;</b> </font>
<p><font size=1 face="sans-serif">12/06/2007 04:12 AM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">&quot;Ken Sandars&quot; &lt;kensandars@hotmail.com&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">ips@ietf.org, jacob_cherian@dell.com,
nam_nguyen@dell.com, julian_satran@il.ibm.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Ips] Immediate Commands in iSCSI</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3><br>
A related question - from the above discussions, i assume that there is
no, application-level, end-to-end flow control from the initiator-to-target,
as it relates to queued commands. As TCP flow control layers already allowed
the command-bytes in to the host, &nbsp;we have the memory buffers at the
TCP layer, and later commands are just ignored, with ICR return code 0x06.
And initiator re-submits, target re-rejects, &nbsp;and this repeats this
is not good for internet, as it relates to congestion. When tagged queueing/no
of outstanding commands support added to SCSI, iSCSI was not in anybody's
mind(IMHO).. please dis-agree with me here. <br>
<br>
And strongly feel that, we need to have some way of throttling the initiator
to prevent from swamping the target, or &nbsp;target implementation code
should have the logic to re-submit the un-honored commands from the TCP
buffers(or local buffers), before returning an error code to the initiator.
or there can be an iSCSI, pending-coomands cache at the target stack, to
solve this problem. <br>
<br>
In essence, IMHO, we should do some fixes for target iSCSI implementation,
to provide some staging buffers for already tcp-received commands. We should
not be returning wrong error code to the initiator, if we already received
the command at the TCP layer, and the target has the ability to apply it.
We should be returning the error code only if target failed to apply it.
<br>
<br>
IN the SCSI world, as the number of initiators are typically just 1, and
the data is not travelling across WAN, target can &nbsp;return &quot;Too
many commands pending&quot; errors.. as it has only local effect, having
few meters. <br>
<br>
Please correct me, if i am wrong... <br>
<br>
thanks,<br>
Jijo Chacko<br>
Bangalore.<br>
</font>
<p><font size=3><br>
_______________________________________________<br>
Ips mailing list</font><font size=3 color=blue><u><br>
</u></font><a href=mailto:Ips@ietf.org><font size=3 color=blue><u>Ips@ietf.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href=https://www1.ietf.org/mailman/listinfo/ips target=_blank><font size=3 color=blue><u>https://www1.ietf.org/mailman/listinfo/ips
</u></font></a><font size=3><br>
</font>
<br><tt><font size=2>_______________________________________________<br>
Ips mailing list<br>
Ips@ietf.org<br>
https://www1.ietf.org/mailman/listinfo/ips<br>
</font></tt>
<br>
--=_alternative 00549008852573A9_=--



--===============0269587727==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips

--===============0269587727==--





From ips-bounces@ietf.org Thu Dec 06 16:41:13 2007
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1J0OT1-0001If-EN; Thu, 06 Dec 2007 16:41:11 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1J0OSz-0001IU-VJ
	for ips-confirm+ok@megatron.ietf.org; Thu, 06 Dec 2007 16:41:09 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1J0OSz-0001IM-Is
	for ips@ietf.org; Thu, 06 Dec 2007 16:41:09 -0500
Received: from ausc60pc101.us.dell.com ([143.166.85.206])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1J0OSy-0002I6-FB
	for ips@ietf.org; Thu, 06 Dec 2007 16:41:09 -0500
X-IronPort-AV: E=Sophos;i="4.23,263,1194242400"; 
	d="bmp'146?scan'146,208,217,146";a="464384423"
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Thu, 6 Dec 2007 15:39:34 -0600
Message-ID: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFDA9A7@ausx3mpc102.aus.amer.dell.com>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: Immediate Commands in iSCSI 
Thread-Index: Acg4UH34xoJ6UOSgQgWUf56OCn7/oQ==
From: <Jacob_Cherian@Dell.com>
To: <ips@ietf.org>
X-OriginalArrivalTime: 06 Dec 2007 21:41:06.0955 (UTC)
	FILETIME=[B5413DB0:01C83850]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2e73e7ad830b2f0a95c4eabd630e061d
Subject: [Ips] Immediate Commands in iSCSI 
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2090863650=="
Errors-To: ips-bounces@ietf.org

This is a multi-part message in MIME format.

--===============2090863650==
Content-class: urn:content-classes:message
Content-Type: multipart/related; type="multipart/alternative";
	boundary="----_=_NextPart_001_01C83850.9F5907DA"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C83850.9F5907DA
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_002_01C83850.9F5907DA"


------_=_NextPart_002_01C83850.9F5907DA
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Ken/Julo,
  We may have been talking past each other here :-)  I agree that
defining a status code for the Response field of the TMF Response PDU is
the simplest option:

0x07 - Immediate Command Reject - Too many immediate commands

0x06 is already defined as "Function authorization failed." Or were you
recommending changing the description for the 0x06 response code?

Thanks,
Jacob


RE: Immediate Commands in iSCSI  <javascript: void Nabble.setFlag();> =20
<<Picture (Device Independent Bitmap)>>  <<Picture (Device Independent
Bitmap)>>  <<Picture (Device Independent Bitmap)>>  <<Picture (Device
Independent Bitmap)>>=20
by Ken Sandars =
<http://www.nabble.com/user/UserProfile.jtp?user=3D989990>
Dec 04, 2007; 07:08pm ::
Reply <http://www.nabble.com/forum/Reply.jtp?post=3D14163229>  | Reply =
to
Author =
<http://www.nabble.com/user/SendEmail.jtp?type=3Dpm&post=3D14163229>
| Show Only this Message
<http://www.nabble.com/RE%3A-Immediate-Commands-in-iSCSI-p14163229.html>

Hi Jacob,

A Reject PDU which indicates its reason as "Immediate Command Reject -
too many immediate commands" seems pretty granular to me. :-) That's
what the reject code 0x06 means (as Julo had recommended). The initiator
may resubmit the PDU whenever it deems appropriate. Does that make
sense?

IMHO, a target implementation constrains the number of non-TMF commands
and might throttle repeated TMF commands when they are in progress (and
the clearing effects are taking a long time to resolve). Even with a
large number of LU's it would be unusual to constrain the number of
concurrent LU Reset operations. Have you got a trace showing this
behaviour?

HTH,
Ken

Subject: RE: [Ips] Immediate Commands in iSCSI
Date: Mon, 3 Dec 2007 14:15:19 -0600
From: Jacob_Cherian@...
<http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&post=3D14163229&i=3D=
0>=20
To: Julian_Satran@...
<http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&post=3D14163229&i=3D=
1>=20
CC: ips@...
<http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&post=3D14163229&i=3D=
2> ;
Nam_Nguyen@...
<http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&post=3D14163229&i=3D=
3>=20
Julian,
    No offense taken. The scenario that you brought up was considered
since most configurations with iSCSI are with multiple hosts. However,
the allocation of immediate commands to connection/sessions/hosts
depends on the actual implementation. RFC 3720 already requires support
for at least one per connection. Even we cannot agree on a key, having a
more granular status for a rejected TMF that says the target is
currently busy processing a TMF and cannot process another at this time
(but will be able to sometime in the future), helps initiators to wait
and retry, instead of assuming a failure and escalating the reset.=20
=20
 Jacob
=20
From: Julian Satran [mailto:Julian_Satran@...
<http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&post=3D14163229&i=3D=
4> ]

Sent: Monday, December 03, 2007 8:42 AM
To: Cherian, Jacob
Cc: ips@...
<http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&post=3D14163229&i=3D=
5> ;
Nguyen, Nam
Subject: RE: [Ips] Immediate Commands in iSCSI
=20

Jacob,=20

I do not want to appear offensive - but did you consider the "larger
picture"? Assuming that the negotiation key or status is there and
assuming that the target talks to 7 (seven) different initiators what
would it tell each of them (it has 7 different sessions)? Should he
reserve a quota for each of them - so that it can meet what it declared?
What should a target do with commands that exceed the number?=20

In iSCSI as a rule we avoided setting or negotiating parameters that we
don't need to set/negotiate and I think the number of accepted immediate
commands is one of them.=20

Julo=20
	RE: [Ips] Immediate Commands in iSCSI

=20
Jacob_Cherian=20
to:=20
Julian Satran=20
12/03/07 04:06 PM

=20
Cc:=20
ips, Nam_Nguyen




=09
=20




The goal of the new status or key is to help the initiator to know the
correct number of immediate commands that the target supports. The issue
with overloading a status that does clearly define the error condition
is that it does help in achieving interoperability between the myriad of
initiators and targets that are out there. I was looking to see if there
was another way that I had not considered.=20
 =20
Jacob=20
 =20
 =20
From: Julian Satran [mailto:Julian_Satran@...
<http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&post=3D14163229&i=3D=
6> ]

Sent: Monday, December 03, 2007 1:23 AM
To: Cherian, Jacob
Cc: ips@...
<http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&post=3D14163229&i=3D=
7> ;
Nguyen, Nam
Subject: Re: [Ips] Immediate Commands in iSCSI=20
 =20

It looks to  me that the Reject response with reason 0x06 should be
enough for the initiator to handle the situation you describe.=20
If the TM are the cause then each of those has a response indicating
termination. After receiving a reject an initiator should reissue new
TMs only after getting back one or more responses.  The initiator may
even accurately guess the number of commands the targets is capable of
handling per connection and per LU. The only case in which this handling
may be awkward is over a WAN but if you are operating over a WAN and TM
performance is your only worry you are in good shape :-)=20

Julo=20
	=20
[Ips] Immediate Commands in iSCSI


 =20
=20
Jacob_Cherian=20
to:=20
ips=20
12/03/07 05:23 AM


 =20
=20
Cc:=20
Nam_Nguyen




=09

 =20
=20






RFC 3720 states:=20

The number of commands used for immediate delivery is not limited and
their delivery for execution is not acknowledged through the numbering
scheme. Immediate commands MAY be rejected by the iSCSI target layer due
to a lack of resources. An iSCSI target MUST be able to handle at least
one immediate task management command and one immediate
non-task-management iSCSI command per connection at any time.=20

=20

With storage systems that have very large number of logical units, we
run into an issue when we use LU Reset or Abort Task for reset recovery.
I couldn't find a way to tell an initiator how many immediate commands a
target can accept. The issue with this is that if we have to issue
multiple task management commands and it is more than what the target
can accept, it will reject the task management request. Since we don't
know why it was rejected, we will have to escalate the reset. This can
be very disruptive with nodes that have very large number of logical
units. There may be two ways to resolve this:=20

=20

1)      Define a new Text negotiation key for number of outstanding
immediate commands supported. Unlike non-immediate (data) commands where
we can send TASK SET FULL, there is no way for a target to report in the
Task Management Function Response PDU that is unable to process the
current request before it is out of resources.  The default vaule for
this new key can be 1, so if this key is not negotiated initiators can
assume one per connection.=20

2)      Define a new value for the Response field in the Task Management
Function Response PDU for reporting that the target cannot process the
request currently.=20

=20

Any suggestions on how to resolve this?=20

=20

Thanks,=20

Jacob=20


------_=_NextPart_002_01C83850.9F5907DA
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7652.24">
<TITLE>Immediate Commands in iSCSI </TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Courier =
New">Ken/Julo,</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Courier =
New">&nbsp; We may have been talking past each other =
here</FONT></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Courier =
New"></FONT></SPAN><SPAN LANG=3D"en-us"> <FONT FACE=3D"Wingdings" =
SIZE=3D2>J</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Courier New"></FONT></SPAN><SPAN LANG=3D"en-us">&nbsp;<FONT =
SIZE=3D2 FACE=3D"Courier New"> I agree</FONT></SPAN><SPAN =
LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Courier =
New">that</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT SIZE=3D2 =
FACE=3D"Courier New">defining a</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT =
SIZE=3D2 FACE=3D"Courier New">status code for the Response field of the =
TMF Response PDU</FONT></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Courier New"> is the simplest option</FONT></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Courier New">:</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Courier =
New">0x07 -</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT SIZE=3D2 =
FACE=3D"Courier New">Immediate Command Reject -</FONT></SPAN><SPAN =
LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Courier New">T</FONT></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Courier New">oo many immediate =
commands</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Courier =
New">0x06 is already defined as</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT =
SIZE=3D2 FACE=3D"Courier New">&#8220;</FONT></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Courier New">Function =
authorization failed.</FONT></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Courier New">&#8221;</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
SIZE=3D2 FACE=3D"Courier New"> Or were you recommending changing the =
description for the 0x06 response code?</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Courier =
New">Thanks,</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Courier =
New">Jacob</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><B></B></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><B><FONT FACE=3D"Calibri">RE: =
Immediate Commands in iSCSI</FONT></B></SPAN><SPAN =
LANG=3D"en-us"><B><FONT FACE=3D"Calibri"></FONT></B></SPAN><SPAN =
LANG=3D"en-us"> </SPAN><A HREF=3D"javascript: void =
Nabble.setFlag();"><SPAN LANG=3D"en-us"><B></B></SPAN><B><SPAN =
LANG=3D"en-us"></SPAN></B></A><B><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Arial" SIZE=3D2 COLOR=3D"#000000">
<IMG SRC=3D"No%20AttachName" alt=3D"Picture (Device Independent =
Bitmap)"></FONT></SPAN></B><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT FACE=3D"Arial" SIZE=3D2 COLOR=3D"#000000">
<IMG SRC=3D"No%20AttachName-1" alt=3D"Picture (Device Independent =
Bitmap)"></FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT FACE=3D"Arial" SIZE=3D2 COLOR=3D"#000000">
<IMG SRC=3D"No%20AttachName-2" alt=3D"Picture (Device Independent =
Bitmap)"></FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT FACE=3D"Arial" SIZE=3D2 COLOR=3D"#000000">
<IMG SRC=3D"No%20AttachName-3" alt=3D"Picture (Device Independent =
Bitmap)"></FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us">by =
</SPAN><A =
HREF=3D"http://www.nabble.com/user/UserProfile.jtp?user=3D989990"><SPAN =
LANG=3D"en-us"><U><FONT COLOR=3D"#0000FF">Ken =
Sandars</FONT></U></SPAN><SPAN LANG=3D"en-us"></SPAN></A><SPAN =
LANG=3D"en-us"> Dec 04, 2007; 07:08pm ::</SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN><A =
HREF=3D"http://www.nabble.com/forum/Reply.jtp?post=3D14163229"><SPAN =
LANG=3D"en-us"><U><FONT COLOR=3D"#0000FF">Reply</FONT></U></SPAN><SPAN =
LANG=3D"en-us"></SPAN></A><SPAN LANG=3D"en-us"> | </SPAN><A =
HREF=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpm&amp;post=3D141=
63229"><SPAN LANG=3D"en-us"><U><FONT COLOR=3D"#0000FF">Reply to =
Author</FONT></U></SPAN><SPAN LANG=3D"en-us"></SPAN></A><SPAN =
LANG=3D"en-us"> | </SPAN><A =
HREF=3D"http://www.nabble.com/RE%3A-Immediate-Commands-in-iSCSI-p14163229=
.html"><SPAN LANG=3D"en-us"><U><FONT COLOR=3D"#0000FF">Show Only this =
Message</FONT></U></SPAN><SPAN LANG=3D"en-us"></SPAN></A><SPAN =
LANG=3D"en-us"> </SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">Hi</FONT></SPAN><SPAN LANG=3D"en-us"><B> <FONT =
FACE=3D"Calibri">Jacob</FONT></B></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">,<BR>
<BR>
A Reject PDU which indicates its reason as &quot;Immediate Command =
Reject - too many immediate commands&quot; seems pretty granular to me. =
:-) That's what the reject code 0x06 means (as Julo had recommended). =
The initiator may resubmit the PDU whenever it deems appropriate. Does =
that make sense?<BR>
<BR>
IMHO, a target implementation constrains the number of non-TMF commands =
and might throttle repeated TMF commands when they are in progress (and =
the clearing effects are taking a long time to resolve). Even with a =
large number of LU's it would be unusual to constrain the number of =
concurrent LU Reset operations. Have you got a trace showing this =
behaviour?</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><BR>
<FONT FACE=3D"Calibri">HTH,<BR>
Ken</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">Subject: RE: [</FONT></SPAN><SPAN =
LANG=3D"en-us"><B><FONT FACE=3D"Calibri">Ips</FONT></B></SPAN><SPAN =
LANG=3D"en-us"><FONT FACE=3D"Calibri">] Immediate Commands in iSCSI<BR>
Date: Mon, 3 Dec 2007 14:15:19 -0600<BR>
From:</FONT></SPAN><SPAN LANG=3D"en-us"> </SPAN><A =
HREF=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D1=
4163229&amp;i=3D0"><SPAN LANG=3D"en-us"><B><U><FONT COLOR=3D"#0000FF" =
FACE=3D"Calibri">Jacob_Cherian</FONT></U></B></SPAN><SPAN =
LANG=3D"en-us"><U><FONT COLOR=3D"#0000FF" =
FACE=3D"Calibri">@...</FONT></U></SPAN><SPAN =
LANG=3D"en-us"></SPAN></A><SPAN LANG=3D"en-us"><BR>
<FONT FACE=3D"Calibri">To:</FONT></SPAN><SPAN LANG=3D"en-us"> </SPAN><A =
HREF=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D1=
4163229&amp;i=3D1"><SPAN LANG=3D"en-us"><U><FONT COLOR=3D"#0000FF" =
FACE=3D"Calibri">Julian_Satran@...</FONT></U></SPAN><SPAN =
LANG=3D"en-us"></SPAN></A><SPAN LANG=3D"en-us"><BR>
<FONT FACE=3D"Calibri">CC:</FONT></SPAN><SPAN LANG=3D"en-us"> </SPAN><A =
HREF=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D1=
4163229&amp;i=3D2"><SPAN LANG=3D"en-us"><B><U><FONT COLOR=3D"#0000FF" =
FACE=3D"Calibri">ips</FONT></U></B></SPAN><SPAN LANG=3D"en-us"><U><FONT =
COLOR=3D"#0000FF" FACE=3D"Calibri">@...</FONT></U></SPAN><SPAN =
LANG=3D"en-us"></SPAN></A><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">;</FONT></SPAN><SPAN LANG=3D"en-us"> </SPAN><A =
HREF=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D1=
4163229&amp;i=3D3"><SPAN LANG=3D"en-us"><U><FONT COLOR=3D"#0000FF" =
FACE=3D"Calibri">Nam_Nguyen@...</FONT></U></SPAN><SPAN =
LANG=3D"en-us"></SPAN></A><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" =
FACE=3D"Calibri">Julian,</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT =
COLOR=3D"#1F497D" FACE=3D"Calibri">&nbsp;&nbsp; &nbsp;No offense taken. =
The scenario that you brought up was considered since most =
configurations with iSCSI are with multiple hosts. However, the =
allocation of immediate commands to connection/sessions/hosts depends on =
the actual implementation. RFC 3720 already requires support for at =
least one per connection. Even we cannot agree on a key, having a more =
granular status for a rejected TMF that says the target is currently =
busy processing a TMF and cannot process another at this time (but will =
be able to sometime in the future), helps initiators to wait and retry, =
instead of assuming a failure and escalating the =
reset.</FONT></SPAN><SPAN LANG=3D"en-us"> </SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT =
COLOR=3D"#1F497D" FACE=3D"Calibri">&nbsp;</FONT></SPAN><SPAN =
LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT =
COLOR=3D"#1F497D" FACE=3D"Calibri">&nbsp;</FONT></SPAN><SPAN =
LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B><FONT =
COLOR=3D"#1F497D" FACE=3D"Calibri">Jacob</FONT></B></SPAN><SPAN =
LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT =
COLOR=3D"#1F497D" FACE=3D"Calibri">&nbsp;</FONT></SPAN><SPAN =
LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN =
LANG=3D"en-us"><B><FONT SIZE=3D2 =
FACE=3D"Tahoma">From:</FONT></B></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Tahoma"> Julian Satran =
[mailto:</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><A =
HREF=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D1=
4163229&amp;i=3D4"><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><U><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Tahoma">Julian_Satran@...</FONT></U></SPAN><SPAN =
LANG=3D"en-us"></SPAN></A><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Tahoma">]<BR>
</FONT></SPAN><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN =
LANG=3D"en-us"><B><FONT SIZE=3D2 =
FACE=3D"Tahoma">Sent:</FONT></B></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Tahoma"> Monday, December 03, 2007 =
8:42 AM<BR>
</FONT></SPAN><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN =
LANG=3D"en-us"><B><FONT SIZE=3D2 =
FACE=3D"Tahoma">To:</FONT></B></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Tahoma"></FONT></SPAN><SPAN =
LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B> <FONT SIZE=3D2 =
FACE=3D"Tahoma">Cherian</FONT></B></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Tahoma">,</FONT></SPAN><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN =
LANG=3D"en-us"><B> <FONT SIZE=3D2 =
FACE=3D"Tahoma">Jacob</FONT></B></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B><FONT =
SIZE=3D2 FACE=3D"Tahoma">Cc:</FONT></B></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Tahoma"></FONT></SPAN><SPAN LANG=3D"en-us"> </SPAN><A =
HREF=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D1=
4163229&amp;i=3D5"><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN =
LANG=3D"en-us"><B><U><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Tahoma">ips</FONT></U></B></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><U><FONT COLOR=3D"#0000FF" =
SIZE=3D2 FACE=3D"Tahoma">@...</FONT></U></SPAN><SPAN =
LANG=3D"en-us"></SPAN></A><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Tahoma">; Nguyen, Nam<BR>
</FONT></SPAN><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN =
LANG=3D"en-us"><B><FONT SIZE=3D2 =
FACE=3D"Tahoma">Subject:</FONT></B></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Tahoma"> RE: [</FONT></SPAN><SPAN =
LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B><FONT SIZE=3D2 =
FACE=3D"Tahoma">Ips</FONT></B></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Tahoma">] Immediate Commands in =
iSCSI</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us">&nbsp;</SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><BR>
<B></B></SPAN><SPAN LANG=3D"en-us"><B><FONT SIZE=3D2 =
FACE=3D"Arial">Jacob</FONT></B></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">,</FONT></SPAN><SPAN =
LANG=3D"en-us"><BR>
<BR>
</SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">I do not want =
to appear offensive - but did you consider the &quot;larger =
picture&quot;? Assuming that the negotiation key or status is there and =
assuming that the target talks to 7 (seven) different initiators what =
would it tell each of them (it has 7 different sessions)? Should he =
reserve a quota for each of them - so that it can meet what it declared? =
What should a target do with commands that exceed the =
number?</FONT></SPAN><SPAN LANG=3D"en-us"><BR>
<BR>
</SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">In iSCSI as a =
rule we avoided setting or negotiating parameters that we don't need to =
set/negotiate and I think the number of accepted immediate commands is =
one of them.</FONT></SPAN><SPAN LANG=3D"en-us"><BR>
<BR>
</SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Arial">Julo</FONT></SPAN><SPAN LANG=3D"en-us"> </SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B> <FONT SIZE=3D2 =
FACE=3D"Arial">RE: [Ips] Immediate Commands in =
iSCSI</FONT></B></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us">&nbsp;</SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN =
LANG=3D"en-us"><B><FONT COLOR=3D"#E26200" SIZE=3D2 =
FACE=3D"Arial">Jacob_Cherian</FONT></B></SPAN><SPAN LANG=3D"en-us"> =
</SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT =
COLOR=3D"#8F8F8F" SIZE=3D2 FACE=3D"Arial">to:</FONT></SPAN><SPAN =
LANG=3D"en-us"> </SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT =
SIZE=3D2 FACE=3D"Arial">Julian Satran</FONT></SPAN><SPAN LANG=3D"en-us"> =
</SPAN></P>

<P DIR=3DLTR ALIGN=3DRIGHT><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D1 FACE=3D"Arial">12/03/07 04:06 =
PM</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us">&nbsp;</SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT =
COLOR=3D"#8F8F8F" SIZE=3D1 FACE=3D"Arial">Cc:</FONT></SPAN><SPAN =
LANG=3D"en-us"> </SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN =
LANG=3D"en-us"><B><FONT SIZE=3D1 =
FACE=3D"Arial">ips</FONT></B></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D1 FACE=3D"Arial">, =
Nam_Nguyen</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us">&nbsp;</SPAN></P>

<P DIR=3DLTR ALIGN=3DCENTER><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><BR>
<BR>
<BR>
</SPAN><SPAN LANG=3D"en-us"><FONT COLOR=3D"#004080" SIZE=3D2 =
FACE=3D"Arial">The goal of the new status or key is to help the =
initiator to know the correct number of immediate commands that the =
target supports. The issue with overloading a status that does clearly =
define the error condition is that it does help in achieving =
interoperability between the myriad of initiators and targets that are =
out there. I was looking to see if there was another way that I had not =
considered.</FONT></SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us"><FONT COLOR=3D"#004080" SIZE=3D2 =
FACE=3D"Arial">&nbsp;</FONT></SPAN><SPAN LANG=3D"en-us"><BR>
<B></B></SPAN><SPAN LANG=3D"en-us"><B><FONT COLOR=3D"#004080" SIZE=3D2 =
FACE=3D"Arial">Jacob</FONT></B></SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us"><FONT COLOR=3D"#004080" SIZE=3D2 =
FACE=3D"Arial">&nbsp;</FONT></SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us"><FONT COLOR=3D"#004080" SIZE=3D2 =
FACE=3D"Arial">&nbsp;</FONT></SPAN><SPAN LANG=3D"en-us"><BR>
<B></B></SPAN><SPAN LANG=3D"en-us"><B><FONT SIZE=3D2 =
FACE=3D"Tahoma">From:</FONT></B></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Tahoma"> Julian Satran =
[mailto:</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><A =
HREF=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D1=
4163229&amp;i=3D6"><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><U><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Tahoma">Julian_Satran@...</FONT></U></SPAN><SPAN =
LANG=3D"en-us"></SPAN></A><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Tahoma">]</FONT></SPAN><SPAN =
LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B><BR>
<FONT SIZE=3D2 FACE=3D"Tahoma">Sent:</FONT></B></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Tahoma"> Monday, December 03, 2007 1:23 AM</FONT></SPAN><SPAN =
LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B><BR>
<FONT SIZE=3D2 FACE=3D"Tahoma">To:</FONT></B></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Tahoma"></FONT></SPAN><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN =
LANG=3D"en-us"><B> <FONT SIZE=3D2 =
FACE=3D"Tahoma">Cherian</FONT></B></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Tahoma">,</FONT></SPAN><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN =
LANG=3D"en-us"><B> <FONT SIZE=3D2 FACE=3D"Tahoma">Jacob<BR>
Cc:</FONT></B></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Tahoma"></FONT></SPAN><SPAN =
LANG=3D"en-us"> </SPAN><A =
HREF=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D1=
4163229&amp;i=3D7"><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN =
LANG=3D"en-us"><B><U><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Tahoma">ips</FONT></U></B></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><U><FONT COLOR=3D"#0000FF" =
SIZE=3D2 FACE=3D"Tahoma">@...</FONT></U></SPAN><SPAN =
LANG=3D"en-us"></SPAN></A><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Tahoma">; Nguyen, =
Nam</FONT></SPAN><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN =
LANG=3D"en-us"><B><BR>
<FONT SIZE=3D2 FACE=3D"Tahoma">Subject:</FONT></B></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
FACE=3D"Tahoma"> Re: [</FONT></SPAN><SPAN =
LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B><FONT SIZE=3D2 =
FACE=3D"Tahoma">Ips</FONT></B></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Tahoma">] Immediate Commands in =
iSCSI</FONT></SPAN><SPAN LANG=3D"en-us"><BR>
&nbsp;<BR>
</SPAN><SPAN LANG=3D"en-us"><BR>
<FONT SIZE=3D2 FACE=3D"Arial">It looks to &nbsp;me that the Reject =
response with reason 0x06 should be enough for the initiator to handle =
the situation you describe.</FONT></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><BR>
<FONT SIZE=3D2 FACE=3D"Arial">If the TM are the cause then each of those =
has a response indicating termination. After receiving a reject an =
initiator should reissue new TMs only after getting back one or more =
responses. &nbsp;The initiator may even accurately guess the number of =
commands the targets is capable of handling per connection and per LU. =
The only case in which this handling may be awkward is over a WAN but if =
you are operating over a WAN and TM performance is your only worry you =
are in good shape :-)</FONT></SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us"><BR>
<FONT SIZE=3D2 FACE=3D"Arial">Julo</FONT></SPAN><SPAN LANG=3D"en-us"> =
</SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"> =
&nbsp;</SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN =
LANG=3D"en-us"><B><FONT SIZE=3D2 FACE=3D"Arial">[Ips] Immediate Commands =
in iSCSI</FONT></B></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><BR>
&nbsp; </SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">&nbsp;</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B><FONT =
COLOR=3D"#E26200" SIZE=3D2 =
FACE=3D"Arial">Jacob_Cherian</FONT></B></SPAN><SPAN LANG=3D"en-us"> =
</SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT =
COLOR=3D"#8F8F8F" SIZE=3D2 FACE=3D"Arial">to:</FONT></SPAN><SPAN =
LANG=3D"en-us"> </SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN =
LANG=3D"en-us"><B><FONT SIZE=3D2 =
FACE=3D"Arial">ips</FONT></B></SPAN><SPAN LANG=3D"en-us"> </SPAN></P>

<P DIR=3DLTR ALIGN=3DRIGHT><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT SIZE=3D1 FACE=3D"Arial">12/03/07 05:23 =
AM</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><BR>
<FONT FACE=3D"Calibri">&nbsp;<BR>
&nbsp;</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT COLOR=3D"#8F8F8F" =
SIZE=3D1 FACE=3D"Arial">Cc:</FONT></SPAN><SPAN LANG=3D"en-us"> =
</SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT =
SIZE=3D1 FACE=3D"Arial">Nam_Nguyen</FONT></SPAN><SPAN =
LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us"><BR>
<FONT FACE=3D"Calibri">&nbsp; </FONT></SPAN></P>

<P DIR=3DLTR ALIGN=3DCENTER><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us">&nbsp;</SPAN></P>

<P DIR=3DLTR ALIGN=3DCENTER><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><BR>
<BR>
<BR>
<BR>
</SPAN><SPAN LANG=3D"en-us"><BR>
<FONT SIZE=3D2 FACE=3D"Courier New">RFC 3720 states:</FONT></SPAN><SPAN =
LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us"><BR>
<FONT SIZE=3D2 FACE=3D"Courier New">The number of commands used for =
immediate delivery is not limited and their delivery for execution is =
not acknowledged through the numbering scheme. Immediate commands MAY be =
rejected by the iSCSI target layer due to a lack of resources. An iSCSI =
target MUST be able to handle at least one immediate task management =
command and one immediate non-task-management iSCSI command per =
connection at any time.</FONT></SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us">&nbsp;<BR>
</SPAN><SPAN LANG=3D"en-us"><BR>
<FONT SIZE=3D2 FACE=3D"Courier New">With storage systems that have very =
large number of logical units, we run into an issue when we use LU Reset =
or Abort Task for reset recovery. I couldn&#8217;t find a way to tell an =
initiator how many immediate commands a target can accept. The issue =
with this is that if we have to issue multiple task management commands =
and it is more than what the target can accept, it will reject the task =
management request. Since we don&#8217;t know why it was rejected, we =
will have to escalate the reset. This can be very disruptive with nodes =
that have very large number of logical units. There may be two ways to =
resolve this:</FONT></SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us">&nbsp;<BR>
</SPAN><SPAN LANG=3D"en-us"><BR>
<FONT SIZE=3D2 FACE=3D"Courier New">1) &nbsp; &nbsp; &nbsp;Define a new =
Text negotiation key for number of outstanding immediate commands =
supported. Unlike non-immediate (data) commands where we can send TASK =
SET FULL, there is no way for a target to report in the Task Management =
Function Response PDU that is unable to process the current request =
before it is out of resources. &nbsp;The default vaule for this new key =
can be 1, so if this key is not negotiated initiators can assume one per =
connection.</FONT></SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us"><BR>
<FONT SIZE=3D2 FACE=3D"Courier New">2) &nbsp; &nbsp; &nbsp;Define a new =
value for the Response field in the Task Management Function Response =
PDU for reporting that the target cannot process the request =
currently.</FONT></SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us">&nbsp;<BR>
</SPAN><SPAN LANG=3D"en-us"><BR>
<FONT SIZE=3D2 FACE=3D"Courier New">Any suggestions on how to resolve =
this?</FONT></SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us">&nbsp;<BR>
</SPAN><SPAN LANG=3D"en-us"><BR>
<FONT SIZE=3D2 FACE=3D"Courier New">Thanks,</FONT></SPAN><SPAN =
LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us"><BR>
</SPAN><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B><FONT =
SIZE=3D2 FACE=3D"Courier New">Jacob</FONT></B></SPAN><SPAN =
LANG=3D"en-us"> </SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN></P>

</BODY>
</HTML>
------_=_NextPart_002_01C83850.9F5907DA--

------_=_NextPart_001_01C83850.9F5907DA
Content-Type: image/bmp;
	name="ole0.bmp"
Content-Transfer-Encoding: base64
Content-Description: Picture (Device Independent Bitmap)
Content-Location: No%20AttachName

Qk3aAQAAAAAAAOoAAAAoAAAADwAAAA8AAAABAAgAAAAAAAAAAAAAAAAAAAAAAC0AAAAAAAAA3d3d
AJycnADi4uIArKysANfX1wDMzMwAsbGxAHt7ewDc3NwAwcHBANHR0QCbm5sAkJCQAD8/PwDW1tYA
oKCgAE9PTwBvb28A4ODgAMXFxQDV1dUAurq6AImJiQCOjo4Ac3NzAFhYWABoaGgATU1NAP///wDJ
yckA2dnZAKOjowCYmJgAR0dHAN7e3gDDw8MAcnJyADw8PADT09MAgoKCAMjIyACtra0AkpKSANjY
2ACioqIAHBwcHBwfGBwcHBwcHBwcABwcHBwcBRwcHBwcHBwcHAAcHBwcHAIBHBwcHBwcHBwAHBwc
HBwCHxwcHBwcHBwcABwcHBwcCAEcHBwcHBwcHAAcHBwcHAgqHBwcHBwcHBwAHBwcHBwUFxwcHBwc
HBwcABwcHBwcFCobHBwcHBwcHAAcHBwcHBQDERslJRwcHBwAHBwcHBwUBR8nERshHBwcABwcHBwc
FAUTBgEYGRwcHAAcHBwcHBQUBRMVFxEcHBwAHBwcHBwICAgUBQMHHBwcABwcHBwcHBwCCBQTHxwc
HAAcHBwcHBwcHAgcFBMcHBwA

------_=_NextPart_001_01C83850.9F5907DA
Content-Type: image/bmp;
	name="ole1.bmp"
Content-Transfer-Encoding: base64
Content-Description: Picture (Device Independent Bitmap)
Content-Location: No%20AttachName-1

Qk2uAQAAAAAAAB4BAAAoAAAADAAAAAwAAAABAAgAAAAAAAAAAAAAAAAAAAAAADoAAAAAAAAAr4FR
AMSPWQDfuJMAt41hAMKkhQC3kWoArH5PAODBoQDEpoYAyKmKAOXHqQC+mXMAqX5RAMKKUQCshFkA
roRZAOTLsgDMrpEAqX1QAK2DWAC5kGQA2Kt/ANmrfwCneUkAqn9RALOLYQDFp4gA0qBtANOgbQCx
hFYA37iUAM6WXgCtfUsA5ceoAMuPUwDx4tMAqn5QALiUbwDiyK0A2Kx/AKh6SQCpekkAtYFNAMWM
UQD///8ArHxKAOzWvgC/mHEA37mUAM6XXgCpfU8AsoBMAMirjgDNoHMAuIlYAMuUXADmz7UAtoJN
ACwsLCwsLCwsLCwsLCwsGQwLLCwEDgQsLCwsLBQLDAw0GjQsLCwsNh0wIRAjJSwsLCwsLBMWMAou
BSwsLCwsIDccFjAKEA4RLCwgKyI3HBYwCiYOLDkgFyArNxw1DCAZLCwsLCwsKwEgLCwsLCwsLCw5
ICAsLCwsLCwsLCwsICwsLCwsLCwsLCwsLDksLCwsLA==

------_=_NextPart_001_01C83850.9F5907DA
Content-Type: image/bmp;
	name="ole2.bmp"
Content-Transfer-Encoding: base64
Content-Description: Picture (Device Independent Bitmap)
Content-Location: No%20AttachName-2

Qk2uAQAAAAAAAB4BAAAoAAAADAAAAAwAAAABAAgAAAAAAAAAAAAAAAAAAAAAADoAAAAAAAAAr4FR
AMSPWQDfuJMAt41hAMKkhQC3kWoArH5PAODBoQDEpoYAyKmKAOXHqQC+mXMAqX5RAMKKUQCshFkA
roRZAOTLsgDMrpEAqX1QAK2DWAC5kGQA2Kt/ANmrfwCneUkAqn9RALOLYQDFp4gA0qBtANOgbQCx
hFYA37iUAM6WXgCtfUsA5ceoAMuPUwDx4tMAqn5QALiUbwDiyK0A2Kx/AKh6SQCpekkAtYFNAMWM
UQD///8ArHxKAOzWvgC/mHEA37mUAM6XXgCpfU8AsoBMAMirjgDNoHMAuIlYAMuUXADmz7UAtoJN
ACwsLCwsLCwsLCwsLCwsGQwLLCwEDgQsLCwsLBQLDAw0GjQsLCwsNh0wIRAjJSwsLCwsLBMWMAou
BSwsLCwsIDccFjAKEA4RLCwgKyI3HBYwCiYOLDkgFyArNxw1DCAZLCwsLCwsKwEgLCwsLCwsLCw5
ICAsLCwsLCwsLCwsICwsLCwsLCwsLCwsLDksLCwsLA==

------_=_NextPart_001_01C83850.9F5907DA
Content-Type: image/bmp;
	name="ole3.bmp"
Content-Transfer-Encoding: base64
Content-Description: Picture (Device Independent Bitmap)
Content-Location: No%20AttachName-3

Qk2uAQAAAAAAAB4BAAAoAAAADAAAAAwAAAABAAgAAAAAAAAAAAAAAAAAAAAAADoAAAAAAAAAr4FR
AMSPWQDfuJMAt41hAMKkhQC3kWoArH5PAODBoQDEpoYAyKmKAOXHqQC+mXMAqX5RAMKKUQCshFkA
roRZAOTLsgDMrpEAqX1QAK2DWAC5kGQA2Kt/ANmrfwCneUkAqn9RALOLYQDFp4gA0qBtANOgbQCx
hFYA37iUAM6WXgCtfUsA5ceoAMuPUwDx4tMAqn5QALiUbwDiyK0A2Kx/AKh6SQCpekkAtYFNAMWM
UQD///8ArHxKAOzWvgC/mHEA37mUAM6XXgCpfU8AsoBMAMirjgDNoHMAuIlYAMuUXADmz7UAtoJN
ACwsLCwsLCwsLCwsLCwsGQwLLCwEDgQsLCwsLBQLDAw0GjQsLCwsNh0wIRAjJSwsLCwsLBMWMAou
BSwsLCwsIDccFjAKEA4RLCwgKyI3HBYwCiYOLDkgFyArNxw1DCAZLCwsLCwsKwEgLCwsLCwsLCw5
ICAsLCwsLCwsLCwsICwsLCwsLCwsLCwsLDksLCwsLA==

------_=_NextPart_001_01C83850.9F5907DA--



--===============2090863650==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips

--===============2090863650==--





From ips-bounces@ietf.org Thu Dec 06 16:54:46 2007
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1J0Og9-0002DV-8R; Thu, 06 Dec 2007 16:54:45 -0500
Received: from ips by megatron.ietf.org with local (Exim 4.43)
	id 1J0Og7-0002A3-PA
	for ips-confirm+ok@megatron.ietf.org; Thu, 06 Dec 2007 16:54:43 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1J0Og7-00029h-Eu
	for ips@ietf.org; Thu, 06 Dec 2007 16:54:43 -0500
Received: from mail0.lsil.com ([147.145.40.20])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1J0Og4-00056v-7O
	for ips@ietf.org; Thu, 06 Dec 2007 16:54:43 -0500
Received: from milmhbs0.lsil.com (mhbs.lsil.com [147.145.1.30])
	by mail0.lsil.com (8.12.11/8.12.11) with ESMTP id lB6Lq9Zr014608;
	Thu, 6 Dec 2007 13:52:09 -0800 (PST)
Received: from ict-mailhub.ks.lsil.com (naict042u.ks.lsil.com [172.22.12.2])
	by milmhbs0.lsil.com (8.12.11/8.12.11) with ESMTP id lB6LsYxX031351;
	Thu, 6 Dec 2007 13:54:35 -0800
Received: from aspry-powerbook.ks.lsil.com (aspry-powerbook.ks.lsil.com
	[172.22.32.7])
	by ict-mailhub.ks.lsil.com (8.12.11/8.12.11) with ESMTP id
	lB6LsWA2001652; Thu, 6 Dec 2007 15:54:33 -0600 (CST)
Message-Id: <9951E3B5-88B6-420B-8645-A2FD6CC2B158@lsi.com>
From: Andy Spry <andy.spry@lsi.com>
To: ips@ietf.org
In-Reply-To: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFDA9A7@ausx3mpc102.aus.amer.dell.com>
Subject: Re: [Ips] Immediate Commands in iSCSI 
Mime-Version: 1.0 (Apple Message framework v915)
Date: Thu, 6 Dec 2007 15:54:36 -0600
References: <5DDAB7BA7BDB58439DD0EED0B8E9A3AEFDA9A7@ausx3mpc102.aus.amer.dell.com>
X-Mailer: Apple Mail (2.915)
X-Scanned-By: MIMEDefang 2.39
X-Spam-Score: 0.2 (/)
X-Scan-Signature: b92e72fc2b623ddd11e6d81413fb81b2
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,
	<mailto:ips-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1738068149=="
Errors-To: ips-bounces@ietf.org


--===============1738068149==
Content-Type: multipart/alternative; boundary=Apple-Mail-98--372455595


--Apple-Mail-98--372455595
Content-Type: text/plain;
	charset=WINDOWS-1252;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: quoted-printable

Jacob,

I think that 0x06 code refers to the Reason code for an iSCSI Reject =20
PDU.

The sequence would be

I->  Sends TMF Request PDU as immediate command, exceeding the =20
capacity of the target for immediate commands.

T-> Responds with a Reject PDU with Reason code 0x06 (too many =20
immediate commands).

The TMF Request is blocked at the door and never makes it to the TMF =20
Request handler to generate a TMF Response.

The payload of the Reject PDU is the header of the TMF Request PDU, so =20=

the entire TMF request is returned to the initiator where it could be =20=

re-issued.  The hard part is determining when the load on the target =20
has been reduced so the command can be resent.

Dr. Andrew J. Spry
Storage Architect
LSI Corporation

andy.spry@lsi.com


On Dec 6, 2007, at 3:39 PM, <Jacob_Cherian@Dell.com> wrote:

> Ken/Julo,
>
>   We may have been talking past each other here J  I agree that =20
> defining a status code for the Response field of the TMF Response =20
> PDU is the simplest option:
>
>
> 0x07 - Immediate Command Reject - Too many immediate commands
>
> 0x06 is already defined as =93Function authorization failed.=94 Or =
were =20
> you recommending changing the description for the 0x06 response code?
>
> Thanks,
>
> Jacob
>
>
> RE: Immediate Commands in iSCSI
>
> by Ken Sandars Dec 04, 2007; 07:08pm ::
>
> Reply | Reply to Author | Show Only this Message
>
> Hi Jacob,
>
> A Reject PDU which indicates its reason as "Immediate Command Reject =20=

> - too many immediate commands" seems pretty granular to me. :-) =20
> That's what the reject code 0x06 means (as Julo had recommended). =20
> The initiator may resubmit the PDU whenever it deems appropriate. =20
> Does that make sense?
>
> IMHO, a target implementation constrains the number of non-TMF =20
> commands and might throttle repeated TMF commands when they are in =20
> progress (and the clearing effects are taking a long time to =20
> resolve). Even with a large number of LU's it would be unusual to =20
> constrain the number of concurrent LU Reset operations. Have you got =20=

> a trace showing this behaviour?
>
>
> HTH,
> Ken
>
>
> Subject: RE: [Ips] Immediate Commands in iSCSI
> Date: Mon, 3 Dec 2007 14:15:19 -0600
> From: Jacob_Cherian@...
> To: Julian_Satran@...
> CC: ips@...; Nam_Nguyen@...
>
> Julian,
>
>     No offense taken. The scenario that you brought up was =20
> considered since most configurations with iSCSI are with multiple =20
> hosts. However, the allocation of immediate commands to connection/=20
> sessions/hosts depends on the actual implementation. RFC 3720 =20
> already requires support for at least one per connection. Even we =20
> cannot agree on a key, having a more granular status for a rejected =20=

> TMF that says the target is currently busy processing a TMF and =20
> cannot process another at this time (but will be able to sometime in =20=

> the future), helps initiators to wait and retry, instead of assuming =20=

> a failure and escalating the reset.
>
>
>  Jacob
>
>
> From: Julian Satran [mailto:Julian_Satran@...]
> Sent: Monday, December 03, 2007 8:42 AM
> To: Cherian, Jacob
> Cc: ips@...; Nguyen, Nam
> Subject: RE: [Ips] Immediate Commands in iSCSI
>
>
>
> Jacob,
>
> I do not want to appear offensive - but did you consider the "larger =20=

> picture"? Assuming that the negotiation key or status is there and =20
> assuming that the target talks to 7 (seven) different initiators =20
> what would it tell each of them (it has 7 different sessions)? =20
> Should he reserve a quota for each of them - so that it can meet =20
> what it declared? What should a target do with commands that exceed =20=

> the number?
>
> In iSCSI as a rule we avoided setting or negotiating parameters that =20=

> we don't need to set/negotiate and I think the number of accepted =20
> immediate commands is one of them.
>
> Julo
>
>         RE: [Ips] Immediate Commands in iSCSI
>
>
>
> Jacob_Cherian
>
> to:
>
> Julian Satran
>
> 12/03/07 04:06 PM
>
>
>
> Cc:
>
> ips, Nam_Nguyen
>
>
>
>
>
>
>
>
>
>
>
> The goal of the new status or key is to help the initiator to know =20
> the correct number of immediate commands that the target supports. =20
> The issue with overloading a status that does clearly define the =20
> error condition is that it does help in achieving interoperability =20
> between the myriad of initiators and targets that are out there. I =20
> was looking to see if there was another way that I had not considered.
>
> Jacob
>
>
> From: Julian Satran [mailto:Julian_Satran@...]
> Sent: Monday, December 03, 2007 1:23 AM
> To: Cherian, Jacob
> Cc: ips@...; Nguyen, Nam
> Subject: Re: [Ips] Immediate Commands in iSCSI
>
>
> It looks to  me that the Reject response with reason 0x06 should be =20=

> enough for the initiator to handle the situation you describe.
> If the TM are the cause then each of those has a response indicating =20=

> termination. After receiving a reject an initiator should reissue =20
> new TMs only after getting back one or more responses.  The =20
> initiator may even accurately guess the number of commands the =20
> targets is capable of handling per connection and per LU. The only =20
> case in which this handling may be awkward is over a WAN but if you =20=

> are operating over a WAN and TM performance is your only worry you =20
> are in good shape :-)
>
> Julo
>
>
> [Ips] Immediate Commands in iSCSI
>
>
>
>
>
>
> Jacob_Cherian
>
> to:
>
> ips
>
> 12/03/07 05:23 AM
>
>
>
>
>
>
> Cc:
>
> Nam_Nguyen
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> RFC 3720 states:
>
> The number of commands used for immediate delivery is not limited =20
> and their delivery for execution is not acknowledged through the =20
> numbering scheme. Immediate commands MAY be rejected by the iSCSI =20
> target layer due to a lack of resources. An iSCSI target MUST be =20
> able to handle at least one immediate task management command and =20
> one immediate non-task-management iSCSI command per connection at =20
> any time.
>
>
>
> With storage systems that have very large number of logical units, =20
> we run into an issue when we use LU Reset or Abort Task for reset =20
> recovery. I couldn=92t find a way to tell an initiator how many =20
> immediate commands a target can accept. The issue with this is that =20=

> if we have to issue multiple task management commands and it is more =20=

> than what the target can accept, it will reject the task management =20=

> request. Since we don=92t know why it was rejected, we will have to =20=

> escalate the reset. This can be very disruptive with nodes that have =20=

> very large number of logical units. There may be two ways to resolve =20=

> this:
>
>
>
> 1)      Define a new Text negotiation key for number of outstanding =20=

> immediate commands supported. Unlike non-immediate (data) commands =20
> where we can send TASK SET FULL, there is no way for a target to =20
> report in the Task Management Function Response PDU that is unable =20
> to process the current request before it is out of resources.  The =20
> default vaule for this new key can be 1, so if this key is not =20
> negotiated initiators can assume one per connection.
>
> 2)      Define a new value for the Response field in the Task =20
> Management Function Response PDU for reporting that the target =20
> cannot process the request currently.
>
>
>
> Any suggestions on how to resolve this?
>
>
>
> Thanks,
>
> Jacob
>
>
> _______________________________________________
> Ips mailing list
> Ips@ietf.org
> https://www1.ietf.org/mailman/listinfo/ips


--Apple-Mail-98--372455595
Content-Type: text/html;
	charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">Jacob,<div><br =
class=3D"webkit-block-placeholder"></div><div>I think that 0x06 code =
refers to the Reason code for an iSCSI Reject PDU. &nbsp;</div><div><br =
class=3D"webkit-block-placeholder"></div><div>The sequence would =
be&nbsp;</div><div><br =
class=3D"webkit-block-placeholder"></div><div>I-&gt; &nbsp;Sends TMF =
Request PDU as immediate command, exceeding the capacity of the target =
for immediate commands.</div><div><br =
class=3D"webkit-block-placeholder"></div><div>T-&gt; Responds with a =
Reject PDU with Reason code 0x06 (too many immediate commands). =
&nbsp;</div><div><br class=3D"webkit-block-placeholder"></div><div>The =
TMF Request is blocked at the door and never makes it to the TMF Request =
handler to generate a TMF Response. &nbsp;</div><div><br =
class=3D"webkit-block-placeholder"></div><div>The payload of the Reject =
PDU is the header of the TMF Request PDU, so the entire TMF request is =
returned to the initiator where it could be re-issued. &nbsp;The hard =
part is determining when the load on the target has been reduced so the =
command can be resent. &nbsp;</div><div><br></div><div><div =
apple-content-edited=3D"true"> <span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
'Times New Roman'; font-size: 14px; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0; "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; border-spacing: 0px 0px; color: =
rgb(0, 0, 0); font-family: Times New Roman; font-size: 14px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Times New =
Roman; font-size: 14px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: =
0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Times New =
Roman; font-size: 14px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: =
0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Times New =
Roman; font-size: 14px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: =
0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Times New =
Roman; font-size: 14px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: =
0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><font class=3D"Apple-style-span" face=3D"Helvetica" =
size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: 12px;; =
font-family: Helvetica; "><span class=3D"Apple-style-span" =
style=3D"font-family: Helvetica; font-size: 12px; "><span =
class=3D"Apple-style-span" style=3D"font-family: Helvetica; font-size: =
12px; "><span class=3D"Apple-style-span" style=3D"font-family: =
Helvetica; font-size: 12px; "><span class=3D"Apple-style-span" =
style=3D"font-family: Helvetica; font-size: 12px; "><span =
class=3D"Apple-style-span" style=3D"font-family: Helvetica; font-size: =
12px; ">Dr. Andrew J. =
Spry</span></span></span></span></span></span></font></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><font class=3D"Apple-style-span" face=3D"Helvetica" =
size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: =
12px;">Storage Architect</span></font></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font =
class=3D"Apple-style-span" face=3D"Helvetica" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 12px;">LSI =
Corporation</span></font></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal =
normal normal 12px/normal Helvetica; min-height: 14px; ; font-family: =
Helvetica; font-size: 12px; "><br style=3D"; font-family: Helvetica; =
font-size: 12px; "></div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; "><span =
class=3D"Apple-style-span" style=3D"font-family: Helvetica; font-size: =
12px; font-weight: bold; "><a =
href=3D"mailto:andy.spry@lsi.com">andy.spry@lsi.com</a></span></div></span=
></span></span></span><br =
class=3D"Apple-interchange-newline"></span></div></span> =
</div><br><div><div>On Dec 6, 2007, at 3:39 PM, &lt;<a =
href=3D"mailto:Jacob_Cherian@Dell.com">Jacob_Cherian@Dell.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"> <div> <!-- Converted from text/rtf format --><p =
dir=3D"LTR"><span lang=3D"en-us"><font size=3D"2" face=3D"Courier =
New">Ken/Julo,</font></span></p><p dir=3D"LTR"><span lang=3D"en-us"><font =
size=3D"2" face=3D"Courier New">&nbsp; We may have been talking past =
each other here</font></span><span lang=3D"en-us"><font size=3D"2" =
face=3D"Courier New"></font></span><span lang=3D"en-us"> <font =
face=3D"Wingdings" size=3D"2">J</font></span><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Courier New"></font></span><span =
lang=3D"en-us">&nbsp;<font size=3D"2" face=3D"Courier New"> I =
agree</font></span><span lang=3D"en-us"> <font size=3D"2" face=3D"Courier =
New">that</font></span><span lang=3D"en-us"> <font size=3D"2" =
face=3D"Courier New">defining a</font></span><span lang=3D"en-us"> <font =
size=3D"2" face=3D"Courier New">status code for the Response field of =
the TMF Response PDU</font></span><span lang=3D"en-us"><font size=3D"2" =
face=3D"Courier New"> is the simplest option</font></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Courier =
New">:</font></span></p><div><span lang=3D"en-us"></span><br =
class=3D"webkit-block-placeholder"></div><p dir=3D"LTR"><span =
lang=3D"en-us"><font size=3D"2" face=3D"Courier New">0x07 =
-</font></span><span lang=3D"en-us"> <font size=3D"2" face=3D"Courier =
New">Immediate Command Reject -</font></span><span lang=3D"en-us"> <font =
size=3D"2" face=3D"Courier New">T</font></span><span lang=3D"en-us"><font =
size=3D"2" face=3D"Courier New">oo many immediate =
commands</font></span><span lang=3D"en-us"></span></p><p dir=3D"LTR"><span=
 lang=3D"en-us"><font size=3D"2" face=3D"Courier New">0x06 is already =
defined as</font></span><span lang=3D"en-us"> <font size=3D"2" =
face=3D"Courier New">=93</font></span><span lang=3D"en-us"><font =
size=3D"2" face=3D"Courier New">Function authorization =
failed.</font></span><span lang=3D"en-us"><font size=3D"2" face=3D"Courier=
 New">=94</font></span><span lang=3D"en-us"><font size=3D"2" =
face=3D"Courier New"> Or were you recommending changing the description =
for the 0x06 response code?</font></span></p><p dir=3D"LTR"><span =
lang=3D"en-us"><font size=3D"2" face=3D"Courier =
New">Thanks,</font></span></p><p dir=3D"LTR"><span lang=3D"en-us"><font =
size=3D"2" face=3D"Courier New">Jacob</font></span><span =
lang=3D"en-us"></span></p><p dir=3D"LTR"><span lang=3D"en-us"></span><span=
 lang=3D"en-us"><b></b></span></p><p dir=3D"LTR"><span =
lang=3D"en-us"><b><font face=3D"Calibri">RE: Immediate Commands in =
iSCSI</font></b></span><span lang=3D"en-us"><b><font =
face=3D"Calibri"></font></b></span><span lang=3D"en-us"> </span><a =
href=3D"javascript: void Nabble.setFlag();"><span =
lang=3D"en-us"><b></b></span><b><span =
lang=3D"en-us"></span></b></a><b><span lang=3D"en-us"><font face=3D"Arial"=
 size=3D"2" color=3D"#000000"> <img src=3D"No%20AttachName" alt=3D"Picture=
 (Device Independent Bitmap)"></font></span></b><span =
lang=3D"en-us"></span><span lang=3D"en-us"><font face=3D"Arial" size=3D"2"=
 color=3D"#000000"> <img src=3D"No%20AttachName-1" alt=3D"Picture =
(Device Independent Bitmap)"></font></span><span =
lang=3D"en-us"></span><span lang=3D"en-us"><font face=3D"Arial" size=3D"2"=
 color=3D"#000000"> <img src=3D"No%20AttachName-2" alt=3D"Picture =
(Device Independent Bitmap)"></font></span><span =
lang=3D"en-us"></span><span lang=3D"en-us"><font face=3D"Arial" size=3D"2"=
 color=3D"#000000"> <img src=3D"No%20AttachName-3" alt=3D"Picture =
(Device Independent Bitmap)"></font></span><span =
lang=3D"en-us"></span></p><p dir=3D"LTR"><span lang=3D"en-us"></span><span=
 lang=3D"en-us">by </span><a =
href=3D"http://www.nabble.com/user/UserProfile.jtp?user=3D989990"><span =
lang=3D"en-us"><u><font color=3D"#0000FF">Ken =
Sandars</font></u></span><span lang=3D"en-us"></span></a><span =
lang=3D"en-us"> Dec 04, 2007; 07:08pm ::</span></p><p dir=3D"LTR"><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><a =
href=3D"http://www.nabble.com/forum/Reply.jtp?post=3D14163229"><span =
lang=3D"en-us"><u><font color=3D"#0000FF">Reply</font></u></span><span =
lang=3D"en-us"></span></a><span lang=3D"en-us"> | </span><a =
href=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpm&amp;post=3D1416=
3229"><span lang=3D"en-us"><u><font color=3D"#0000FF">Reply to =
Author</font></u></span><span lang=3D"en-us"></span></a><span =
lang=3D"en-us"> | </span><a =
href=3D"http://www.nabble.com/RE%3A-Immediate-Commands-in-iSCSI-p14163229.=
html"><span lang=3D"en-us"><u><font color=3D"#0000FF">Show Only this =
Message</font></u></span><span lang=3D"en-us"></span></a><span =
lang=3D"en-us"> </span></p><p dir=3D"LTR"><span =
lang=3D"en-us"></span><span lang=3D"en-us"><font =
face=3D"Calibri">Hi</font></span><span lang=3D"en-us"><b> <font =
face=3D"Calibri">Jacob</font></b></span><span lang=3D"en-us"><font =
face=3D"Calibri">,<br> <br> A Reject PDU which indicates its reason as =
"Immediate Command Reject - too many immediate commands" seems pretty =
granular to me. :-) That's what the reject code 0x06 means (as Julo had =
recommended). The initiator may resubmit the PDU whenever it deems =
appropriate. Does that make sense?<br> <br> IMHO, a target =
implementation constrains the number of non-TMF commands and might =
throttle repeated TMF commands when they are in progress (and the =
clearing effects are taking a long time to resolve). Even with a large =
number of LU's it would be unusual to constrain the number of concurrent =
LU Reset operations. Have you got a trace showing this =
behaviour?</font></span></p><p dir=3D"LTR"><span lang=3D"en-us"><br> =
<font face=3D"Calibri">HTH,<br> Ken</font></span></p><div><span =
lang=3D"en-us"></span><br class=3D"webkit-block-placeholder"></div><p =
dir=3D"LTR"><span lang=3D"en-us"></span><span lang=3D"en-us"><font =
face=3D"Calibri">Subject: RE: [</font></span><span lang=3D"en-us"><b><font=
 face=3D"Calibri">Ips</font></b></span><span lang=3D"en-us"><font =
face=3D"Calibri">] Immediate Commands in iSCSI<br> Date: Mon, 3 Dec 2007 =
14:15:19 -0600<br> From:</font></span><span lang=3D"en-us"> </span><a =
href=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D14=
163229&amp;i=3D0"><span lang=3D"en-us"><b><u><font color=3D"#0000FF" =
face=3D"Calibri">Jacob_Cherian</font></u></b></span><span =
lang=3D"en-us"><u><font color=3D"#0000FF" =
face=3D"Calibri">@...</font></u></span><span =
lang=3D"en-us"></span></a><span lang=3D"en-us"><br> <font =
face=3D"Calibri">To:</font></span><span lang=3D"en-us"> </span><a =
href=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D14=
163229&amp;i=3D1"><span lang=3D"en-us"><u><font color=3D"#0000FF" =
face=3D"Calibri">Julian_Satran@...</font></u></span><span =
lang=3D"en-us"></span></a><span lang=3D"en-us"><br> <font =
face=3D"Calibri">CC:</font></span><span lang=3D"en-us"> </span><a =
href=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D14=
163229&amp;i=3D2"><span lang=3D"en-us"><b><u><font color=3D"#0000FF" =
face=3D"Calibri">ips</font></u></b></span><span lang=3D"en-us"><u><font =
color=3D"#0000FF" face=3D"Calibri">@...</font></u></span><span =
lang=3D"en-us"></span></a><span lang=3D"en-us"><font =
face=3D"Calibri">;</font></span><span lang=3D"en-us"> </span><a =
href=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D14=
163229&amp;i=3D3"><span lang=3D"en-us"><u><font color=3D"#0000FF" =
face=3D"Calibri">Nam_Nguyen@...</font></u></span><span =
lang=3D"en-us"></span></a><span lang=3D"en-us"></span></p><p =
dir=3D"LTR"><span lang=3D"en-us"></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font color=3D"#1F497D" =
face=3D"Calibri">Julian,</font></span><span lang=3D"en-us"></span></p><p =
dir=3D"LTR"><span lang=3D"en-us"></span><span lang=3D"en-us"><font =
color=3D"#1F497D" face=3D"Calibri">&nbsp;&nbsp; &nbsp;No offense taken. =
The scenario that you brought up was considered since most =
configurations with iSCSI are with multiple hosts. However, the =
allocation of immediate commands to connection/sessions/hosts depends on =
the actual implementation. RFC 3720 already requires support for at =
least one per connection. Even we cannot agree on a key, having a more =
granular status for a rejected TMF that says the target is currently =
busy processing a TMF and cannot process another at this time (but will =
be able to sometime in the future), helps initiators to wait and retry, =
instead of assuming a failure and escalating the =
reset.</font></span><span lang=3D"en-us"> </span></p><div><span =
lang=3D"en-us"></span><span lang=3D"en-us"><font color=3D"#1F497D" =
face=3D"Calibri">&nbsp;</font></span><span lang=3D"en-us"></span><br =
class=3D"webkit-block-placeholder"></div><p dir=3D"LTR"><span =
lang=3D"en-us"></span><span lang=3D"en-us"><font color=3D"#1F497D" =
face=3D"Calibri">&nbsp;</font></span><span =
lang=3D"en-us"><b></b></span><span lang=3D"en-us"><b><font =
color=3D"#1F497D" face=3D"Calibri">Jacob</font></b></span><span =
lang=3D"en-us"></span></p><div><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font color=3D"#1F497D" =
face=3D"Calibri">&nbsp;</font></span><span lang=3D"en-us"></span><br =
class=3D"webkit-block-placeholder"></div><p dir=3D"LTR"><span =
lang=3D"en-us"><b></b></span><span lang=3D"en-us"><b><font size=3D"2" =
face=3D"Tahoma">From:</font></b></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Tahoma"> Julian Satran =
[mailto:</font></span><span lang=3D"en-us"></span><a =
href=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D14=
163229&amp;i=3D4"><span lang=3D"en-us"></span><span =
lang=3D"en-us"><u><font color=3D"#0000FF" size=3D"2" =
face=3D"Tahoma">Julian_Satran@...</font></u></span><span =
lang=3D"en-us"></span></a><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Tahoma">]<br> =
</font></span><span lang=3D"en-us"><b></b></span><span =
lang=3D"en-us"><b><font size=3D"2" =
face=3D"Tahoma">Sent:</font></b></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Tahoma"> Monday, December 03, =
2007 8:42 AM<br> </font></span><span lang=3D"en-us"><b></b></span><span =
lang=3D"en-us"><b><font size=3D"2" =
face=3D"Tahoma">To:</font></b></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Tahoma"></font></span><span =
lang=3D"en-us"><b></b></span><span lang=3D"en-us"><b> <font size=3D"2" =
face=3D"Tahoma">Cherian</font></b></span><span lang=3D"en-us"></span><span=
 lang=3D"en-us"><font size=3D"2" face=3D"Tahoma">,</font></span><span =
lang=3D"en-us"><b></b></span><span lang=3D"en-us"><b> <font size=3D"2" =
face=3D"Tahoma">Jacob</font></b></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"><br> </span><span lang=3D"en-us"><b></b></span><span =
lang=3D"en-us"><b><font size=3D"2" =
face=3D"Tahoma">Cc:</font></b></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Tahoma"></font></span><span =
lang=3D"en-us"> </span><a =
href=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D14=
163229&amp;i=3D5"><span lang=3D"en-us"><b></b></span><span =
lang=3D"en-us"><b><u><font color=3D"#0000FF" size=3D"2" =
face=3D"Tahoma">ips</font></u></b></span><span lang=3D"en-us"></span><span=
 lang=3D"en-us"><u><font color=3D"#0000FF" size=3D"2" =
face=3D"Tahoma">@...</font></u></span><span =
lang=3D"en-us"></span></a><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Tahoma">; Nguyen, Nam<br> =
</font></span><span lang=3D"en-us"><b></b></span><span =
lang=3D"en-us"><b><font size=3D"2" =
face=3D"Tahoma">Subject:</font></b></span><span =
lang=3D"en-us"></span><span lang=3D"en-us"><font size=3D"2" =
face=3D"Tahoma"> RE: [</font></span><span =
lang=3D"en-us"><b></b></span><span lang=3D"en-us"><b><font size=3D"2" =
face=3D"Tahoma">Ips</font></b></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Tahoma">] Immediate Commands in =
iSCSI</font></span><span lang=3D"en-us"></span></p><div><span =
lang=3D"en-us">&nbsp;</span><br =
class=3D"webkit-block-placeholder"></div><p dir=3D"LTR"><span =
lang=3D"en-us"><br> <b></b></span><span lang=3D"en-us"><b><font size=3D"2"=
 face=3D"Arial">Jacob</font></b></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Arial">,</font></span><span =
lang=3D"en-us"><br> <br> </span><span lang=3D"en-us"><font size=3D"2" =
face=3D"Arial">I do not want to appear offensive - but did you consider =
the "larger picture"? Assuming that the negotiation key or status is =
there and assuming that the target talks to 7 (seven) different =
initiators what would it tell each of them (it has 7 different =
sessions)? Should he reserve a quota for each of them - so that it can =
meet what it declared? What should a target do with commands that exceed =
the number?</font></span><span lang=3D"en-us"><br> <br> </span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Arial">In iSCSI as a rule we =
avoided setting or negotiating parameters that we don't need to =
set/negotiate and I think the number of accepted immediate commands is =
one of them.</font></span><span lang=3D"en-us"><br> <br> </span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Arial">Julo</font></span><span =
lang=3D"en-us"> </span></p><p dir=3D"LTR"><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><span =
lang=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"><b></b></span><span lang=3D"en-us"><b> <font size=3D"2" =
face=3D"Arial">RE: [Ips] Immediate Commands in =
iSCSI</font></b></span><span lang=3D"en-us"></span></p><div><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"></span><br =
class=3D"webkit-block-placeholder"></div><div><span =
lang=3D"en-us"></span><span lang=3D"en-us">&nbsp;</span><br =
class=3D"webkit-block-placeholder"></div><p dir=3D"LTR"><span =
lang=3D"en-us"><b></b></span><span lang=3D"en-us"><b><font =
color=3D"#E26200" size=3D"2" =
face=3D"Arial">Jacob_Cherian</font></b></span><span lang=3D"en-us"> =
</span></p><p dir=3D"LTR"><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font color=3D"#8F8F8F" size=3D"2" =
face=3D"Arial">to:</font></span><span lang=3D"en-us"> </span></p><p =
dir=3D"LTR"><span lang=3D"en-us"></span><span lang=3D"en-us"><font =
size=3D"2" face=3D"Arial">Julian Satran</font></span><span lang=3D"en-us">=
 </span></p><p dir=3D"LTR" align=3D"RIGHT"><span =
lang=3D"en-us"></span><span lang=3D"en-us"><font size=3D"1" =
face=3D"Arial">12/03/07 04:06 PM</font></span><span =
lang=3D"en-us"></span></p><div><span lang=3D"en-us"></span><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><br =
class=3D"webkit-block-placeholder"></div><div><span =
lang=3D"en-us"></span><span lang=3D"en-us">&nbsp;</span><br =
class=3D"webkit-block-placeholder"></div><p dir=3D"LTR"><span =
lang=3D"en-us"></span><span lang=3D"en-us"><font color=3D"#8F8F8F" =
size=3D"1" face=3D"Arial">Cc:</font></span><span lang=3D"en-us"> =
</span></p><p dir=3D"LTR"><span lang=3D"en-us"><b></b></span><span =
lang=3D"en-us"><b><font size=3D"1" =
face=3D"Arial">ips</font></b></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"1" face=3D"Arial">, =
Nam_Nguyen</font></span><span lang=3D"en-us"></span></p><div><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"></span><br =
class=3D"webkit-block-placeholder"></div><div><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><br =
class=3D"webkit-block-placeholder"></div><div><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><br =
class=3D"webkit-block-placeholder"></div><p dir=3D"LTR"><span =
lang=3D"en-us"></span><span =
lang=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span =
lang=3D"en-us"></span><span lang=3D"en-us"><br> </span><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><span =
lang=3D"en-us">&nbsp;</span></p><div><span lang=3D"en-us"></span><span =
lang=3D"en-us"></span><br class=3D"webkit-block-placeholder"></div><p =
dir=3D"LTR"><span lang=3D"en-us"></span><span lang=3D"en-us"><br> <br> =
<br> </span><span lang=3D"en-us"><font color=3D"#004080" size=3D"2" =
face=3D"Arial">The goal of the new status or key is to help the =
initiator to know the correct number of immediate commands that the =
target supports. The issue with overloading a status that does clearly =
define the error condition is that it does help in achieving =
interoperability between the myriad of initiators and targets that are =
out there. I was looking to see if there was another way that I had not =
considered.</font></span><span lang=3D"en-us"><br> </span><span =
lang=3D"en-us"><font color=3D"#004080" size=3D"2" =
face=3D"Arial">&nbsp;</font></span><span lang=3D"en-us"><br> =
<b></b></span><span lang=3D"en-us"><b><font color=3D"#004080" size=3D"2" =
face=3D"Arial">Jacob</font></b></span><span lang=3D"en-us"><br> =
</span><span lang=3D"en-us"><font color=3D"#004080" size=3D"2" =
face=3D"Arial">&nbsp;</font></span><span lang=3D"en-us"><br> =
</span><span lang=3D"en-us"><font color=3D"#004080" size=3D"2" =
face=3D"Arial">&nbsp;</font></span><span lang=3D"en-us"><br> =
<b></b></span><span lang=3D"en-us"><b><font size=3D"2" =
face=3D"Tahoma">From:</font></b></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Tahoma"> Julian Satran =
[mailto:</font></span><span lang=3D"en-us"></span><a =
href=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D14=
163229&amp;i=3D6"><span lang=3D"en-us"></span><span =
lang=3D"en-us"><u><font color=3D"#0000FF" size=3D"2" =
face=3D"Tahoma">Julian_Satran@...</font></u></span><span =
lang=3D"en-us"></span></a><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Tahoma">]</font></span><span =
lang=3D"en-us"><b></b></span><span lang=3D"en-us"><b><br> <font size=3D"2"=
 face=3D"Tahoma">Sent:</font></b></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Tahoma"> Monday, December 03, =
2007 1:23 AM</font></span><span lang=3D"en-us"><b></b></span><span =
lang=3D"en-us"><b><br> <font size=3D"2" =
face=3D"Tahoma">To:</font></b></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Tahoma"></font></span><span =
lang=3D"en-us"><b></b></span><span lang=3D"en-us"><b> <font size=3D"2" =
face=3D"Tahoma">Cherian</font></b></span><span lang=3D"en-us"></span><span=
 lang=3D"en-us"><font size=3D"2" face=3D"Tahoma">,</font></span><span =
lang=3D"en-us"><b></b></span><span lang=3D"en-us"><b> <font size=3D"2" =
face=3D"Tahoma">Jacob<br> Cc:</font></b></span><span =
lang=3D"en-us"></span><span lang=3D"en-us"><font size=3D"2" =
face=3D"Tahoma"></font></span><span lang=3D"en-us"> </span><a =
href=3D"http://www.nabble.com/user/SendEmail.jtp?type=3Dpost&amp;post=3D14=
163229&amp;i=3D7"><span lang=3D"en-us"><b></b></span><span =
lang=3D"en-us"><b><u><font color=3D"#0000FF" size=3D"2" =
face=3D"Tahoma">ips</font></u></b></span><span lang=3D"en-us"></span><span=
 lang=3D"en-us"><u><font color=3D"#0000FF" size=3D"2" =
face=3D"Tahoma">@...</font></u></span><span =
lang=3D"en-us"></span></a><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Tahoma">; Nguyen, =
Nam</font></span><span lang=3D"en-us"><b></b></span><span =
lang=3D"en-us"><b><br> <font size=3D"2" =
face=3D"Tahoma">Subject:</font></b></span><span =
lang=3D"en-us"></span><span lang=3D"en-us"><font size=3D"2" =
face=3D"Tahoma"> Re: [</font></span><span =
lang=3D"en-us"><b></b></span><span lang=3D"en-us"><b><font size=3D"2" =
face=3D"Tahoma">Ips</font></b></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"2" face=3D"Tahoma">] Immediate Commands in =
iSCSI</font></span><span lang=3D"en-us"><br> &nbsp;<br> </span><span =
lang=3D"en-us"><br> <font size=3D"2" face=3D"Arial">It looks to &nbsp;me =
that the Reject response with reason 0x06 should be enough for the =
initiator to handle the situation you describe.</font></span><span =
lang=3D"en-us"></span><span lang=3D"en-us"><br> <font size=3D"2" =
face=3D"Arial">If the TM are the cause then each of those has a response =
indicating termination. After receiving a reject an initiator should =
reissue new TMs only after getting back one or more responses. &nbsp;The =
initiator may even accurately guess the number of commands the targets =
is capable of handling per connection and per LU. The only case in which =
this handling may be awkward is over a WAN but if you are operating over =
a WAN and TM performance is your only worry you are in good shape =
:-)</font></span><span lang=3D"en-us"><br> </span><span =
lang=3D"en-us"><br> <font size=3D"2" =
face=3D"Arial">Julo</font></span><span lang=3D"en-us"> =
</span></p><div><span lang=3D"en-us"></span><span =
lang=3D"en-us"></span><span =
lang=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><span lang=3D"en-us"> =
&nbsp;</span><br class=3D"webkit-block-placeholder"></div><p =
dir=3D"LTR"><span lang=3D"en-us"><b></b></span><span =
lang=3D"en-us"><b><font size=3D"2" face=3D"Arial">[Ips] Immediate =
Commands in iSCSI</font></b></span><span =
lang=3D"en-us"></span></p><div><span lang=3D"en-us"></span><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><br =
class=3D"webkit-block-placeholder"></div><p dir=3D"LTR"><span =
lang=3D"en-us"></span><span lang=3D"en-us"><br> &nbsp; =
</span></p><div><span lang=3D"en-us"></span><span lang=3D"en-us"><font =
face=3D"Calibri">&nbsp;</font></span><br =
class=3D"webkit-block-placeholder"></div><p dir=3D"LTR"><span =
lang=3D"en-us"></span><span lang=3D"en-us"><b></b></span><span =
lang=3D"en-us"><b><font color=3D"#E26200" size=3D"2" =
face=3D"Arial">Jacob_Cherian</font></b></span><span lang=3D"en-us"> =
</span></p><p dir=3D"LTR"><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font color=3D"#8F8F8F" size=3D"2" =
face=3D"Arial">to:</font></span><span lang=3D"en-us"> </span></p><p =
dir=3D"LTR"><span lang=3D"en-us"><b></b></span><span =
lang=3D"en-us"><b><font size=3D"2" =
face=3D"Arial">ips</font></b></span><span lang=3D"en-us"> </span></p><p =
dir=3D"LTR" align=3D"RIGHT"><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"1" face=3D"Arial">12/03/07 05:23 =
AM</font></span><span lang=3D"en-us"></span></p><div><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><span =
lang=3D"en-us"></span><br class=3D"webkit-block-placeholder"></div><p =
dir=3D"LTR"><span lang=3D"en-us"><br> <font face=3D"Calibri">&nbsp;<br> =
&nbsp;</font></span></p><p dir=3D"LTR"><span lang=3D"en-us"></span><span =
lang=3D"en-us"></span><span lang=3D"en-us"><font color=3D"#8F8F8F" =
size=3D"1" face=3D"Arial">Cc:</font></span><span lang=3D"en-us"> =
</span></p><p dir=3D"LTR"><span lang=3D"en-us"></span><span =
lang=3D"en-us"><font size=3D"1" =
face=3D"Arial">Nam_Nguyen</font></span><span =
lang=3D"en-us"></span></p><div><span lang=3D"en-us"></span><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><br =
class=3D"webkit-block-placeholder"></div><div><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><br =
class=3D"webkit-block-placeholder"></div><div><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><br =
class=3D"webkit-block-placeholder"></div><p dir=3D"LTR"><span =
lang=3D"en-us"></span><span =
lang=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span =
lang=3D"en-us"></span><span lang=3D"en-us"><br> </span><span =
lang=3D"en-us"><br> <font face=3D"Calibri">&nbsp; =
</font></span></p><div><span lang=3D"en-us"></span><span =
lang=3D"en-us">&nbsp;</span><br =
class=3D"webkit-block-placeholder"></div><div><span =
lang=3D"en-us"></span><span lang=3D"en-us"></span><br =
class=3D"webkit-block-placeholder"></div><p dir=3D"LTR"><span =
lang=3D"en-us"></span><span lang=3D"en-us"><br> <br> <br> <br> =
</span><span lang=3D"en-us"><br> <font size=3D"2" face=3D"Courier =
New">RFC 3720 states:</font></span><span lang=3D"en-us"><br> =
</span><span lang=3D"en-us"><br> <font size=3D"2" face=3D"Courier =
New">The number of commands used for immediate delivery is not limited =
and their delivery for execution is not acknowledged through the =
numbering scheme. Immediate commands MAY be rejected by the iSCSI target =
layer due to a lack of resources. An iSCSI target MUST be able to handle =
at least one immediate task management command and one immediate =
non-task-management iSCSI command per connection at any =
time.</font></span><span lang=3D"en-us"><br> </span><span =
lang=3D"en-us"><br> </span><span lang=3D"en-us">&nbsp;<br> </span><span =
lang=3D"en-us"><br> <font size=3D"2" face=3D"Courier New">With storage =
systems that have very large number of logical units, we run into an =
issue when we use LU Reset or Abort Task for reset recovery. I couldn=92t =
find a way to tell an initiator how many immediate commands a target can =
accept. The issue with this is that if we have to issue multiple task =
management commands and it is more than what the target can accept, it =
will reject the task management request. Since we don=92t know why it =
was rejected, we will have to escalate the reset. This can be very =
disruptive with nodes that have very large number of logical units. =
There may be two ways to resolve this:</font></span><span =
lang=3D"en-us"><br> </span><span lang=3D"en-us"><br> </span><span =
lang=3D"en-us">&nbsp;<br> </span><span lang=3D"en-us"><br> <font =
size=3D"2" face=3D"Courier New">1) &nbsp; &nbsp; &nbsp;Define a new Text =
negotiation key for number of outstanding immediate commands supported. =
Unlike non-immediate (data) commands where we can send TASK SET FULL, =
there is no way for a target to report in the Task Management Function =
Response PDU that is unable to process the current request before it is =
out of resources. &nbsp;The default vaule for this new key can be 1, so =
if this key is not negotiated initiators can assume one per =
connection.</font></span><span lang=3D"en-us"><br> </span><span =
lang=3D"en-us"><br> <font size=3D"2" face=3D"Courier New">2) &nbsp; =
&nbsp; &nbsp;Define a new value for the Response field in the Task =
Management Function Response PDU for reporting that the target cannot =
process the request currently.</font></span><span lang=3D"en-us"><br> =
</span><span lang=3D"en-us"><br> </span><span lang=3D"en-us">&nbsp;<br> =
</span><span lang=3D"en-us"><br> <font size=3D"2" face=3D"Courier =
New">Any suggestions on how to resolve this?</font></span><span =
lang=3D"en-us"><br> </span><span lang=3D"en-us"><br> </span><span =
lang=3D"en-us">&nbsp;<br> </span><span lang=3D"en-us"><br> <font =
size=3D"2" face=3D"Courier New">Thanks,</font></span><span =
lang=3D"en-us"><br> </span><span lang=3D"en-us"><br> </span><span =
lang=3D"en-us"><b></b></span><span lang=3D"en-us"><b><font size=3D"2" =
face=3D"Courier New">Jacob</font></b></span><span lang=3D"en-us"> =
</span></p><div><span lang=3D"en-us"></span><span =
lang=3D"en-us"></span><br class=3D"webkit-block-placeholder"></div> =
</div> _______________________________________________<br>Ips mailing =
list<br><a href=3D"mailto:Ips@ietf.org">Ips@ietf.org</a><br><a =
href=3D"https://www1.ietf.org/mailman/listinfo/ips">https://www1.ietf.org/=
mailman/listinfo/ips</a><br></blockquote></div><br></div></body></html>=

--Apple-Mail-98--372455595--



--===============1738068149==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ips mailing list
Ips@ietf.org
https://www1.ietf.org/mailman/listinfo/ips

--===============1738068149==--





