From ips-bounces@ietf.org Thu Nov 03 10:15:19 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EXgoB-0001pQ-45; Thu, 03 Nov 2005 10:15:19 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EXgo9-0001pL-A0
	for ips@megatron.ietf.org; Thu, 03 Nov 2005 10:15:17 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA06070
	for <ips@ietf.org>; Thu, 3 Nov 2005 10:14:53 -0500 (EST)
Received: from ihemail2.lucent.com ([192.11.222.163])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EXh2u-00067I-81
	for ips@ietf.org; Thu, 03 Nov 2005 10:30:35 -0500
Received: from nl0006exch001h.wins.lucent.com (h135-85-76-62.lucent.com
	[135.85.76.62])
	by ihemail2.lucent.com (8.12.11/8.12.11) with ESMTP id jA3FDwiA015242; 
	Thu, 3 Nov 2005 09:13:59 -0600 (CST)
Received: by nl0006exch001h.nl.lucent.com with Internet Mail Service
	(5.5.2657.72) id <SQW9CY0R>; Thu, 3 Nov 2005 16:13:57 +0100
Message-ID: <7D5D48D2CAA3D84C813F5B154F43B15508724704@nl0006exch001u.nl.lucent.com>
From: "Wijnen, Bert (Bert)" <bwijnen@lucent.com>
To: "'r.natarajan@f5.com'" <r.natarajan@f5.com>, anil@charter.net,
	Keith McCloghrie <kzm@cisco.com>
Date: Thu, 3 Nov 2005 16:13:54 +0100 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 1ac7cc0a4cd376402b85bc1961a86ac2
Cc: ips@ietf.org, "Allison Mankin \(E-mail\)" <mankin@psg.com>
Subject: [Ips] MIB Doctor review: draft-ietf-ips-fcip-mib-09.txt
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

I am happy with revision 9.
That is It is good enough for publication as PS.
I have marked it so in I-D tracker.

Allison, you can continue your AD-review or go forward
with IETF Last Call as you see fit.

I have one nit left. Could considered a nit for IETF Last Call or
can be fixed with RFC-Editor note:

  !! Missing Reference for citation: [RFC4001]
  P007 L008: -- [RFC4001], [RFC4044], [RFC2863], [RFC2580], and [RFC3411].

Bert

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



From ips-bounces@ietf.org Thu Nov 03 11:21:01 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EXhpl-0006oF-4q; Thu, 03 Nov 2005 11:21:01 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EXhpj-0006oA-UC
	for ips@megatron.ietf.org; Thu, 03 Nov 2005 11:21:00 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA10125
	for <ips@ietf.org>; Thu, 3 Nov 2005 11:20:38 -0500 (EST)
Received: from ihemail2.lucent.com ([192.11.222.163])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EXi4X-0001AV-2F
	for ips@ietf.org; Thu, 03 Nov 2005 11:36:19 -0500
Received: from nl0006exch001h.wins.lucent.com (h135-85-76-62.lucent.com
	[135.85.76.62])
	by ihemail2.lucent.com (8.12.11/8.12.11) with ESMTP id jA3GKMfL010464; 
	Thu, 3 Nov 2005 10:20:22 -0600 (CST)
Received: by nl0006exch001h.nl.lucent.com with Internet Mail Service
	(5.5.2657.72) id <SQW9C501>; Thu, 3 Nov 2005 17:20:20 +0100
Message-ID: <7D5D48D2CAA3D84C813F5B154F43B1550872475A@nl0006exch001u.nl.lucent.com>
From: "Wijnen, Bert (Bert)" <bwijnen@lucent.com>
To: Mark Bakke <mbakke@cisco.com>, David Black <Black_David@emc.com>,
	David B Harrington <dbharrington@comcast.net>, Keith McCloghrie
	<kzm@cisco.com>, Jim Muchow <jamesdmuchow@yahoo.com>
Date: Thu, 3 Nov 2005 17:20:20 +0100 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 3fbd9b434023f8abfcb1532abaec7a21
Cc: "Ipswg \(E-mail\)" <ips@ietf.org>
Subject: [Ips] RE: IPS Auth MIB 07 changes
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

I will let David Harrington respond to your answers on his
comments. After he responds I'll see what I think the total
status is of MIB Doctor Review.

I have comments on your answers to my earlier comments below.
But first some other comments

- Section 4 end of 1st para
     within the IPv4 [RFC2011] or IPv6 [RFC2465] MIB modules.
  RFC2011 has an 2011bis close to being Published (see RFC-Editor queue)
  and it obsoletes both 2011 and 2465. Maybe better to cite and reference
     draft-ietf-ipv6-rfc2011-update-10.txt


- I would change:

    REVISION "200510180000Z" -- October 18, 2005
    DESCRIPTION
        "Initial version of the IP Storage Authentication MIB module"

  into

    REVISION "200510180000Z" -- October 18, 2005
    DESCRIPTION
        "Initial version of the IP Storage Authentication MIB module,
         published as RFCyyyy"  -- RFC-Editor fill in yyyy

- comments/qeustions about IpsAuthAddress

  In IpsAuthAddress TC I see reference to RFC2851, which has been obsoleted
  by RFC4001. I also wonder if it is clear for people how the address
  represented by the TC is being formatted. Why do you not do a 
  IpsAuthAddressType TC in additoon to a IpsAuthAddress TC.
  The TeHopAddressType and TeHopAddress in RFC3811 are a good example
  how it can be done in a much cleaner manner than what you are doing.

  But maybe you only use AddressFamilyNumbers, because that seems to be 
  the discriminator in the 2 cases where you use the TC. Mmm...

I need to spend more time on this module/document. I don't have untill
after the upcoming IETF.

W.r.t. your answers on my earlier comments:

> Comments from Bert Wijnen 2/1/2005
> 
> >So this is hwta I get:
> >
> >   C:\bwijnen\smicng\work>smicng ipsauth.inc
> >   E: f(ipsauth.mi2), (53,7) Leading sub-Id "mib-2" is not known in
> >      current module
> >   W: f(ipsauth.mi2), (5,5) "experimental" imported but not used
> >   *** 1 error and 1 warning in parsing
> >  
> >
> Fixed.
> 

Yep, thanks  Compiles clean now.

> >When I fix that, then it passes SYNTAX checking with SMIXng
> >It also passes smilint syntax checking then.
> >It also passes idnits checking.
> >

Syntax checking clean now.
idnits checking clean now.

> >I think I would change:
> >
> >     ipsAuthDescriptors OBJECT IDENTIFIER ::= { ipsAuthObjects 1 }
> >
> >     ipsAuthMethodTypes OBJECT IDENTIFIER ::= { ipsAuthDescriptors 1 }
> >
> >   into something like:
> >
> >     ipsAuthDescriptors OBJECT IDENTIFIER ::= { ipsAuthObjects 1 }
> >
> >     ipsAuthMethodTypes OBJECT-IDENTITY
> >         STATUS         current
> >         DESCRIPTION   "Registration point for iSCSI Method Types".
> >         REFERENCE     "iSCSI Protocol Specification."
> >     ::= { ipsAuthDescriptors 1 }
> >
> >   It lets you say some more about what this is.
> >   Not a blocking comment though.
> >  
> >
> Done.
> 
Thanks

> >I see in DESCRIPTION of ipsAuthInstIndex (which is a 
> not-accessible index)
> >that values do not need to be preserved over reboot.
> >Does that also mean that ipsAuthInstDescr values do not need to be
> >preserved over reboot?
> >  
> >
> Fixed *Index to recomment preserving across reboots.  Also added
> a StorageType to this row (same as for the Node in the iSCSI MIB)
> to address the ipsAuthInstDescr values.
> 

thanks

> >A similar (not need to be preserved over reboot) is present for:
> >ipsAuthIdentIndex, and yet there is a StorageType object in that
> >table. So what if the StorageType syas "permanent" ??
> >Or what if it says "nonVolatile"?
> >  
> >
> Fixed.
> 
thanks

> >By the way, for a STorageType object you MUST specify which columns
> >(or none) of the writable columns must be writable for permanent 
> >objects.
> >  
> >
> Fixed for ipsAuthInstDescr; all other objects are read-only 
> or read-create.
> 

A read-create object is also a "writable" object. SO you must say it 
for those too.

> >You also need to describe if any (writable) objects in row can
> >be changed when the row is in "active" state.
> >  
> >
> Fixed for ipsAuthInstDescr; all other objects are read-only 
> or read-create.
> 
A read-create object is also a "writable" object. SO you must say it 
for those too.

> >This is all described in RFC2579 and in the mib-review-guidelines.
> >
> 
> Other Modifications:
> 
> Changed "octet string" to "character string" in 
> SnmpAdminString object 
> descriptions.
> 
> Updated references.
> 
> Updated boilerplate text to match RFC 3978/3979.
> 
> Moved Acknowledgements section to the end to match other RFCs.
> 

Great

Bert
> --
> Mark
> 

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



From ips-bounces@ietf.org Thu Nov 03 19:38:50 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EXpbW-0004jK-3y; Thu, 03 Nov 2005 19:38:50 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EXpbU-0004j4-KK
	for ips@megatron.ietf.org; Thu, 03 Nov 2005 19:38:48 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA08765
	for <ips@ietf.org>; Thu, 3 Nov 2005 19:38:25 -0500 (EST)
Received: from atlrel8.hp.com ([156.153.255.206])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EXpqN-00025C-K8
	for ips@ietf.org; Thu, 03 Nov 2005 19:54:12 -0500
Received: from rosemail.rose.hp.com (rosemail.rose.hp.com [15.43.209.160])
	by atlrel8.hp.com (Postfix) with ESMTP id B80D34EE8
	for <ips@ietf.org>; Thu,  3 Nov 2005 19:38:46 -0500 (EST)
Received: from [127.0.0.1] (unknown [15.244.202.63])
	by rosemail.rose.hp.com (Postfix) with ESMTP id E2DB58003
	for <ips@ietf.org>; Thu,  3 Nov 2005 16:38:45 -0800 (PST)
Message-ID: <436AAD92.5030108@rose.hp.com>
Date: Thu, 03 Nov 2005 16:38:42 -0800
From: "Mallikarjun C." <cbm@rose.hp.com>
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: IPS <ips@ietf.org>
Subject: Re: [Ips] Clearing the outstanding TTTs
References: <435D3ABF.1060506@rose.hp.com>
	<2ce6df540c2cb3cd3b8d17b3beb58569@wasabisystems.com>
	<435ECBDF.2090108@rose.hp.com>
	<c0d4019c597a6100833ad43562af3cf8@wasabisystems.com>
	<4366A84B.7070700@rose.hp.com>
	<6813935e5bbd5c7511a9d4b311932b81@wasabisystems.com>
In-Reply-To: <6813935e5bbd5c7511a9d4b311932b81@wasabisystems.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d890c9ddd0b0a61e8c597ad30c1c2176
Content-Transfer-Encoding: 7bit
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

Bill,

 > I feel that these TMF actions are exactly the thing you want to use when
 > things are broken and the TTTs WON'T clear, yet making them wait for
 > clearing actually makes that impossible.

I wonder about this reasoning though, because I see TMF as an attempt to 
deal with target-side problems rather than initiator's.  If a TTT
does not clear, it's most likely an initiator problem.  (although one 
could construct counter-examples)

But I see the overall concern - the task termination process is much 
longer than the ideal.

As we know, two broad approaches exist for a target dealing multi-task 
abort situations:

I) Wait until all active affected TTTs become invalid and then
    act on the TMF

II) Act immediately on the TMF, terminate all affected tasks
     immediately

I see a few options under approach (I).

a) Wait indefinitely
b) Wait until a pre-negotiated timeout (a new key?)
	- considerably narrows, but does not avoid the data in
           flight problem.
c) Wait indefinitely, but feel free to use a big hammer
	- Currently the sanctioned behavior in RFC3720 &
           implementer's guide.


And I see a few options again under approach (II).

a) Deal with Data-outs in flight to invalid TTTs on an ad-hoc basis
	- messy buffer management, connection drops with iSCSI/iSER

b) Proactively drop all Third-party affected sessions, and all other
    connections in the issuing session.
	- Way too big hammer.

c) Adopt a new scheme that is more elegant, and more responsive
    to TMFs - albeit it might turn out to be more complex to implement
    in order to be SAM-compliant.


I am exploring a (II-c) scheme - I'll attempt to send it out shortly 
(unless I spot major bugs myself).


Mallikarjun

Mallikarjun Chadalapaka
Networked Storage Architecture
StorageWorks Division
Hewlett-Packard MS 5668
Roseville CA 95747
cbm [at] rose.hp.com


William Studenmund wrote:
> On Oct 31, 2005, at 3:27 PM, Mallikarjun C. wrote:
> 
>> Bill,
>>
>> I hope you are not suggesting conditioning iSCSI protocol behavior 
>> based on SCSI TAS bit setting.
> 
> 
> I am proposing a MAY. The main condition for the MAY is that there be a 
> way to know if the initiator is aware of the abort. I do not see how it 
> is onerous that TAS bit setting, which is one of the controls dictating 
> if the initiator is aware of the abort, comes into play. iSCSI has 
> spoken about things that SCSI has to support, such as autosense, so we 
> have a precedent of one layer influencing another.
> 
> Since iSCSI is, strictly speaking, following SAM-2, we could use an 
> Asynchronous Event containing a Unit Attention of COMMANDS CLEARED BY 
> ANOTHER INITIATOR. We then use acknowelgement of the Async Event as 
> indicating that all tasks on all sessions have stopped; unfortunately I 
> doubt this will work for MC/S.
> 
> We already say you MUST use autosense and you SHOULD use ACA, maybe this 
> discussion indicates LUs SHOULD initialize TAS to 1 on reset.
> 
>> Also, the process of discarding the Data-out PDUs itself transiently 
>> consumes some buffers.  And bad things happen for iSCSI/iSER if the 
>> tagged buffers are not available.  I do not want us to spec different 
>> task set behaviors for iSCSI-3720 and iSCSI/iSER.
> 
> 
> I don't think iSCSI-3720 and iSCSI/iSER will have different task set 
> behaviors with this proposal. I agree we should not lightly do that...
> 
> The idea is to give the initiator a second way to indicate that it 
> agrees the task is dead. The motivation is that it is a way that does 
> not require the Task Management Function to wait for the initiator to 
> agree the task is dead; between the TMF deciding the task is dead and 
> this acknowledgement, any received data will be discarded.
> 
> As for non-TCP transports, I think I can think of a few ways to make 
> this work. These thoughts are still very rough. They would depend on the 
> target's behavior, but since this is a MAY that the target can choose, 
> it just avoids the choice if it can't make things work.
> 
>> Finally, we have to specify an approach that works for 
>> multi-connection sessions (where a Response/Ack etc. on one connection 
>> says nothing about data in flight on others), as well as with 
>> operations affecting SCSI objects accessible via multiple sessions 
>> (clear task set, LU reset etc.).
> 
> 
> The multiple sessions case is EXACTLY why I want this.
> 
> As for MC/S, I agree that one connection says nothing about data in 
> flight on others. But a given command is supposed to be allegiant to 
> only one connection at a time, so that the target receiving StatSN 
> acknowledgement of a tasks's (aborted) status will say something about 
> all of the data for that given task. Iterate over all the tasks, and we 
> will know that no data are in flight.
> 
>> I would be willing to consider any proposal that meets these 
>> requirements.  The Implementers' guide details one such (arrived at 
>> after a lot of discussion on the list).  I am however not sure I 
>> understand your concerns per se.
> 
> 
> If initiator 2 is using TMF LU Reset to clean up after initiator 1 
> because initiator 1 caught on fire and exploded, how will initiator 1 
> ever clear its outstanding TTTs?
> 
> That's my concern - waiting for the TTTs to clear assumes that they will 
> actually clear.
> 
> I feel that these TMF actions are exactly the thing you want to use when 
> things are broken and the TTTs WON'T clear, yet making them wait for 
> clearing actually makes that impossible.
> 
> To fix this, we either depend on the target timing out the TTTs, the 
> target does something we don't talk about yet (like close all the 
> connections, thus terminating in-flight data), or the TMF LU reset waits 
> forever (or until the repair person comes out and replaces initiator 1). 
> We give no guidelines to targets or initiators about timeouts (which I 
> think is a fine thing), yet I think this is a case where sanity and 
> interoperability would really need it.
> 
> My desire is to provide a way, within the spec, to permit the TMF 
> actions to complete in a timely manner and also maintain the requirement 
> that no status for these aborted commands be generated after the TMF 
> completes. And for all of this to happen when one or more of the 
> initiators is slow or dead.
> 
> Another case where this can arise is when the iSCSI session goes over 
> the public internet. We have had a few inter-continental deployments, 
> and they give a different view on what exactly is timely behavior.
> 
> 
> If we are in a data center, with good connectivity and active hosts, I 
> agree that what you have proposed in this document is very nice. It's 
> politer than just aborting, and if TAS is 0, it can be very important. 
> My concern is what do we do if we have inactive hosts and/or bad 
> connectivity.
> 
> 
> Thank you for continuing to respond even when you don't understand why 
> I'm making a fuss. I appreciate it. Also, you are more clever about 
> these issues than I am, and a solution to this issue with your input 
> will probably be much better than any without. ;-)
> 
> Take care,
> 
> Bill


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



From ips-bounces@ietf.org Thu Nov 03 20:32:09 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EXqR7-0000o7-AL; Thu, 03 Nov 2005 20:32:09 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EXqR5-0000o2-Nv
	for ips@megatron.ietf.org; Thu, 03 Nov 2005 20:32:07 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA11927
	for <ips@ietf.org>; Thu, 3 Nov 2005 20:31:45 -0500 (EST)
Received: from atlrel9.hp.com ([156.153.255.214])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EXqfy-0003dz-Kk
	for ips@ietf.org; Thu, 03 Nov 2005 20:47:32 -0500
Received: from rosemail.rose.hp.com (rosemail.rose.hp.com [15.43.209.160])
	by atlrel9.hp.com (Postfix) with ESMTP id 1255F105DA
	for <ips@ietf.org>; Thu,  3 Nov 2005 20:32:04 -0500 (EST)
Received: from [127.0.0.1] (unknown [15.244.202.63])
	by rosemail.rose.hp.com (Postfix) with ESMTP id 3701B8003
	for <ips@ietf.org>; Thu,  3 Nov 2005 17:32:04 -0800 (PST)
Message-ID: <436ABA10.6040803@rose.hp.com>
Date: Thu, 03 Nov 2005 17:32:00 -0800
From: "Mallikarjun C." <cbm@rose.hp.com>
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: IPS <ips@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b1c41982e167b872076d0018e4e1dc3c
Content-Transfer-Encoding: quoted-printable
Subject: [Ips] Fast multi-task abort model
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

As promised earlier, this memo describes a possible new iSCSI multi-task=20
abort model that supports a much more expeditious termination of=20
affected tasks.  I gave it a decent attention, but have not thought=20
through all the corner cases fully, so please give it a critical read.=20
If we agree adopting something like this,  consider if it should be an=20
additional behavior when a new key "FastMultiTaskAbort=3DYes" is=20
negotiated by both parties.

So where does the "fast" in FastMultTaskAbort come from?

- Eliminates the CmdSN wait on third-party sessions
- Eliminates the TTT wait on issuing & third-party sessions
- Eliminates the wait on third-party StatSN acks for the issuing
   session

And:
- Should work identically for iSCSI-3720 & iSCSI/iSER
- No new SCSI-level requirements (e.g. TAS=3D1)

However, the downside is that the new model is more complex.

The model description follows.
--=20
Mallikarjun

Mallikarjun Chadalapaka
Networked Storage Architecture
StorageWorks Division
Hewlett-Packard MS 5668
Roseville CA 95747
cbm [at] rose.hp.com



The following iSCSI protocol actions happen on an initiator iSCSI layer
after issuing a multi-task abort TMF - i.e. one of Abort Task Set, Clear
Task Set, LU Reset, Target Cold Reset, and Target Warm Reset TMFs:

1. The initiator iSCSI layer must not send any more Data-Out PDUs
    for affected tasks on the issuing connection of the issuing iSCSI
    session once the TMF is sent to the target.

2. Initiator iSCSI layer should receive any responses that the target
    may provide for some tasks among the affected tasks (may process them
    as usual because they are guaranteed to have chronologically
    originated before the TMF response).

3. Initiator iSCSI layer must respond to the Async Message PDU with
    AsyncEvent=3D5 by taking two steps in this order:
	a) stop Data-Out transfers on that connection for all active
            TTTs for the affected LUN quoted in the Async Message PDU.
	b) acknowledge the StatSN of the Async Message PDU via a
            Nop-Out PDU with ITT=3D0xffffffff (i.e. non-ping flavor),
            while copying the LUN field from Async Message to Nop-Out.

4. Initiator iSCSI layer receives the task management response
    concluding all the tasks in the set of affected tasks.



The following iSCSI protocol actions happen on a target iSCSI layer
receiving a multi-task abort TMF - i.e. one of Abort Task Set, Clear
Task Set, LU Reset, Target Cold Reset, and Target Warm Reset TMFs:

0. Based on the CmdSN ordering, target iSCSI layer waits for all
    SCSI Command PDUs of the affected tasks to be received on the
    issuing session.  On third-party affected sessions, only the
    instantiated tasks have to be considered for the purpose of
    determining the affected tasks - i.e. no waiting is needed on
    third-party sessions.  In the case of target-scoped requests (i.e.
    target resets), all the commands that are not yet received on
    the issuing session in the command stream however can be considered
    to have been received with no command waiting period - i.e. the
    entire CmdSN space upto the CmdSN of the task management function
    can be "plugged".

1. Target iSCSI layer initiates the termination proceedings on all
    affected tasks immediately - this may involve interacting with the
    local SCSI layer.

2. Target iSCSI layer leaves all active "affected TTTs" (i.e. active
    TTTs associated with "affected tasks") valid along with any buffer
    allocations for the TTTs intact.

3. Target iSCSI layer generates an Asynchronous Message PDU with a new
    AsyncEvent=3D5 that says "all active tasks for LU with matching LUN
    field in the Async Message PDU are being terminated" on:
	a) each connection of each third-party session that at least one
            affected task is allegiant to, and
	b) each connection except the non-issuing connection of the
            issuing session that at least one affected task is allegiant
            to.

    If there are multiple affected LUs (say due to a target reset),
    then one Async Message PDU must be sent for each such LU on each
    affected connection.

4. Once the local SCSI layer had terminated the SCSI tasks and handed
    a TMF Response to it, the target iSCSI layer takes note of last-sent
    and unaknowledged StatSN on each of the connections in the iSCSI
    session(s) sharing the affected tasks, and waits for acknowledgement
    of each such StatSN (may solicit for acknowledgement by way of a
    Nop-In).  If any new task responses for the affected LU(s) are
    meanwhile received from the SCSI layer while waiting for StatSN
    acknowledgement(s), those Response PDUs =AD the first SCSI Response
    PDU of which is presumably carrying the UA notification - must
    be held and queued at the iSCSI layer.

5. For each of the affected sessions, the target iSCSI layer waits
    independently for the StatSN acknowledgements.
	a) As all StatSNs are acknowledged on the issuing session,
            the target iSCSI layer sends the TMF Response in an iSCSI
            PDU to the issuing initiator.  All task response PDUs held
	   back at the iSCSI layer in Step#4, if any, are simultaneously
	   eligible for being placed on the wire as appropriate.
	b) As all StatSNs are acknowledged on a third-party session,
	   all task response PDUs held back at the iSCSI layer in
            Step#4, if any, are simultaneously eligible for being placed
	   on the wire as appropriate.

6. Technically, the task termination is complete in Step#5. Data
    transfers corresponding to terminated tasks may however still be in
    progress by Step#6.  In the case of iSCSI/iSER, these transfers
    would be into tagged buffers with STags not owned by any active
    tasks.  Target iSCSI layer must free up the affected TTTs and the
    corresponding buffers as it receives the associated Nop-Out
    acknowledgement that the initiator generated in Step#3b (initiator
    actions).  A target may on an implementation-defined internal timeout
    choose to drop the connections that it does not receive the expected
    Nop-Out acknowledgement on and reclaim the buffer and TTT resources.



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



From ips-bounces@ietf.org Fri Nov 04 18:38:40 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EYB8q-0004zQ-Dt; Fri, 04 Nov 2005 18:38:40 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EYB8p-0004zI-KC
	for ips@megatron.ietf.org; Fri, 04 Nov 2005 18:38:39 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA21818
	for <ips@ietf.org>; Fri, 4 Nov 2005 18:38:16 -0500 (EST)
Received: from e3.ny.us.ibm.com ([32.97.182.143])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EYBNv-0006h0-0H
	for ips@ietf.org; Fri, 04 Nov 2005 18:54:15 -0500
Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234])
	by e3.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id jA4NcUxS020382
	for <ips@ietf.org>; Fri, 4 Nov 2005 18:38:30 -0500
Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64])
	by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id
	jA4NcUBu113902 for <ips@ietf.org>; Fri, 4 Nov 2005 18:38:30 -0500
Received: from d01av04.pok.ibm.com (loopback [127.0.0.1])
	by d01av04.pok.ibm.com (8.12.11/8.13.3) with ESMTP id jA4NcTbP032731
	for <ips@ietf.org>; Fri, 4 Nov 2005 18:38:30 -0500
Received: from d01mlc04.pok.ibm.com (d01mlc04.pok.ibm.com [9.56.228.37])
	by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id jA4NcT4l032727; 
	Fri, 4 Nov 2005 18:38:29 -0500
In-Reply-To: <F222151D3323874393F83102D614E0557A70AA@CORPUSMX20A.corp.emc.com>
Importance: Normal
MIME-Version: 1.0
To: Black_David@emc.com
Subject: Re: [Ips] iSER Publication Requested
X-Mailer: Lotus Notes Release 6.5.2 June 01, 2004
Message-ID: <OF4249259B.7E13F239-ON852570AF.00814523-882570AF.0081DD9A@us.ibm.com>
From: Mike Ko <mako@almaden.ibm.com>
Date: Fri, 4 Nov 2005 15:38:28 -0800
X-MIMETrack: Serialize by Router on D01MLC04/01/M/IBM(Release 6.5.4FP2 |
	September 29, 2005) at 11/04/2005 18:38:29,
	Serialize complete at 11/04/2005 18:38:29
Content-Type: text/plain; charset="US-ASCII"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2ed806e2f53ff1a061ad4f97e00345ac
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

Please note that the Verbs document referenced in the iSER draft refers to 
the version available at the RDMA Consortium website and not the expired 
version at IETF.  The RDMA Consortium version, titled 
"draft-hilland-iwarp-verbs-v1.0-RDMAC" as specified in section 13.2 of the 
iSER draft, is available at www.rdmaconsortium.org.

Mike
Sent by:        ips-bounces@ietf.org
To:     ips@ietf.org
cc:     Black_David@emc.com 
Subject:        [Ips] iSER Publication Requested


Publication as an RFC has just been requested on the iSER draft.
The PROTO process (cf. draft-ietf-proto-wgchair-doc-shepherding-05.txt)
is being used.  Here is the PROTO writeup:

             iSCSI Extensions for RDMA Specification 
                    draft-ietf-ips-iser-05.txt

Requested Publication Status: Proposed Standard
PROTO shepherd: David L. Black (IPS WG Chair)
------------------------------------------------------------------------

   1.a) Have the chairs personally reviewed this version of the Internet
        Draft (ID), and in particular, do they believe this ID is ready
        to forward to the IESG for publication?

Yes.

   1.b) Has the document had adequate review from both key WG members
        and key non-WG members?

Yes.

        Do you have any concerns about the
        depth or breadth of the reviews that have been performed?

No.

   1.c) Do you have concerns that the document needs more review from a
        particular (broader) perspective (e.g., security, operational
        complexity, someone familiar with AAA, etc.)?

The Security Considerations includes a brief discussion of iSER usage
on non-IP networks.  This discussion (Section 11, p.78) should be fine,
but the Security Area should double-check it.

   1.d) Do you have any specific concerns/issues with this document that
        you believe the ADs and/or IESG should be aware of?  For
        example, perhaps you are uncomfortable with certain parts of the
        document, or have concerns whether there really is a need for
        it.  In any event, if your issues have been discussed in the WG
        and the WG has indicated it that it still wishes to advance the
        document, detail those concerns in the write-up.

No.

   1.e) How solid is the WG consensus behind this document? Does it
        represent the strong concurrence of a few individuals, with
        others being silent, or does the WG as a whole understand and
        agree with it?

The portion of the WG interested in RDMA understands and agrees with
this document.

   1.f) [... not sent to the WG ...]

   1.g) Have the chairs verified that the document adheres to all of the
        ID nits? (see http://www.ietf.org/ID-Checklist.html).

The online checker says everything is fine.

   1.h) Is the document split into normative and informative references?

Yes.

        Are there normative references to IDs, where the IDs are not
        also ready for advancement or are otherwise in an unclear state?
        (note here that the RFC editor will not publish an RFC with
        normative references to IDs, it will delay publication until all
        such IDs are also ready for publication as RFCs.)

There are three normative references to RDDP WG drafts:
                 - draft-ietf-rddp-rdmap
                 - draft-ietf-rddp-ddp
                 - draft-ietf-rddp-mpa
Publication has been requested for all three of these drafts.

There is an informative reference to an expired VERBS draft:
                 - draft-hilland-iwarp-verbs
This reference is not cited in the body of this (iSER) draft.
That VERBS draft has expired and will not be published as an RFC.
An RFC Editor Note should be used to remove this reference.

   1.i) For Standards Track and BCP documents, the IESG approval
        announcement includes a write-up section with the following
        sections:

        *    Technical Summary

        *    Working Group Summary

        *    Protocol Quality

   1.j) Please provide such a write-up.  Recent examples can be found in
        the "protocol action" announcements for approved documents.

-- Technical Summary
 
   iSCSI Extensions for RDMA provides the RDMA data transfer capability 
   to iSCSI by layering iSCSI on top of an RDMA-Capable Protocol such 
   as the iWARP protocol suite.  An RDMA-Capable Protocol provides RDMA 
   Read and Write services, which enable data to be transferred 
   directly into SCSI I/O Buffers without intermediate data copies. 
   This document describes the extensions to the iSCSI protocol to 
   support RDMA services as provided by an RDMA-Capable Protocol such 
   as the iWARP protocol suite. 

-- Working Group Summary

   Interest in using iSER to support iSCSI on non-IP networks has
   been accommodated by a careful revision of terminology, including a
   WG last call on the revised terminology.  Any actual protocol
   specification work for non-IP networks (e.g., for InfiniBand) will
   be conducted outside the IETF (e.g., in the InfiniBand Trade
   Association).

-- Protocol Quality

This protocol has been reviewed for the IPS WG by David L. Black.

----------------------------------------------------
David L. Black, Senior Technologist
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



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



From ips-bounces@ietf.org Sat Nov 05 13:38:24 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EYSvo-0001Bj-Fo; Sat, 05 Nov 2005 13:38:24 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EYSvk-0001Aw-Hk; Sat, 05 Nov 2005 13:38:20 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA13484;
	Sat, 5 Nov 2005 13:37:55 -0500 (EST)
Received: from [132.151.6.50] (helo=newodin.ietf.org)
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1EYTB0-00005h-CF; Sat, 05 Nov 2005 13:54:06 -0500
Received: from apache by newodin.ietf.org with local (Exim 4.43)
	id 1EYSvk-0007sg-0s; Sat, 05 Nov 2005 13:38:20 -0500
X-test-idtracker: no
To: IETF-Announce <ietf-announce@ietf.org>
From: The IESG <iesg-secretary@ietf.org>
Message-Id: <E1EYSvk-0007sg-0s@newodin.ietf.org>
Date: Sat, 05 Nov 2005 13:38:20 -0500
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7a6398bf8aaeabc7a7bb696b6b0a2aad
Cc: ips@ietf.org
Subject: [Ips] Last Call: 'Definitions of Managed Objects for FCIP' to
 Proposed Standard 
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: iesg@ietf.org
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

The IESG has received a request from the IP Storage WG to consider the 
following document:

- 'Definitions of Managed Objects for FCIP '
   <draft-ietf-ips-fcip-mib-09.txt> as a Proposed Standard

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action.  Please send any comments to the
iesg@ietf.org or ietf@ietf.org mailing lists by 2005-11-19.

The file can be obtained via
http://www.ietf.org/internet-drafts/draft-ietf-ips-fcip-mib-09.txt


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



From ips-bounces@ietf.org Mon Nov 07 13:49:43 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EZC3r-0005QZ-Hb; Mon, 07 Nov 2005 13:49:43 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EZC3p-0005Py-PX
	for ips@megatron.ietf.org; Mon, 07 Nov 2005 13:49:41 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA28852
	for <ips@ietf.org>; Mon, 7 Nov 2005 13:49:15 -0500 (EST)
Received: from mononoke.wasabisystems.com ([66.173.145.228])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EZCJT-0004TY-8b
	for ips@ietf.org; Mon, 07 Nov 2005 14:05:52 -0500
Received: from [10.0.0.10] (h-66-166-188-91.sndacagl.covad.net [66.166.188.91])
	by mononoke.wasabisystems.com (Postfix) with ESMTP
	id DCD4587061; Mon,  7 Nov 2005 13:49:28 -0500 (EST)
In-Reply-To: <436AAD92.5030108@rose.hp.com>
References: <435D3ABF.1060506@rose.hp.com>
	<2ce6df540c2cb3cd3b8d17b3beb58569@wasabisystems.com>
	<435ECBDF.2090108@rose.hp.com>
	<c0d4019c597a6100833ad43562af3cf8@wasabisystems.com>
	<4366A84B.7070700@rose.hp.com>
	<6813935e5bbd5c7511a9d4b311932b81@wasabisystems.com>
	<436AAD92.5030108@rose.hp.com>
Mime-Version: 1.0 (Apple Message framework v623)
Message-Id: <bb4c59d00a789f050e19cadbc048d4f6@wasabisystems.com>
From: William Studenmund <wrstuden@wasabisystems.com>
Subject: Re: [Ips] Clearing the outstanding TTTs
Date: Mon, 7 Nov 2005 10:49:20 -0800
To: "Mallikarjun C." <cbm@rose.hp.com>
X-Pgp-Agent: GPGMail 1.0 (v30, 10.3)
X-Mailer: Apple Mail (2.623)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0ddefe323dd869ab027dbfff7eff0465
Cc: IPS <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>
Content-Type: multipart/mixed; boundary="===============0598584081=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org


--===============0598584081==
Content-Type: multipart/signed; protocol="application/pgp-signature";
	micalg=pgp-sha1; boundary="Apple-Mail-1-610821950"
Content-Transfer-Encoding: 7bit


--Apple-Mail-1-610821950
Content-Type: text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 7bit

On Nov 3, 2005, at 4:38 PM, Mallikarjun C. wrote:

> Bill,
>
> > I feel that these TMF actions are exactly the thing you want to use 
> when
> > things are broken and the TTTs WON'T clear, yet making them wait for
> > clearing actually makes that impossible.
>
> I wonder about this reasoning though, because I see TMF as an attempt 
> to deal with target-side problems rather than initiator's.  If a TTT
> does not clear, it's most likely an initiator problem.  (although one 
> could construct counter-examples)

I just realized one point I had forgotten to make clear. Our target 
uses the task set clearing code to also handle Persistent Reserve Out 
Preempt and Abort operations. So I have had bad target and bad 
initiator cases in mind all the time. :-)

> But I see the overall concern - the task termination process is much 
> longer than the ideal.

I'm also reviewing your proposal. Thank you for making it.

Take care,

Bill

--Apple-Mail-1-610821950
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFDb6G1DJT2Egh26K0RAjsXAKCJ/L+ys4zpe5MIAd+JpkgEa8QWLwCgmyFA
Mv7tv9v/Ys0IKMH750XRfsI=
=pbwE
-----END PGP SIGNATURE-----

--Apple-Mail-1-610821950--



--===============0598584081==
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

--===============0598584081==--





From ips-bounces@ietf.org Tue Nov 08 15:43:13 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EZaJF-00066t-Rx; Tue, 08 Nov 2005 15:43:13 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EZaJE-00066j-SR
	for ips@megatron.ietf.org; Tue, 08 Nov 2005 15:43:12 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA02384
	for <ips@ietf.org>; Tue, 8 Nov 2005 15:42:45 -0500 (EST)
From: Black_David@emc.com
Received: from mailhub.lss.emc.com ([168.159.2.31])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EZaZ6-0007pV-8h
	for ips@ietf.org; Tue, 08 Nov 2005 15:59:37 -0500
Received: from mxic2.corp.emc.com (mxic2.corp.emc.com [128.221.12.9])
	by mailhub.lss.emc.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id
	jA8Kh3Of015848; Tue, 8 Nov 2005 15:43:06 -0500 (EST)
Received: by mxic2.corp.emc.com with Internet Mail Service (5.5.2653.19)
	id <W3G8D2Y2>; Tue, 8 Nov 2005 15:43:02 -0500
Message-ID: <F222151D3323874393F83102D614E05501551C8B@CORPUSMX20A.corp.emc.com>
To: ips@ietf.org
Date: Tue, 8 Nov 2005 15:42:46 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.1.0.0,
	Antispam-Data: 2005.11.8.22
X-PerlMx-Spam: Gauge=, SPAM=0%, Reasons='EMC_BODY_1+ -5, EMC_FROM_00+ -3,
	NO_REAL_NAME 0, __C230066_P5 0, __CT 0, __CT_TEXT_PLAIN 0,
	__HAS_MSGID 0, __HAS_X_MAILER 0, __IMS_MSGID 0, __IMS_MUA 0,
	__MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0,
	__STOCK_CRUFT 0'
X-Spam-Score: 0.3 (/)
X-Scan-Signature: a7d6aff76b15f3f56fcb94490e1052e4
Cc: Black_David@emc.com, mankin@psg.com
Subject: [Ips] IPS draft status
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

Since this is IETF week and the IPS WG is not meeting, I
thought I'd briefly report on the status of the WG's drafts.
This is what your WG chair thinks the status of the drafts
are.  Please send me any corrections.

SCSI MIB - Revised version to respond to MIB Doctor
	comments is needed.  It should be submitted within
	the next couple of weeks.

iSCSI MIB - Ready for IETF Last Call, but needs to wait
	to go to IETF Last Call together with the
	Authorization MIB ...

Authorization MIB - New version will be needed once we
	have the complete set of MIB Doctor comments.

FCIP MIB - In IETF Last Call.  IESG review for possible
	approval will be early December if there are no
	new IETF Last Call issues.

iFCP MIB - Done, in RFC Editor Queue for editing
	and publication.

iSNS MIB - Significant revision expected in next few
	weeks.  Will probably need another WG Last Call
	due to serious reduction in scope (as described
	previously on the mailing list).

iSER and DA - In Expert Review by our Area Director
	(Allison Mankin).

Implementers Guide - Being worked on in the WG.  Primary
	forum for work is the mailing list.

Thanks,
--David
----------------------------------------------------
David L. Black, Senior Technologist
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 Nov 10 10:33:51 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EaEQx-00024S-0s; Thu, 10 Nov 2005 10:33:51 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EaEQt-00024N-Ok
	for ips@megatron.ietf.org; Thu, 10 Nov 2005 10:33:49 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA10119
	for <ips@ietf.org>; Thu, 10 Nov 2005 10:33:19 -0500 (EST)
Received: from mx1.netapp.com ([216.240.18.38])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EaEh8-0005Ja-EQ
	for ips@ietf.org; Thu, 10 Nov 2005 10:50:35 -0500
Received: from smtp1.corp.netapp.com ([10.57.156.124])
	by mx1.netapp.com with ESMTP; 10 Nov 2005 07:33:34 -0800
X-IronPort-AV: i="3.97,313,1125903600"; 
	d="scan'208,217"; a="266621125:sNHT25091924"
Received: from svlexc02.hq.netapp.com (svlexc02.corp.netapp.com
	[10.57.157.136])
	by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id
	jAAFXX8j009870
	for <ips@ietf.org>; Thu, 10 Nov 2005 07:33:33 -0800 (PST)
Received: from RTPEXC02.hq.netapp.com ([10.100.157.167]) by
	svlexc02.hq.netapp.com with Microsoft SMTPSVC(5.0.2195.6713); 
	Thu, 10 Nov 2005 07:33:33 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Thu, 10 Nov 2005 10:33:32 -0500
Message-ID: <D9A7BF8EF00B804695422C462D132B5F04E797EB@RTPEXC02.hq.netapp.com>
Thread-Topic: iSCSI: Task Management Functions and iSCSI Cross-Nexus
	requirement
Thread-Index: AcXmDBtVPydjPkJIQ0yCXlnRRlP+xg==
From: "Pittman, Joseph" <Joseph.Pittman@netapp.com>
To: <ips@ietf.org>
X-OriginalArrivalTime: 10 Nov 2005 15:33:33.0646 (UTC)
	FILETIME=[1C2A56E0:01C5E60C]
X-Spam-Score: 0.5 (/)
X-Scan-Signature: a743e34ab8eb08259de9a7307caed594
Subject: [Ips] iSCSI: Task Management Functions and iSCSI Cross-Nexus
	requirement
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="===============1658417904=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

This is a multi-part message in MIME format.

--===============1658417904==
content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C5E60C.1B7E50AC"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C5E60C.1B7E50AC
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Recently, there has been some discussion on this mailing list about
the need for task management functions to be completed in a timely
fashion.
=20
This discussion has reminded me of my objection to the following
iSCSI requirement regarding task management functions:
=20
  The target must
  - Wait until it is certain that all affected initiators, even on
    other SCSI nexuses, have RECEIVED responses for all affected
    commands
  - Then it may send the task management response.
=20
This requirement is originally stated in section 10.6.2 of RFC3720, and
is elaborated upon in section 4.1 of
draft-ietf-ips-iscsi-impl-guide-01.txt.
=20

Consider the case where a target is processing a task management
function
(e.g. RESET_LUN) which has scope larger than the originating I_T_Nexus.
The target would like to complete this operation in a timely fashion.
But the 'wait-until-responses-RECEIVED' requirement forces the target to
be dependent upon the good behavior of all affected initiators.  If one
of the initiators is misbehaving or slow to report its receipt of these
responses, the target cannot complete the RESET_LUN.
=20

Furthermore, I still do not understand the point of, or justification
for,
this requirement.
=20
1) This kind of cross-nexus interdependency is clearly unnecessary for
   correct SCSI operation, since FCP-SCSI SANs have been successfully
   operating for years without such a requirement.
=20
2) iSCSI is a transport protocol for SCSI.   Its responsibilities are to
     - satisfy the SCSI requirements for a transport protocol
     - map SCSI concepts onto the available mechanisms
     - effectively transport requests and responses between a SCSI
       initiator port and SCSI target port
=20
   The SCSI protocol imposes no requirements regarding the relative
   ordering of delivery and receipt of responses across multiple
   I_T_Nexuses.  In my opinion, the iSCSI protocol has no business
   imposing such cross-I_T_Nexus requirements of its own.
=20
3) Both the iSCSI spec and the iSCSI Implementer's Guide state the
   following:
=20
     If some tasks originate from non-iSCSI I_T_L nexuses then the
     means by which the target insures that all affected tasks have
     returned their status to the initiator are defined by the
     specific non-iSCSI transport protocol(s).
=20
   By my reading, the text is clearly requiring that the target
   make certain that the initiator has RECEIVED the responses,
   REGARDLESS of the transport protocol.  Thus the iSCSI spec is
   imposing additional requirements on other transport protocols,
   requirements beyond those imposed by the SCSI protocols themselves.
   It is clearly beyond the scope of one transport protocol to impose
   requirements on other transports.
=20

In summary, I feel that the iSCSI specification is overstepping its
bounds by stating this unnecessary requirement.  For reasons both
practical and architectural, I request that the iSCSI Implementer's
Guide 'clarify' section 10.6.2 of RFC3720, by eliminating this
requirement.
=20

--
Joe Pittman
jpittman@netapp.com <mailto:jpittman@netapp.com>=20


------_=_NextPart_001_01C5E60C.1B7E50AC
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1522" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3D"Courier New" size=3D2>Recently, there has been some =
discussion on=20
this mailing list about<BR>the need for task management functions to be=20
completed in a timely<BR>fashion.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>This discussion has reminded me =
of my=20
objection to the following<BR>iSCSI requirement regarding task =
management=20
functions:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp; The target =
must<BR>&nbsp; - Wait=20
until it is certain that all affected initiators, even =
on<BR>&nbsp;&nbsp;&nbsp;=20
other SCSI nexuses, have RECEIVED responses for all=20
affected<BR>&nbsp;&nbsp;&nbsp; commands<BR>&nbsp; - Then it may send the =
task=20
management response.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>This requirement is originally =
stated in=20
section 10.6.2 of RFC3720, and<BR>is elaborated upon in section 4.1 of=20
draft-ietf-ips-iscsi-impl-guide-01.txt.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><FONT face=3D"Courier New" size=3D2>Consider the case where a =
target is=20
processing a task management function<BR>(e.g. RESET_LUN) which has =
scope larger=20
than the originating I_T_Nexus.<BR>The target would like to complete =
this=20
operation in a timely fashion.<BR>But the =
'wait-until-responses-RECEIVED'=20
requirement forces the target to<BR>be dependent upon the good behavior =
of all=20
affected initiators.&nbsp; If one<BR>of the initiators is misbehaving or =
slow to=20
report its receipt of these<BR>responses, the target cannot complete the =

RESET_LUN.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><BR><FONT face=3D"Courier New" size=3D2>Furthermore, I still do not =
understand=20
the point of, or justification for,<BR>this requirement.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>1) This kind of cross-nexus =
interdependency=20
is clearly unnecessary for<BR>&nbsp;&nbsp; correct SCSI operation, since =

FCP-SCSI SANs have been successfully<BR>&nbsp;&nbsp; operating for years =
without=20
such a requirement.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>2) iSCSI is a transport =
protocol for=20
SCSI.&nbsp;&nbsp; Its responsibilities are =
to<BR>&nbsp;&nbsp;&nbsp;&nbsp; -=20
satisfy the SCSI requirements for a transport=20
protocol<BR>&nbsp;&nbsp;&nbsp;&nbsp; - map SCSI concepts onto the =
available=20
mechanisms<BR>&nbsp;&nbsp;&nbsp;&nbsp; - effectively transport requests =
and=20
responses between a SCSI<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
initiator port=20
and SCSI target port</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp; The SCSI protocol =
imposes no=20
requirements regarding the relative<BR>&nbsp;&nbsp; ordering of delivery =
and=20
receipt of responses across multiple<BR>&nbsp;&nbsp; I_T_Nexuses.&nbsp; =
In my=20
opinion, the iSCSI protocol has no business<BR>&nbsp;&nbsp; =
imposing&nbsp;such=20
cross-I_T_Nexus<SPAN class=3D968333115-10112005> requirements of its=20
own</SPAN>.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>3) Both the iSCSI spec and the =
iSCSI=20
Implementer's Guide state the<BR>&nbsp;&nbsp; following:</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp;&nbsp; If =
some tasks=20
originate from non-iSCSI I_T_L nexuses then =
the<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
means by which the target insures that all affected tasks=20
have<BR>&nbsp;&nbsp;&nbsp;&nbsp; returned their status to the initiator =
are=20
defined by the<BR>&nbsp;&nbsp;&nbsp;&nbsp; specific non-iSCSI transport=20
protocol(s).</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp; By my reading, the =
text is=20
clearly requiring that the target<BR>&nbsp;&nbsp; make certain that the=20
initiator has RECEIVED the responses,<BR>&nbsp;&nbsp; REGARDLESS of the=20
transport protocol.&nbsp; Thus the iSCSI spec is<BR>&nbsp;&nbsp; =
imposing=20
additional requirements on other transport protocols,<BR>&nbsp;&nbsp;=20
requirements beyond those imposed by the SCSI protocols=20
themselves.<BR>&nbsp;&nbsp; It is clearly beyond the scope of one =
transport=20
protocol to impose<BR>&nbsp;&nbsp; requirements on other=20
transports.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><BR><FONT face=3D"Courier New" size=3D2>In summary, I feel that the =
iSCSI=20
specification is overstepping its<BR>bounds by stating this unnecessary=20
requirement.&nbsp; For reasons both<BR>practical and architectural, I =
request=20
that the iSCSI Implementer's<BR>Guide 'clarify' section 10.6.2 of =
RFC3720, by=20
eliminating this<BR>requirement.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><BR><FONT face=3D"Courier New" size=3D2>--<BR>Joe =
Pittman<BR></FONT><A=20
href=3D"mailto:jpittman@netapp.com"><FONT face=3D"Courier New"=20
size=3D2>jpittman@netapp.com</FONT></A><BR></DIV></BODY></HTML>
=00
------_=_NextPart_001_01C5E60C.1B7E50AC--


--===============1658417904==
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

--===============1658417904==--




From ips-bounces@ietf.org Thu Nov 10 11:03:10 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EaEtK-0002vS-5O; Thu, 10 Nov 2005 11:03:10 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EaEtI-0002vN-MY
	for ips@megatron.ietf.org; Thu, 10 Nov 2005 11:03:08 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA12633
	for <ips@ietf.org>; Thu, 10 Nov 2005 11:02:40 -0500 (EST)
Received: from mx2.netapp.com ([216.240.18.37])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EaF9X-0006NK-Mq
	for ips@ietf.org; Thu, 10 Nov 2005 11:19:56 -0500
Received: from smtp1.corp.netapp.com ([10.57.156.124])
	by mx2.netapp.com with ESMTP; 10 Nov 2005 08:03:00 -0800
X-IronPort-AV: i="3.97,313,1125903600"; 
	d="scan'208,217"; a="336615400:sNHT24923616"
Received: from svlexc02.hq.netapp.com (svlexc02.corp.netapp.com
	[10.57.157.136])
	by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id
	jAAG2xhG016078
	for <ips@ietf.org>; Thu, 10 Nov 2005 08:02:59 -0800 (PST)
Received: from RTPEXC02.hq.netapp.com ([10.100.157.167]) by
	svlexc02.hq.netapp.com with Microsoft SMTPSVC(5.0.2195.6713); 
	Thu, 10 Nov 2005 08:02:59 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Thu, 10 Nov 2005 11:02:57 -0500
Message-ID: <D9A7BF8EF00B804695422C462D132B5F0887F9@RTPEXC02.hq.netapp.com>
Thread-Topic: iSCSI: Followup to TMFs/iSCSI Cross Nexus requirement
Thread-Index: AcXmEDekdDvAiV4HReiCYa4BdU03zw==
From: "Pittman, Joseph" <Joseph.Pittman@netapp.com>
To: <ips@ietf.org>
X-OriginalArrivalTime: 10 Nov 2005 16:02:59.0037 (UTC)
	FILETIME=[386BA0D0:01C5E610]
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 86f85b2f88b0d50615aed44a7f9e33c7
Subject: [Ips] iSCSI: Followup to TMFs/iSCSI Cross Nexus requirement
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="===============1159360303=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

This is a multi-part message in MIME format.

--===============1159360303==
content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C5E610.37C4DD7C"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C5E610.37C4DD7C
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

One followup to my earlier message:
=20
> 3) Both the iSCSI spec and the iSCSI Implementer's Guide state the
>    following:
>=20
>      If some tasks originate from non-iSCSI I_T_L nexuses then the
>      means by which the target insures that all affected tasks have
>      returned their status to the initiator are defined by the
>      specific non-iSCSI transport protocol(s).
>=20
>    By my reading, the text is clearly requiring that the target
>    make certain that the initiator has RECEIVED the responses,
>    REGARDLESS of the transport protocol.  Thus the iSCSI spec is
>    imposing additional requirements on other transport protocols,
>    requirements beyond those imposed by the SCSI protocols themselves.
>    It is clearly beyond the scope of one transport protocol to impose
>    requirements on other transports.
=20
=20
In an earlier discussion of this issue, the following opinions
or rationales were stated:
=20
1) The requirement need not apply to non-iSCSI nexuses (Mallikarjun
   and Julian)
2) The requirement is imposed for SAM reasons, not for iSCSI-specific
   reasons (Mallikarjun)
=20
It seems to me that, if the requirement is imposed for SAM reasons,
then
 - it would have been imposed by SAM itself
 - it would be a transport-independent requirement, and would thus
   have to apply to all transports
=20
If the requirement does not apply to non-iSCSI nexuses, then it
cannot be necessary for correct operation.
=20
What am I missing?
=20
--
Joe Pittman
jpittman@netapp.com
=20
=20

------_=_NextPart_001_01C5E610.37C4DD7C
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1522" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2>One followup=20
to my earlier message:</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D702105515-10112005>
<DIV><FONT face=3D"Courier New"><FONT size=3D2><SPAN =
class=3D702105515-10112005>&gt;=20
</SPAN>3) Both the iSCSI spec and the iSCSI Implementer's Guide state=20
the<BR><SPAN class=3D702105515-10112005>&gt; </SPAN>&nbsp;&nbsp;=20
following:</FONT></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2><SPAN =
class=3D702105515-10112005>&gt;=20
</SPAN></FONT></DIV>
<DIV><FONT face=3D"Courier New"><FONT size=3D2><SPAN =
class=3D702105515-10112005>&gt;=20
</SPAN>&nbsp;&nbsp;&nbsp;&nbsp; If some tasks originate from non-iSCSI =
I_T_L=20
nexuses then the<BR><SPAN class=3D702105515-10112005>&gt;=20
</SPAN>&nbsp;&nbsp;&nbsp;&nbsp; means by which the target insures that =
all=20
affected tasks have<BR><SPAN class=3D702105515-10112005>&gt;=20
</SPAN>&nbsp;&nbsp;&nbsp;&nbsp; returned their status to the initiator =
are=20
defined by the<BR><SPAN class=3D702105515-10112005>&gt;=20
</SPAN>&nbsp;&nbsp;&nbsp;&nbsp; specific non-iSCSI transport=20
protocol(s).</FONT></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2><SPAN =
class=3D702105515-10112005>&gt;=20
</SPAN></FONT></DIV>
<DIV><FONT face=3D"Courier New"><FONT size=3D2><SPAN =
class=3D702105515-10112005>&gt;=20
</SPAN>&nbsp;&nbsp; By my reading, the text is clearly requiring that =
the=20
target<BR><SPAN class=3D702105515-10112005>&gt; </SPAN>&nbsp;&nbsp; make =
certain=20
that the initiator has RECEIVED the responses,<BR><SPAN=20
class=3D702105515-10112005>&gt; </SPAN>&nbsp;&nbsp; REGARDLESS of the =
transport=20
protocol.&nbsp; Thus the iSCSI spec is<BR><SPAN =
class=3D702105515-10112005>&gt;=20
</SPAN>&nbsp;&nbsp; imposing additional requirements on other transport=20
protocols,<BR><SPAN class=3D702105515-10112005>&gt; </SPAN>&nbsp;&nbsp;=20
requirements beyond those imposed by the SCSI protocols =
themselves.<BR><SPAN=20
class=3D702105515-10112005>&gt; </SPAN>&nbsp;&nbsp; It is clearly beyond =
the scope=20
of one transport protocol to impose<BR><SPAN =
class=3D702105515-10112005>&gt;=20
</SPAN>&nbsp;&nbsp; requirements on other =
transports.</FONT></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2>In an=20
earlier discussion of this issue, the following =
opinions</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2>or=20
rationales </FONT></SPAN><SPAN class=3D702105515-10112005><FONT =
face=3D"Courier New"=20
size=3D2>were stated:</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2>1) The=20
requirement need not apply to non-iSCSI nexuses =
(Mallikarjun</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2>&nbsp;&nbsp;=20
and Julian)</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2>2) The=20
requirement is imposed for SAM reasons, not for=20
iSCSI-specific</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2>&nbsp;&nbsp;=20
reasons (Mallikarjun)</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2>It seems to=20
me that,&nbsp;if the requirement is imposed for SAM =
reasons,</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New"=20
size=3D2>then</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2>&nbsp;- it=20
would have been imposed by SAM itself</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2>&nbsp;- it=20
would be a transport-independent requirement, and would =
thus</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2>&nbsp;&nbsp;=20
have to apply to all transports</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2>If the=20
requirement does not apply to non-iSCSI nexuses, then =
it</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2>cannot be=20
necessary for correct operation.</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2>What am I=20
missing?</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New"=20
size=3D2>--</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2>Joe=20
Pittman</FONT></SPAN></DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New" =
size=3D2><A=20
href=3D"mailto:jpittman@netapp.com">jpittman@netapp.com</A></FONT></SPAN>=
</DIV>
<DIV><SPAN class=3D702105515-10112005></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D702105515-10112005><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV></SPAN></DIV></BODY></HTML>
=00
------_=_NextPart_001_01C5E610.37C4DD7C--


--===============1159360303==
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

--===============1159360303==--




From ips-bounces@ietf.org Thu Nov 10 12:35:49 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EaGKz-00043l-Cl; Thu, 10 Nov 2005 12:35:49 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EaGKy-00043d-HX
	for ips@megatron.ietf.org; Thu, 10 Nov 2005 12:35:48 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA20635
	for <ips@ietf.org>; Thu, 10 Nov 2005 12:35:19 -0500 (EST)
Received: from web51914.mail.yahoo.com ([206.190.48.77])
	by ietf-mx.ietf.org with smtp (Exim 4.43) id 1EaGbD-0001PR-KN
	for ips@ietf.org; Thu, 10 Nov 2005 12:52:36 -0500
Received: (qmail 78038 invoked by uid 60001); 10 Nov 2005 17:35:36 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	b=YY5Ixi8rfsmOEJ6kljGsoO6EDWz5+v7JPN08CFGn/xRy3z/QJSNiYBQ20yO7zGcyAhW6o2bUAvRV4TeoIOmxuNsA0+2b4EJe2XDKSFxUQnJNUTf4J7c6XsPuP3xCAyUOMdmSur+HcN32Ba70rgSY2eurUS633f+5DSZreBYZXik=
	; 
Message-ID: <20051110173536.78034.qmail@web51914.mail.yahoo.com>
Received: from [156.153.255.243] by web51914.mail.yahoo.com via HTTP;
	Thu, 10 Nov 2005 09:35:36 PST
Date: Thu, 10 Nov 2005 09:35:36 -0800 (PST)
From: "Mallikarjun C." <cb_mallikarjun@yahoo.com>
Subject: Re: [Ips] iSCSI: Followup to TMFs/iSCSI Cross Nexus requirement
To: ips@ietf.org
In-Reply-To: <D9A7BF8EF00B804695422C462D132B5F0887F9@RTPEXC02.hq.netapp.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 10d3e4e3c32e363f129e380e644649be
Content-Transfer-Encoding: 8bit
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

Hi Joe,

Have you had a chance to review the fast multi-task
abort TMF model I proposed last week?  The proposal
should address your concerns.  I would appreciate your
review feedback on that.


Mallikarjun




--- "Pittman, Joseph" <Joseph.Pittman@netapp.com>
wrote:

> One followup to my earlier message:
>  
> > 3) Both the iSCSI spec and the iSCSI Implementer's
> Guide state the
> >    following:
> > 
> >      If some tasks originate from non-iSCSI I_T_L
> nexuses then the
> >      means by which the target insures that all
> affected tasks have
> >      returned their status to the initiator are
> defined by the
> >      specific non-iSCSI transport protocol(s).
> > 
> >    By my reading, the text is clearly requiring
> that the target
> >    make certain that the initiator has RECEIVED
> the responses,
> >    REGARDLESS of the transport protocol.  Thus the
> iSCSI spec is
> >    imposing additional requirements on other
> transport protocols,
> >    requirements beyond those imposed by the SCSI
> protocols themselves.
> >    It is clearly beyond the scope of one transport
> protocol to impose
> >    requirements on other transports.
>  
>  
> In an earlier discussion of this issue, the
> following opinions
> or rationales were stated:
>  
> 1) The requirement need not apply to non-iSCSI
> nexuses (Mallikarjun
>    and Julian)
> 2) The requirement is imposed for SAM reasons, not
> for iSCSI-specific
>    reasons (Mallikarjun)
>  
> It seems to me that, if the requirement is imposed
> for SAM reasons,
> then
>  - it would have been imposed by SAM itself
>  - it would be a transport-independent requirement,
> and would thus
>    have to apply to all transports
>  
> If the requirement does not apply to non-iSCSI
> nexuses, then it
> cannot be necessary for correct operation.
>  
> What am I missing?
>  
> --
> Joe Pittman
> jpittman@netapp.com
>  
>  
> > _______________________________________________
> Ips mailing list
> Ips@ietf.org
> https://www1.ietf.org/mailman/listinfo/ips
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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



From ips-bounces@ietf.org Sun Nov 13 02:48:30 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EbCbF-0003Un-WC; Sun, 13 Nov 2005 02:48:30 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EbCbE-0003Ui-VB
	for ips@megatron.ietf.org; Sun, 13 Nov 2005 02:48:29 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA19097
	for <ips@ietf.org>; Sun, 13 Nov 2005 02:47:55 -0500 (EST)
Received: from mtagate3.de.ibm.com ([195.212.29.152])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EbCrz-0002Tl-9W
	for ips@ietf.org; Sun, 13 Nov 2005 03:05:48 -0500
Received: from d12nrmr1607.megacenter.de.ibm.com
	(d12nrmr1607.megacenter.de.ibm.com [9.149.167.49])
	by mtagate3.de.ibm.com (8.12.10/8.12.10) with ESMTP id jAD7mG7V156734
	for <ips@ietf.org>; Sun, 13 Nov 2005 07:48:16 GMT
Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com
	[9.149.165.228])
	by d12nrmr1607.megacenter.de.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP
	id jAD7mGmq235488 for <ips@ietf.org>; Sun, 13 Nov 2005 08:48:16 +0100
Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1])
	by d12av02.megacenter.de.ibm.com (8.12.11/8.13.3) with ESMTP id
	jAD7mF9a020430 for <ips@ietf.org>; Sun, 13 Nov 2005 08:48:15 +0100
Received: from d12ml102.megacenter.de.ibm.com (d12ml102.megacenter.de.ibm.com
	[9.149.166.138])
	by d12av02.megacenter.de.ibm.com (8.12.11/8.12.11) with ESMTP id
	jAD7mFic020427; Sun, 13 Nov 2005 08:48:15 +0100
In-Reply-To: <D9A7BF8EF00B804695422C462D132B5F0887F9@RTPEXC02.hq.netapp.com>
To: "Pittman, Joseph" <Joseph.Pittman@netapp.com>
Subject: Re: [Ips] iSCSI: Followup to TMFs/iSCSI Cross Nexus requirement
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
From: Julian Satran <Julian_Satran@il.ibm.com>
Message-ID: <OF95116F90.028F0B3D-ONC22570B8.00284865-C22570B8.002ADECA@il.ibm.com>
Date: Sun, 13 Nov 2005 09:48:15 +0200
X-MIMETrack: Serialize by Router on D12ML102/12/M/IBM(Release 6.5.1| March 5,
	2004) at 13/11/2005 09:48:15,
	Serialize complete at 13/11/2005 09:48:15
X-Spam-Score: 0.5 (/)
X-Scan-Signature: 202a3ece0492a8c7e7c8672d5214398f
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>
Content-Type: multipart/mixed; boundary="===============0110239802=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

This is a multipart message in MIME format.
--===============0110239802==
Content-Type: multipart/alternative;
	boundary="=_alternative 002ADE25C22570B8_="

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

Joseph,

Since timing on different I_T nexii is "unrelated" I guess that the rule 
about making sure that all preceding statuses have been received before 
giving the response to the abort/clear task set command that cause the 
"multi-nexi" effect applies only to one nexi the originating (all the 
others are required to some other report form by SAM- TASK ABORTED or TASK 
CLEARED BY ANOTHER INITIATOR).
However the last paragraph of SAM2 - 5.7.3 - require some ordering (still 
puzling to me) between completing those tasks and entering new tasks in 
the command set.
Since the command set in those cases is a "multi-initiator" command set 
the meanings by which that sequencing can be achieved are unclear 
(provided it can be achieved).
That drove us to suggest ordering by the target.

The murkiness of the paragraph you refer too is a direct result of the SAM 
murkiness.  All SCSI transports besides SCSI are serializing - and in the 
absence of failures they will behave as expected. 

I am also not sure that before iSCSI a target supporting different nexi 
using different transports has been considered - but SAM does not exclude 
it either.



ps-bounces@ietf.org wrote on 10-11-2005 18:02:57:

> One followup to my earlier message:
> 
> > 3) Both the iSCSI spec and the iSCSI Implementer's Guide state the
> >    following:
> > 
> >      If some tasks originate from non-iSCSI I_T_L nexuses then the
> >      means by which the target insures that all affected tasks have
> >      returned their status to the initiator are defined by the
> >      specific non-iSCSI transport protocol(s).
> > 
> >    By my reading, the text is clearly requiring that the target
> >    make certain that the initiator has RECEIVED the responses,
> >    REGARDLESS of the transport protocol.  Thus the iSCSI spec is
> >    imposing additional requirements on other transport protocols,
> >    requirements beyond those imposed by the SCSI protocols themselves.
> >    It is clearly beyond the scope of one transport protocol to impose
> >    requirements on other transports.
> 
> 
> In an earlier discussion of this issue, the following opinions
> or rationales were stated:
> 
> 1) The requirement need not apply to non-iSCSI nexuses (Mallikarjun
>    and Julian)
> 2) The requirement is imposed for SAM reasons, not for iSCSI-specific
>    reasons (Mallikarjun)
> 
> It seems to me that, if the requirement is imposed for SAM reasons,
> then
>  - it would have been imposed by SAM itself
>  - it would be a transport-independent requirement, and would thus
>    have to apply to all transports
> 
> If the requirement does not apply to non-iSCSI nexuses, then it
> cannot be necessary for correct operation.
> 
> What am I missing?
> 
> --
> Joe Pittman
> jpittman@netapp.com
> 
>  _______________________________________________
> Ips mailing list
> Ips@ietf.org
> https://www1.ietf.org/mailman/listinfo/ips

--=_alternative 002ADE25C22570B8_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Joseph,</font>
<br>
<br><font size=2 face="sans-serif">Since timing on different I_T nexii
is &quot;unrelated&quot; I guess that the rule about making sure that all
preceding statuses have been received before giving the response to the
abort/clear task set command that cause the &quot;multi-nexi&quot; effect
applies only to one nexi the originating (all the others are required to
some other report form by SAM- TASK ABORTED or TASK CLEARED BY ANOTHER
INITIATOR).</font>
<br><font size=2 face="sans-serif">However the last paragraph of SAM2 -
5.7.3 - require some ordering (still puzling to me) between completing
those tasks and entering new tasks in &nbsp;the command set.</font>
<br><font size=2 face="sans-serif">Since the command set in those cases
is a &quot;multi-initiator&quot; command set the meanings by which that
sequencing can be achieved are unclear (provided it can be achieved).</font>
<br><font size=2 face="sans-serif">That drove us to suggest ordering by
the target.</font>
<br>
<br><font size=2 face="sans-serif">The murkiness of the paragraph you refer
too is a direct result of the SAM murkiness. &nbsp;All SCSI transports
besides SCSI are serializing - and in the absence of failures they will
behave as expected. </font>
<br>
<br><font size=2 face="sans-serif">I am also not sure that before iSCSI
a target supporting different nexi using different transports has been
considered - but SAM does not exclude it either.</font>
<br>
<br>
<br>
<br><tt><font size=2>ps-bounces@ietf.org wrote on 10-11-2005 18:02:57:<br>
<br>
&gt; One followup to my earlier message:</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; &gt; 3) Both the iSCSI spec and the iSCSI Implementer's
Guide state the<br>
&gt; &gt; &nbsp; &nbsp;following:</font></tt>
<br><tt><font size=2>&gt; &gt; </font></tt>
<br><tt><font size=2>&gt; &gt; &nbsp; &nbsp; &nbsp;If some tasks originate
from non-iSCSI I_T_L nexuses then the<br>
&gt; &gt; &nbsp; &nbsp; &nbsp;means by which the target insures that all
affected tasks have<br>
&gt; &gt; &nbsp; &nbsp; &nbsp;returned their status to the initiator are
defined by the<br>
&gt; &gt; &nbsp; &nbsp; &nbsp;specific non-iSCSI transport protocol(s).</font></tt>
<br><tt><font size=2>&gt; &gt; </font></tt>
<br><tt><font size=2>&gt; &gt; &nbsp; &nbsp;By my reading, the text is
clearly requiring that the target<br>
&gt; &gt; &nbsp; &nbsp;make certain that the initiator has RECEIVED the
responses,<br>
&gt; &gt; &nbsp; &nbsp;REGARDLESS of the transport protocol. &nbsp;Thus
the iSCSI spec is<br>
&gt; &gt; &nbsp; &nbsp;imposing additional requirements on other transport
protocols,<br>
&gt; &gt; &nbsp; &nbsp;requirements beyond those imposed by the SCSI protocols
themselves.<br>
&gt; &gt; &nbsp; &nbsp;It is clearly beyond the scope of one transport
protocol to impose<br>
&gt; &gt; &nbsp; &nbsp;requirements on other transports.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; In an earlier discussion of this issue, the following
opinions</font></tt>
<br><tt><font size=2>&gt; or rationales were stated:</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; 1) The requirement need not apply to non-iSCSI
nexuses (Mallikarjun</font></tt>
<br><tt><font size=2>&gt; &nbsp; &nbsp;and Julian)</font></tt>
<br><tt><font size=2>&gt; 2) The requirement is imposed for SAM reasons,
not for iSCSI-specific</font></tt>
<br><tt><font size=2>&gt; &nbsp; &nbsp;reasons (Mallikarjun)</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; It seems to me that, if the requirement is imposed
for SAM reasons,</font></tt>
<br><tt><font size=2>&gt; then</font></tt>
<br><tt><font size=2>&gt; &nbsp;- it would have been imposed by SAM itself</font></tt>
<br><tt><font size=2>&gt; &nbsp;- it would be a transport-independent requirement,
and would thus</font></tt>
<br><tt><font size=2>&gt; &nbsp; &nbsp;have to apply to all transports</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; If the requirement does not apply to non-iSCSI
nexuses, then it</font></tt>
<br><tt><font size=2>&gt; cannot be necessary for correct operation.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; What am I missing?</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; --</font></tt>
<br><tt><font size=2>&gt; Joe Pittman</font></tt>
<br><tt><font size=2>&gt; jpittman@netapp.com</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; &nbsp;_______________________________________________<br>
&gt; Ips mailing list<br>
&gt; Ips@ietf.org<br>
&gt; https://www1.ietf.org/mailman/listinfo/ips<br>
</font></tt>
--=_alternative 002ADE25C22570B8_=--


--===============0110239802==
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

--===============0110239802==--




From ips-bounces@ietf.org Mon Nov 14 11:43:50 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EbhQs-00053b-Hu; Mon, 14 Nov 2005 11:43:50 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EbhQq-00052r-Lq
	for ips@megatron.ietf.org; Mon, 14 Nov 2005 11:43:48 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA03539
	for <ips@ietf.org>; Mon, 14 Nov 2005 11:43:16 -0500 (EST)
Received: from mx1.netapp.com ([216.240.18.38])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Ebhht-0002YM-Be
	for ips@ietf.org; Mon, 14 Nov 2005 12:01:27 -0500
Received: from smtp2.corp.netapp.com ([10.57.159.114])
	by mx1.netapp.com with ESMTP; 14 Nov 2005 08:43:25 -0800
X-IronPort-AV: i="3.97,328,1125903600"; 
	d="scan'208,217"; a="267185570:sNHT23898112"
Received: from svlexc03.hq.netapp.com (svlexc03.corp.netapp.com
	[10.57.156.149])
	by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id
	jAEGhOdZ026066; Mon, 14 Nov 2005 08:43:24 -0800 (PST)
Received: from RTPEXC02.hq.netapp.com ([10.100.157.167]) by
	svlexc03.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.0); 
	Mon, 14 Nov 2005 08:43:23 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: [Ips] iSCSI: Followup to TMFs/iSCSI Cross Nexus requirement
Date: Mon, 14 Nov 2005 11:43:23 -0500
Message-ID: <D9A7BF8EF00B804695422C462D132B5F04E797FC@RTPEXC02.hq.netapp.com>
Thread-Topic: [Ips] iSCSI: Followup to TMFs/iSCSI Cross Nexus requirement
Thread-Index: AcXoJqBdZEhUUO+uSf6wALQCLyeuiQBE24MQ
From: "Pittman, Joseph" <Joseph.Pittman@netapp.com>
To: "Julian Satran" <Julian_Satran@il.ibm.com>
X-OriginalArrivalTime: 14 Nov 2005 16:43:23.0956 (UTC)
	FILETIME=[876FE740:01C5E93A]
X-Spam-Score: 2.4 (++)
X-Scan-Signature: e472ca43d56132790a46d9eefd95f0a5
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>
Content-Type: multipart/mixed; boundary="===============0549151341=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

This is a multi-part message in MIME format.

--===============0549151341==
content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C5E93A.86F2AEA0"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C5E93A.86F2AEA0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Julian,
Thanks very much for your response.
=20
> Since timing on different I_T nexii is "unrelated" I guess that the
rule
> about making sure that all preceding statuses have been received
before
> giving the response to the abort/clear task set command that cause the
> "multi-nexi" effect applies only to one nexi the originating (all the
> others are required to some other report form by SAM- TASK ABORTED or
> TASK CLEARED BY ANOTHER INITIATOR).
=20
Yes, that is exactly what I am arguing for -- the 'preceding statuses
must be received' ordering requirement should apply ONLY to the issuing
nexus itself.  NOT to the other affected nexuses.
=20

> However the last paragraph of SAM2 - 5.7.3 - require some ordering
(still
> puzling to me) between completing those tasks and entering new tasks
in
> the command set.
=20
The ordering requirement in SAM2/5.7.3 is much weaker than the
iSCSI-imposed requirement to which I am objecting:
=20
1) The SAM2 requirement is entirely within nexus.  The I_T_L nexus
   handler can cooperate with its transport layer to satisfy the
   SAM2 requirement independently of other I_T_L nexus handlers.
=20
2) SAM2/5.7.3 says should, not MUST.
=20

> Since the command set in those cases is a "multi-initiator" command
set
> the meanings by which that sequencing can be achieved are unclear
(provided
> it can be achieved).
> That drove us to suggest ordering by the target.
=20
In my opinion, any lack of clarity within the SCSI specs should be
addressed at the SCSI layer, within the SCSI specs themselves.
=20
The SCSI protocol places certain requirements on its transport
protocols.  It is within the scope of the iSCSI spec to talk
about how the SCSI requirements are satisfied in iSCSI.
But, in my opinion, it is clearly outside the scope of a transport
protocol to impose additional requirements, like the cross-nexus
requirement to which I am objecting, which impact the SCSI layer.
=20

> I am also not sure that before iSCSI a target supporting different
nexi
> using different transports has been considered - but SAM does not
exclude
> it either.
=20
I agree.
But note: I don't think the 'different transports' question is really
the issue here.  This is really just an question of architectural
layering.
=20

--
Joe Pittman
jpittman@netapp.com


------_=_NextPart_001_01C5E93A.86F2AEA0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1522" name=3DGENERATOR></HEAD>
<BODY>
<DIV><TT><FONT size=3D2><FONT color=3D#0000ff>Julian,<BR>Thanks very =
much for your=20
response.</FONT></FONT></TT></DIV>
<DIV>&nbsp;</DIV>
<DIV><TT><FONT size=3D2><FONT color=3D#0000ff>&gt; Since timing on =
different I_T=20
nexii is "unrelated" I guess that the rule<BR>&gt; about making sure =
that all=20
preceding statuses have been received before<BR>&gt; giving the response =
to the=20
abort/clear task set command that cause the<BR>&gt; "multi-nexi" effect =
applies=20
only to one nexi the originating (all the<BR>&gt; others are required to =
some=20
other report form by SAM- TASK ABORTED or<BR>&gt; TASK CLEARED BY =
ANOTHER=20
INITIATOR).</FONT></FONT></TT></DIV>
<DIV>&nbsp;</DIV>
<DIV><TT><FONT size=3D2><FONT color=3D#0000ff>Yes, that is exactly what =
I am arguing=20
for -- the 'preceding statuses<BR>must be received' ordering requirement =
should=20
apply ONLY to the issuing<BR>nexus itself.&nbsp; NOT to the other =
affected=20
nexuses.</FONT></FONT></TT></DIV>
<DIV>&nbsp;</DIV><TT><FONT size=3D2><FONT color=3D#0000ff>
<DIV><BR>&gt; However the last paragraph of SAM2 - 5.7.3 - require some =
ordering=20
(still<BR>&gt; puzling to me) between completing those tasks and =
entering new=20
tasks in<BR>&gt; the command set.</DIV>
<DIV>&nbsp;</DIV>
<DIV>The ordering requirement in SAM2/5.7.3 is much weaker than=20
the<BR>iSCSI-imposed requirement to which I am objecting:</DIV>
<DIV>&nbsp;</DIV>
<DIV>1) The SAM2 requirement is entirely within nexus.&nbsp; The I_T_L=20
nexus<BR>&nbsp;&nbsp; handler can cooperate with its transport layer to =
satisfy=20
the<BR>&nbsp;&nbsp; SAM2 requirement independently of other I_T_L nexus=20
handlers.</DIV>
<DIV>&nbsp;</DIV>
<DIV>2) SAM2/5.7.3 says should, not MUST.</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&gt; Since the command set in those cases is a =
"multi-initiator"=20
command set<BR>&gt; the meanings by which that sequencing can be =
achieved are=20
unclear (provided<BR>&gt; it can be achieved).<BR>&gt; That drove us to =
suggest=20
ordering by the target.</DIV>
<DIV>&nbsp;</DIV>
<DIV>In my opinion, any lack of clarity within the SCSI specs should=20
be<BR>addressed at the SCSI layer, within the SCSI specs =
themselves.</DIV>
<DIV>&nbsp;</DIV>
<DIV>The SCSI protocol places certain requirements on its=20
transport<BR>protocols.&nbsp; It is within the scope of the iSCSI spec =
to=20
talk<BR>about how the SCSI requirements are satisfied in iSCSI.<BR>But, =
in my=20
opinion, it is clearly outside the scope of a transport<BR>protocol to =
impose=20
additional requirements, like the cross-nexus<BR>requirement to which I =
am=20
objecting, which impact the SCSI layer.</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&gt; I am also not sure that before iSCSI a target supporting =
different=20
nexi<BR>&gt; using different transports has been considered - but SAM =
does not=20
exclude<BR>&gt; it either.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I agree.<BR>But note: I don't think the 'different transports' =
question is=20
really<BR>the issue here.&nbsp; This is really just an question of=20
architectural<BR>layering.</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>--<BR>Joe Pittman<BR><A=20
href=3D"mailto:jpittman@netapp.com">jpittman@netapp.com</A><BR></FONT></D=
IV></FONT></TT></BODY></HTML>
=00
------_=_NextPart_001_01C5E93A.86F2AEA0--


--===============0549151341==
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

--===============0549151341==--




From ips-bounces@ietf.org Mon Nov 14 13:29:18 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Ebj4w-0000Dv-KV; Mon, 14 Nov 2005 13:29:18 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Ebj4u-0000Dn-U1
	for ips@megatron.ietf.org; Mon, 14 Nov 2005 13:29:16 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA11770
	for <ips@ietf.org>; Mon, 14 Nov 2005 13:28:45 -0500 (EST)
Received: from mtagate2.de.ibm.com ([195.212.29.151])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EbjLz-0006cn-Cb
	for ips@ietf.org; Mon, 14 Nov 2005 13:46:56 -0500
Received: from d12nrmr1607.megacenter.de.ibm.com
	(d12nrmr1607.megacenter.de.ibm.com [9.149.167.49])
	by mtagate2.de.ibm.com (8.12.10/8.12.10) with ESMTP id jAEIT512182414
	for <ips@ietf.org>; Mon, 14 Nov 2005 18:29:05 GMT
Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com
	[9.149.165.228])
	by d12nrmr1607.megacenter.de.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP
	id jAEIT5HF227068 for <ips@ietf.org>; Mon, 14 Nov 2005 19:29:05 +0100
Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1])
	by d12av02.megacenter.de.ibm.com (8.12.11/8.13.3) with ESMTP id
	jAEIT45Q013876 for <ips@ietf.org>; Mon, 14 Nov 2005 19:29:04 +0100
Received: from d12ml102.megacenter.de.ibm.com (d12ml102.megacenter.de.ibm.com
	[9.149.166.138])
	by d12av02.megacenter.de.ibm.com (8.12.11/8.12.11) with ESMTP id
	jAEIT4p7013871; Mon, 14 Nov 2005 19:29:04 +0100
In-Reply-To: <D9A7BF8EF00B804695422C462D132B5F04E797FC@RTPEXC02.hq.netapp.com>
To: "Pittman, Joseph" <Joseph.Pittman@netapp.com>
Subject: RE: [Ips] iSCSI: Followup to TMFs/iSCSI Cross Nexus requirement
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
From: Julian Satran <Julian_Satran@il.ibm.com>
Message-ID: <OF24C69F54.3DA8EBE8-ONC22570B9.005F6D7C-C22570B9.0065899A@il.ibm.com>
Date: Mon, 14 Nov 2005 20:29:03 +0200
X-MIMETrack: Serialize by Router on D12ML102/12/M/IBM(Release 6.5.1| March 5,
	2004) at 14/11/2005 20:29:04,
	Serialize complete at 14/11/2005 20:29:04
X-Spam-Score: 0.0 (/)
X-Scan-Signature: df9edf1223802dd4cf213867a3af6121
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>
Content-Type: multipart/mixed; boundary="===============1415083983=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

This is a multipart message in MIME format.
--===============1415083983==
Content-Type: multipart/alternative;
	boundary="=_alternative 0065888AC22570B9_="

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

Joseph,

The lingo used by T10 documents in IETF documents is somewhat different.
Should in T10 is MUST in IETF.

More in text.

"Pittman, Joseph" <Joseph.Pittman@netapp.com> wrote on 14-11-2005 
18:43:23:

> Julian,
> Thanks very much for your response.
> 
> > Since timing on different I_T nexii is "unrelated" I guess that the 
rule
> > about making sure that all preceding statuses have been received 
before
> > giving the response to the abort/clear task set command that cause the
> > "multi-nexi" effect applies only to one nexi the originating (all the
> > others are required to some other report form by SAM- TASK ABORTED or
> > TASK CLEARED BY ANOTHER INITIATOR).
> 
> Yes, that is exactly what I am arguing for -- the 'preceding statuses
> must be received' ordering requirement should apply ONLY to the issuing
> nexus itself.  NOT to the other affected nexuses.
> 
> 
> > However the last paragraph of SAM2 - 5.7.3 - require some ordering 
(still
> > puzling to me) between completing those tasks and entering new tasks 
in
> > the command set.
> 
> The ordering requirement in SAM2/5.7.3 is much weaker than the
> iSCSI-imposed requirement to which I am objecting:
> 
> 1) The SAM2 requirement is entirely within nexus.  The I_T_L nexus
>    handler can cooperate with its transport layer to satisfy the
>    SAM2 requirement independently of other I_T_L nexus handlers.
> 
> 2) SAM2/5.7.3 says should, not MUST.
> 
> 
> > Since the command set in those cases is a "multi-initiator" command 
set
> > the meanings by which that sequencing can be achieved are unclear 
(provided
> > it can be achieved).
> > That drove us to suggest ordering by the target.
> 
> In my opinion, any lack of clarity within the SCSI specs should be
> addressed at the SCSI layer, within the SCSI specs themselves.
> 

The SCSI text is not unclear. And the cross nexi requirements are a direct 
result of SCSI allowing cross nexi task sets and requiring a certain 
behavior in face of aborts.

The iSCSI text is also not as restrictive as you make it sound.
In the absence of ordering (ordered queue) the composition of the task set 
is entirely at the discretion of the target.
However for every command issued the initiator should receive either a 
good status or a task aborted status and tasks issued after the response 
to abort (that may be indirectly perceived by all initiators) must not be 
aborted.
The iSCSI text says only that the means to achieve this behavior are 
transport dependent and not that the target must wait for all initiators 
acknowledging status before it issues the response to the TM function.


> The SCSI protocol places certain requirements on its transport
> protocols.  It is within the scope of the iSCSI spec to talk
> about how the SCSI requirements are satisfied in iSCSI.
> But, in my opinion, it is clearly outside the scope of a transport
> protocol to impose additional requirements, like the cross-nexus
> requirement to which I am objecting, which impact the SCSI layer.
> 
> 
> > I am also not sure that before iSCSI a target supporting different 
nexi
> > using different transports has been considered - but SAM does not 
exclude
> > it either.
> 
> I agree.
> But note: I don't think the 'different transports' question is really
> the issue here.  This is really just an question of architectural
> layering.
> 
> 
> --
> Joe Pittman
> jpittman@netapp.com
--=_alternative 0065888AC22570B9_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Joseph,</font>
<br>
<br><font size=2 face="sans-serif">The lingo used by T10 documents in IETF
documents is somewhat different.</font>
<br><font size=2 face="sans-serif">Should in T10 is MUST in IETF.</font>
<br>
<br><font size=2 face="sans-serif">More in text.</font>
<br>
<br><tt><font size=2>&quot;Pittman, Joseph&quot; &lt;Joseph.Pittman@netapp.com&gt;
wrote on 14-11-2005 18:43:23:<br>
<br>
&gt; Julian,<br>
&gt; Thanks very much for your response.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; &gt; Since timing on different I_T nexii is &quot;unrelated&quot;
I guess that the rule<br>
&gt; &gt; about making sure that all preceding statuses have been received
before<br>
&gt; &gt; giving the response to the abort/clear task set command that
cause the<br>
&gt; &gt; &quot;multi-nexi&quot; effect applies only to one nexi the originating
(all the<br>
&gt; &gt; others are required to some other report form by SAM- TASK ABORTED
or<br>
&gt; &gt; TASK CLEARED BY ANOTHER INITIATOR).</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Yes, that is exactly what I am arguing for --
the 'preceding statuses<br>
&gt; must be received' ordering requirement should apply ONLY to the issuing<br>
&gt; nexus itself. &nbsp;NOT to the other affected nexuses.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; &gt; However the last paragraph of SAM2 - 5.7.3 - require some ordering
(still<br>
&gt; &gt; puzling to me) between completing those tasks and entering new
tasks in<br>
&gt; &gt; the command set.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; The ordering requirement in SAM2/5.7.3 is much
weaker than the<br>
&gt; iSCSI-imposed requirement to which I am objecting:</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; 1) The SAM2 requirement is entirely within nexus.
&nbsp;The I_T_L nexus<br>
&gt; &nbsp; &nbsp;handler can cooperate with its transport layer to satisfy
the<br>
&gt; &nbsp; &nbsp;SAM2 requirement independently of other I_T_L nexus handlers.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; 2) SAM2/5.7.3 says should, not MUST.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; &gt; Since the command set in those cases is a &quot;multi-initiator&quot;
command set<br>
&gt; &gt; the meanings by which that sequencing can be achieved are unclear
(provided<br>
&gt; &gt; it can be achieved).<br>
&gt; &gt; That drove us to suggest ordering by the target.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; In my opinion, any lack of clarity within the
SCSI specs should be<br>
&gt; addressed at the SCSI layer, within the SCSI specs themselves.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br>
<br><tt><font size=2>The SCSI text is not unclear. And the cross nexi requirements
are a direct result of SCSI allowing cross nexi task sets and requiring
a certain behavior in face of aborts.</font></tt>
<br>
<br><tt><font size=2>The iSCSI text is also not as restrictive as you make
it sound.</font></tt>
<br><tt><font size=2>In the absence of ordering (ordered queue) the composition
of the task set is entirely at the discretion of the target.</font></tt>
<br><tt><font size=2>However for every command issued the initiator should
receive either a good status or a task aborted status and tasks issued
after the response to abort (that may be indirectly perceived by all initiators)
must not be aborted.</font></tt>
<br><tt><font size=2>The iSCSI text says only that the means to achieve
this behavior are transport dependent and not that the target must wait
for all initiators acknowledging status before it issues the response to
the TM function.</font></tt>
<br>
<br>
<br><tt><font size=2>&gt; The SCSI protocol places certain requirements
on its transport<br>
&gt; protocols. &nbsp;It is within the scope of the iSCSI spec to talk<br>
&gt; about how the SCSI requirements are satisfied in iSCSI.<br>
&gt; But, in my opinion, it is clearly outside the scope of a transport<br>
&gt; protocol to impose additional requirements, like the cross-nexus<br>
&gt; requirement to which I am objecting, which impact the SCSI layer.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; &gt; I am also not sure that before iSCSI a target supporting different
nexi<br>
&gt; &gt; using different transports has been considered - but SAM does
not exclude<br>
&gt; &gt; it either.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; I agree.<br>
&gt; But note: I don't think the 'different transports' question is really<br>
&gt; the issue here. &nbsp;This is really just an question of architectural<br>
&gt; layering.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; --<br>
&gt; Joe Pittman<br>
&gt; jpittman@netapp.com</font></tt>
--=_alternative 0065888AC22570B9_=--


--===============1415083983==
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

--===============1415083983==--




From ips-bounces@ietf.org Mon Nov 14 14:09:48 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Ebji8-0002fg-G7; Mon, 14 Nov 2005 14:09:48 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Ebji5-0002dz-19
	for ips@megatron.ietf.org; Mon, 14 Nov 2005 14:09:45 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA14527
	for <ips@ietf.org>; Mon, 14 Nov 2005 14:09:13 -0500 (EST)
Received: from rwcrmhc14.comcast.net ([204.127.198.54]
	helo=rwcrmhc12.comcast.net)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Ebjz9-00085f-4H
	for ips@ietf.org; Mon, 14 Nov 2005 14:27:24 -0500
Received: from ivvtdkv0981 (c-24-129-28-51.hsd1.fl.comcast.net[24.129.28.51])
	by comcast.net (rwcrmhc14) with SMTP
	id <2005111419093201400p9bvje>; Mon, 14 Nov 2005 19:09:33 +0000
Message-ID: <000601c5e94e$ef27a1c0$02031eac@ivivity.com>
From: "Eddy Quicksall" <eddy_quicksall_iVivity_iSCSI@comcast.net>
To: <ips@ietf.org>
Date: Mon, 14 Nov 2005 14:09:26 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-Spam-Score: 0.3 (/)
X-Scan-Signature: 52f7a77164458f8c7b36b66787c853da
Subject: [Ips] RSCN equivalent 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="===============0528014677=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

This is a multi-part message in MIME format.

--===============0528014677==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0003_01C5E925.058018F0"

This is a multi-part message in MIME format.

------=_NextPart_000_0003_01C5E925.058018F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Is there a Fibre Channel RSCN equivalent for iSCSI (perhaps in iSNS)?

e.g., FibreChannel has an RSCN mechanism
whereby an Nx_Port can Register to be Notified of events that indicate a
State Change (hence the "R" "S" "C" and "N" in the "RSCN" name) possibly
affecting information the Nx_Port previously obtained.

Eddy
------=_NextPart_000_0003_01C5E925.058018F0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2769" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Is there a Fibre Channel RSCN equivalent for iSCSI =
(perhaps in=20
iSNS)?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>e.g., <FONT color=3D#000080>FibreChannel has an RSCN =

mechanism</FONT></FONT>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D935193318-14112005><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><?xml:namespace prefix=20
=3D st1 ns =3D "urn:schemas-microsoft-com:office:smarttags" /><st1:place =

w:st=3D"on"><st1:PlaceType w:st=3D"on">whereby an Nx_Port can Register =
to be=20
Notified of events that indicate=20
a</st1:PlaceType></st1:place></SPAN></SPAN></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><FONT color=3D#0000ff><SPAN =
class=3D935193318-14112005><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><st1:place=20
w:st=3D"on"><st1:PlaceType w:st=3D"on">State Change (hence the "R" "S" =
"C" and "N"=20
in the "RSCN" name)=20
possibly</st1:PlaceType></st1:place></SPAN></SPAN></SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT color=3D#0000ff><SPAN =
class=3D935193318-14112005><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><st1:place=20
w:st=3D"on"><st1:PlaceType w:st=3D"on">affecting information the Nx_Port =
previously=20
obtained.</st1:PlaceType></st1:place></SPAN></SPAN></SPAN></FONT></DIV></=
DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV><PRE>Eddy</PRE></BODY></HTML>

------=_NextPart_000_0003_01C5E925.058018F0--



--===============0528014677==
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

--===============0528014677==--





From ips-bounces@ietf.org Mon Nov 14 14:27:02 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Ebjyo-0007Cv-RB; Mon, 14 Nov 2005 14:27:02 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Ebjym-0007Am-QP
	for ips@megatron.ietf.org; Mon, 14 Nov 2005 14:27:00 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA16176
	for <ips@ietf.org>; Mon, 14 Nov 2005 14:26:29 -0500 (EST)
Received: from mononoke.wasabisystems.com ([66.173.145.228])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EbkFo-0000QX-4x
	for ips@ietf.org; Mon, 14 Nov 2005 14:44:40 -0500
Received: from [10.0.0.10] (h-66-166-188-91.sndacagl.covad.net [66.166.188.91])
	by mononoke.wasabisystems.com (Postfix) with ESMTP
	id DFB7B870E3; Mon, 14 Nov 2005 14:26:42 -0500 (EST)
In-Reply-To: <OF95116F90.028F0B3D-ONC22570B8.00284865-C22570B8.002ADECA@il.ibm.com>
References: <OF95116F90.028F0B3D-ONC22570B8.00284865-C22570B8.002ADECA@il.ibm.com>
Mime-Version: 1.0 (Apple Message framework v623)
Message-Id: <11a9c30a9c9189e2a8dea93b2db278af@wasabisystems.com>
From: William Studenmund <wrstuden@wasabisystems.com>
Subject: Re: [Ips] iSCSI: Followup to TMFs/iSCSI Cross Nexus requirement
Date: Mon, 14 Nov 2005 11:26:31 -0800
To: Julian Satran <Julian_Satran@il.ibm.com>
X-Pgp-Agent: GPGMail 1.0 (v30, 10.3)
X-Mailer: Apple Mail (2.623)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2857c5c041d6c02d7181d602c22822c8
Cc: "Pittman, Joseph" <Joseph.Pittman@netapp.com>, 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>
Content-Type: multipart/mixed; boundary="===============0342190555=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org


--===============0342190555==
Content-Type: multipart/signed; protocol="application/pgp-signature";
	micalg=pgp-sha1; boundary="Apple-Mail-3--929630948"
Content-Transfer-Encoding: 7bit


--Apple-Mail-3--929630948
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

On Nov 12, 2005, at 11:48 PM, Julian Satran wrote:

> Joseph,
>
> Since timing on different I_T nexii is "unrelated" I guess that the=20
> rule about making sure that all preceding statuses have been received=20=

> before giving the response to the abort/clear task set command that=20
> cause the "multi-nexi" effect applies only to one nexi the originating=20=

> (all the others are required to some other report form by SAM- TASK=20
> ABORTED or TASK CLEARED BY ANOTHER INITIATOR).
> However the last paragraph of SAM2 - 5.7.3 - require some ordering=20
> (still puzling to me) between completing those tasks and entering new=20=

> tasks in =A0the command set.
> Since the command set in those cases is a "multi-initiator" command=20
> set the meanings by which that sequencing can be achieved are unclear=20=

> (provided it can be achieved).
> That drove us to suggest ordering by the target.

Ok! We now have a reference as to what the SAM concerns are (regardless=20=

of what we think of them :-)

Here's the SAM 2 text for section 5.7.3:

----- Begin copied text -----
When a SCSI initiator port causes the task(s) of another SCSI initiator=20=

port to be aborted, the other SCSI initiator port shall be notified=20
that the task(s) have been aborted. The method of notification shall=20
depend on the setting of the TAS bit in the Control mode page (see=20
SPC-2) that applies to the other SCSI initiator port.

If the TAS bit is set to zero, the method of notification shall be an=20
unit attention condition. The additional sense code set for the unit=20
attention condition depends on the action that caused the task(s) to be=20=

aborted.

If the TAS bit is set to one, the method of notification shall be the=20
termination of each aborted task with a TASK ABORTED status. The=20
COMMANDS CLEARED BY ANOTHER INITIATOR unit attention condition shall=20
not be established, however, the establishment of any other applicable=20=

unit attention condition shall not be affected.

When a logical unit is aborting one or more tasks from a SCSI initiator=20=

port with the TASK ABORTED status it should complete all of those tasks=20=

before entering additional tasks from that SCSI initiator port into the=20=

task set.
-----  End copied text  -----

SAM 4 contains almost identical text except that it uses "I_T nexus"=20
instead of "SCSI initiator port."

> The murkiness of the paragraph you refer too is a direct result of the=20=

> SAM murkiness. =A0All SCSI transports besides SCSI are serializing - =
and=20
> in the absence of failures they will behave as expected.

Hmmm.. Now we dive into the realm of interpretation. :-)

My read on that text is that the last paragraph applies to the TAS 1=20
case. Further, my understanding is that it means that we go through the=20=

following chain of states: Tasks are in the task set =3D> All tasks in=20=

the task set are aborted =3D> New tasks are allowed to enter the task=20
set. i.e. to the extent that aborting all tasks in the task set takes=20
time, no other tasks will enter the task set while it happens.

To be honest, I don't see any requirement that the TMF which causes the=20=

abort has to wait on the abort processing on other I_T nexuses. I agree=20=

the TMF should wait for all impacted tasks to START abort processing,=20
but I don't see that we need to wait for it to finish.

Waiting for other sessions to finish any form of processing is my=20
biggest concern with how we handle aborts.

Take care,

Bill

--Apple-Mail-3--929630948
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFDeOTtDJT2Egh26K0RAlcyAJ0dqEk8crvn2Oh58zIprjH2OmhluACdFsmS
UMn3okGgAL/R3W4gYAAs6WQ=
=Ybuc
-----END PGP SIGNATURE-----

--Apple-Mail-3--929630948--



--===============0342190555==
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

--===============0342190555==--





From ips-bounces@ietf.org Mon Nov 14 14:28:11 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Ebjzv-0007aN-J3; Mon, 14 Nov 2005 14:28:11 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Ebjzt-0007X0-AF
	for ips@megatron.ietf.org; Mon, 14 Nov 2005 14:28:09 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA16267
	for <ips@ietf.org>; Mon, 14 Nov 2005 14:27:37 -0500 (EST)
Received: from mononoke.wasabisystems.com ([66.173.145.228])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EbkGx-0000Ui-T7
	for ips@ietf.org; Mon, 14 Nov 2005 14:45:49 -0500
Received: from [10.0.0.10] (h-66-166-188-91.sndacagl.covad.net [66.166.188.91])
	by mononoke.wasabisystems.com (Postfix) with ESMTP
	id E77AB870E3; Mon, 14 Nov 2005 14:28:06 -0500 (EST)
In-Reply-To: <000601c5e94e$ef27a1c0$02031eac@ivivity.com>
References: <000601c5e94e$ef27a1c0$02031eac@ivivity.com>
Mime-Version: 1.0 (Apple Message framework v623)
Message-Id: <b42d7547987f75c8131a4fa4afa60fc9@wasabisystems.com>
From: William Studenmund <wrstuden@wasabisystems.com>
Subject: Re: [Ips] RSCN equivalent in iSCSI
Date: Mon, 14 Nov 2005 11:28:01 -0800
To: "Eddy Quicksall" <eddy_quicksall_iVivity_iSCSI@comcast.net>
X-Pgp-Agent: GPGMail 1.0 (v30, 10.3)
X-Mailer: Apple Mail (2.623)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9ed51c9d1356100bce94f1ae4ec616a9
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>
Content-Type: multipart/mixed; boundary="===============0995520414=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org


--===============0995520414==
Content-Type: multipart/signed; protocol="application/pgp-signature";
	micalg=pgp-sha1; boundary="Apple-Mail-4--929541409"
Content-Transfer-Encoding: 7bit


--Apple-Mail-4--929541409
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

On Nov 14, 2005, at 11:09 AM, Eddy Quicksall wrote:

> Is there a Fibre Channel RSCN equivalent for iSCSI (perhaps in iSNS)?
> =A0
> e.g., FibreChannel has an RSCN mechanism
> whereby an Nx_Port can Register to be Notified of events that indicate=20=

> a
> State Change (hence the "R" "S" "C" and "N" in the "RSCN" name)=20
> possibly
> affecting information the Nx_Port previously obtained.

I believe that the iSNS SCN functionality is what you want.

Since I don't know FC well, I'm not 100% sure, but SCN does tell a=20
device when things change.

Take care,

Bill

--Apple-Mail-4--929541409
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFDeOVGDJT2Egh26K0RAkRrAKCgx/+gXoDNeOGkpo9dldCs0Vbh4gCfYa1j
2geqovs4cP+ByCezTo3JqAY=
=Kj2A
-----END PGP SIGNATURE-----

--Apple-Mail-4--929541409--



--===============0995520414==
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

--===============0995520414==--





From ips-bounces@ietf.org Tue Nov 15 04:29:45 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Ebx8L-0003b0-2N; Tue, 15 Nov 2005 04:29:45 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Ebx8I-0003ao-5k
	for ips@megatron.ietf.org; Tue, 15 Nov 2005 04:29:42 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA13126
	for <ips@ietf.org>; Tue, 15 Nov 2005 04:29:09 -0500 (EST)
Received: from mtagate2.de.ibm.com ([195.212.29.151])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EbxPS-0005ts-Ic
	for ips@ietf.org; Tue, 15 Nov 2005 04:47:29 -0500
Received: from d12nrmr1607.megacenter.de.ibm.com
	(d12nrmr1607.megacenter.de.ibm.com [9.149.167.49])
	by mtagate2.de.ibm.com (8.12.10/8.12.10) with ESMTP id jAF9TT12180910
	for <ips@ietf.org>; Tue, 15 Nov 2005 09:29:29 GMT
Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com
	[9.149.165.228])
	by d12nrmr1607.megacenter.de.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP
	id jAF9TTl2234446 for <ips@ietf.org>; Tue, 15 Nov 2005 10:29:29 +0100
Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1])
	by d12av02.megacenter.de.ibm.com (8.12.11/8.13.3) with ESMTP id
	jAF9TT5H027539 for <ips@ietf.org>; Tue, 15 Nov 2005 10:29:29 +0100
Received: from d12ml102.megacenter.de.ibm.com (d12ml102.megacenter.de.ibm.com
	[9.149.166.138])
	by d12av02.megacenter.de.ibm.com (8.12.11/8.12.11) with ESMTP id
	jAF9TTpB027536; Tue, 15 Nov 2005 10:29:29 +0100
In-Reply-To: <11a9c30a9c9189e2a8dea93b2db278af@wasabisystems.com>
To: William Studenmund <wrstuden@wasabisystems.com>
Subject: Re: [Ips] iSCSI: Followup to TMFs/iSCSI Cross Nexus requirement
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
From: Julian Satran <Julian_Satran@il.ibm.com>
Message-ID: <OF16CA7F01.2C7BAEE9-ONC22570BA.00333307-C22570BA.003422C3@il.ibm.com>
Date: Tue, 15 Nov 2005 11:29:27 +0200
X-MIMETrack: Serialize by Router on D12ML102/12/M/IBM(Release 6.5.1| March 5,
	2004) at 15/11/2005 11:29:28,
	Serialize complete at 15/11/2005 11:29:28
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b045c2b078f76b9f842d469de8a32de3
Cc: ips@ietf.org, "Pittman, Joseph" <Joseph.Pittman@netapp.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="===============0172769608=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

This is a multipart message in MIME format.
--===============0172769608==
Content-Type: multipart/alternative;
	boundary="=_alternative 0034223CC22570BA_="

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

in text ...

William Studenmund <wrstuden@wasabisystems.com> wrote on 14-11-2005 
21:26:31:

> On Nov 12, 2005, at 11:48 PM, Julian Satran wrote:
> 
> > Joseph,
> >
> > Since timing on different I_T nexii is "unrelated" I guess that the 
> > rule about making sure that all preceding statuses have been received 
> > before giving the response to the abort/clear task set command that 
> > cause the "multi-nexi" effect applies only to one nexi the originating 

> > (all the others are required to some other report form by SAM- TASK 
> > ABORTED or TASK CLEARED BY ANOTHER INITIATOR).
> > However the last paragraph of SAM2 - 5.7.3 - require some ordering 
> > (still puzling to me) between completing those tasks and entering new 
> > tasks in  the command set.
> > Since the command set in those cases is a "multi-initiator" command 
> > set the meanings by which that sequencing can be achieved are unclear 
> > (provided it can be achieved).
> > That drove us to suggest ordering by the target.
> 
> Ok! We now have a reference as to what the SAM concerns are (regardless 
> of what we think of them :-)
> 
> Here's the SAM 2 text for section 5.7.3:
> 
> ----- Begin copied text -----
> When a SCSI initiator port causes the task(s) of another SCSI initiator 
> port to be aborted, the other SCSI initiator port shall be notified 
> that the task(s) have been aborted. The method of notification shall 
> depend on the setting of the TAS bit in the Control mode page (see 
> SPC-2) that applies to the other SCSI initiator port.
> 
> If the TAS bit is set to zero, the method of notification shall be an 
> unit attention condition. The additional sense code set for the unit 
> attention condition depends on the action that caused the task(s) to be 
> aborted.
> 
> If the TAS bit is set to one, the method of notification shall be the 
> termination of each aborted task with a TASK ABORTED status. The 
> COMMANDS CLEARED BY ANOTHER INITIATOR unit attention condition shall 
> not be established, however, the establishment of any other applicable 
> unit attention condition shall not be affected.
> 
> When a logical unit is aborting one or more tasks from a SCSI initiator 
> port with the TASK ABORTED status it should complete all of those tasks 
> before entering additional tasks from that SCSI initiator port into the 
> task set.
> -----  End copied text  -----
> 
> SAM 4 contains almost identical text except that it uses "I_T nexus" 
> instead of "SCSI initiator port."
> 
> > The murkiness of the paragraph you refer too is a direct result of the 

> > SAM murkiness.  All SCSI transports besides SCSI are serializing - and 

> > in the absence of failures they will behave as expected.
> 
> Hmmm.. Now we dive into the realm of interpretation. :-)
> 
> My read on that text is that the last paragraph applies to the TAS 1 
> case. Further, my understanding is that it means that we go through the 
> following chain of states: Tasks are in the task set => All tasks in 
> the task set are aborted => New tasks are allowed to enter the task 
> set. i.e. to the extent that aborting all tasks in the task set takes 
> time, no other tasks will enter the task set while it happens.
> 
> To be honest, I don't see any requirement that the TMF which causes the 
> abort has to wait on the abort processing on other I_T nexuses. I agree 
> the TMF should wait for all impacted tasks to START abort processing, 
> but I don't see that we need to wait for it to finish.
> 
> Waiting for other sessions to finish any form of processing is my 
> biggest concern with how we handle aborts.
> 
> Take care,
> 

Joseph concern (as I read it) was related to waiting for status ack on 
other nexi before handing the initiator the response to the TM command.
This is not required by iSCSI.
However it is required that all the tasks that have been issued after the 
TM response (as the initiators might be indirectly aware of this event) 
must be accepted - and the ways by which they will ascertain that this 
happens and is not disruptive is protocol dependent.

It just occured to me that a "litmus test" of functional corectness would 
be to assume the a non-iSCSI initiator issues a clear task-set TM command 
and the "other" nexus is an iSCSI nexus.


> Bill
> [attachment "PGP.sig" deleted by Julian Satran/Haifa/IBM] 
--=_alternative 0034223CC22570BA_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">in text ...</font>
<br>
<br><tt><font size=2>William Studenmund &lt;wrstuden@wasabisystems.com&gt;
wrote on 14-11-2005 21:26:31:<br>
<br>
&gt; On Nov 12, 2005, at 11:48 PM, Julian Satran wrote:<br>
&gt; <br>
&gt; &gt; Joseph,<br>
&gt; &gt;<br>
&gt; &gt; Since timing on different I_T nexii is &quot;unrelated&quot;
I guess that the <br>
&gt; &gt; rule about making sure that all preceding statuses have been
received <br>
&gt; &gt; before giving the response to the abort/clear task set command
that <br>
&gt; &gt; cause the &quot;multi-nexi&quot; effect applies only to one nexi
the originating <br>
&gt; &gt; (all the others are required to some other report form by SAM-
TASK <br>
&gt; &gt; ABORTED or TASK CLEARED BY ANOTHER INITIATOR).<br>
&gt; &gt; However the last paragraph of SAM2 - 5.7.3 - require some ordering
<br>
&gt; &gt; (still puzling to me) between completing those tasks and entering
new <br>
&gt; &gt; tasks in &nbsp;the command set.<br>
&gt; &gt; Since the command set in those cases is a &quot;multi-initiator&quot;
command <br>
&gt; &gt; set the meanings by which that sequencing can be achieved are
unclear <br>
&gt; &gt; (provided it can be achieved).<br>
&gt; &gt; That drove us to suggest ordering by the target.<br>
&gt; <br>
&gt; Ok! We now have a reference as to what the SAM concerns are (regardless
<br>
&gt; of what we think of them :-)<br>
&gt; <br>
&gt; Here's the SAM 2 text for section 5.7.3:<br>
&gt; <br>
&gt; ----- Begin copied text -----<br>
&gt; When a SCSI initiator port causes the task(s) of another SCSI initiator
<br>
&gt; port to be aborted, the other SCSI initiator port shall be notified
<br>
&gt; that the task(s) have been aborted. The method of notification shall
<br>
&gt; depend on the setting of the TAS bit in the Control mode page (see
<br>
&gt; SPC-2) that applies to the other SCSI initiator port.<br>
&gt; <br>
&gt; If the TAS bit is set to zero, the method of notification shall be
an <br>
&gt; unit attention condition. The additional sense code set for the unit
<br>
&gt; attention condition depends on the action that caused the task(s)
to be <br>
&gt; aborted.<br>
&gt; <br>
&gt; If the TAS bit is set to one, the method of notification shall be
the <br>
&gt; termination of each aborted task with a TASK ABORTED status. The <br>
&gt; COMMANDS CLEARED BY ANOTHER INITIATOR unit attention condition shall
<br>
&gt; not be established, however, the establishment of any other applicable
<br>
&gt; unit attention condition shall not be affected.<br>
&gt; <br>
&gt; When a logical unit is aborting one or more tasks from a SCSI initiator
<br>
&gt; port with the TASK ABORTED status it should complete all of those
tasks <br>
&gt; before entering additional tasks from that SCSI initiator port into
the <br>
&gt; task set.<br>
&gt; ----- &nbsp;End copied text &nbsp;-----<br>
&gt; <br>
&gt; SAM 4 contains almost identical text except that it uses &quot;I_T
nexus&quot; <br>
&gt; instead of &quot;SCSI initiator port.&quot;<br>
&gt; <br>
&gt; &gt; The murkiness of the paragraph you refer too is a direct result
of the <br>
&gt; &gt; SAM murkiness. &nbsp;All SCSI transports besides SCSI are serializing
- and <br>
&gt; &gt; in the absence of failures they will behave as expected.<br>
&gt; <br>
&gt; Hmmm.. Now we dive into the realm of interpretation. :-)<br>
&gt; <br>
&gt; My read on that text is that the last paragraph applies to the TAS
1 <br>
&gt; case. Further, my understanding is that it means that we go through
the <br>
&gt; following chain of states: Tasks are in the task set =&gt; All tasks
in <br>
&gt; the task set are aborted =&gt; New tasks are allowed to enter the
task <br>
&gt; set. i.e. to the extent that aborting all tasks in the task set takes
<br>
&gt; time, no other tasks will enter the task set while it happens.<br>
&gt; <br>
&gt; To be honest, I don't see any requirement that the TMF which causes
the <br>
&gt; abort has to wait on the abort processing on other I_T nexuses. I
agree <br>
&gt; the TMF should wait for all impacted tasks to START abort processing,
<br>
&gt; but I don't see that we need to wait for it to finish.<br>
&gt; <br>
&gt; Waiting for other sessions to finish any form of processing is my
<br>
&gt; biggest concern with how we handle aborts.<br>
&gt; <br>
&gt; Take care,<br>
&gt; </font></tt>
<br>
<br><tt><font size=2>Joseph concern (as I read it) was related to waiting
for status ack on other nexi before handing the initiator the response
to the TM command.</font></tt>
<br><tt><font size=2>This is not required by iSCSI.</font></tt>
<br><tt><font size=2>However it is required that all the tasks that have
been issued after the TM response (as the initiators might be indirectly
aware of this event) must be accepted - and the ways by which they will
ascertain that this happens and is not disruptive is protocol dependent.</font></tt>
<br>
<br><tt><font size=2>It just occured to me that a &quot;litmus test&quot;
of functional corectness would be to assume the a non-iSCSI initiator issues
a clear task-set TM command and the &quot;other&quot; nexus is an iSCSI
nexus.</font></tt>
<br>
<br><tt><font size=2><br>
&gt; Bill<br>
&gt; [attachment &quot;PGP.sig&quot; deleted by Julian Satran/Haifa/IBM]
</font></tt>
--=_alternative 0034223CC22570BA_=--


--===============0172769608==
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

--===============0172769608==--




From ips-bounces@ietf.org Tue Nov 15 13:07:03 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Ec5Cx-0007fb-A1; Tue, 15 Nov 2005 13:07:03 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Ec5Cv-0007fS-H6
	for ips@megatron.ietf.org; Tue, 15 Nov 2005 13:07:01 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA13873
	for <ips@ietf.org>; Tue, 15 Nov 2005 13:06:26 -0500 (EST)
Received: from mononoke.wasabisystems.com ([66.173.145.228])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Ec5UB-0005ZF-Qm
	for ips@ietf.org; Tue, 15 Nov 2005 13:24:52 -0500
Received: from [10.0.0.10] (h-66-166-188-91.sndacagl.covad.net [66.166.188.91])
	by mononoke.wasabisystems.com (Postfix) with ESMTP
	id B5876870AB; Tue, 15 Nov 2005 13:06:50 -0500 (EST)
In-Reply-To: <OF16CA7F01.2C7BAEE9-ONC22570BA.00333307-C22570BA.003422C3@il.ibm.com>
References: <OF16CA7F01.2C7BAEE9-ONC22570BA.00333307-C22570BA.003422C3@il.ibm.com>
Mime-Version: 1.0 (Apple Message framework v623)
Message-Id: <df569b0559a0d58adb4f6ff808bfa134@wasabisystems.com>
From: William Studenmund <wrstuden@wasabisystems.com>
Subject: Re: [Ips] iSCSI: Followup to TMFs/iSCSI Cross Nexus requirement
Date: Tue, 15 Nov 2005 10:06:44 -0800
To: Julian Satran <Julian_Satran@il.ibm.com>
X-Pgp-Agent: GPGMail 1.0 (v30, 10.3)
X-Mailer: Apple Mail (2.623)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: c83ccb5cc10e751496398f1233ca9c3a
Cc: ips@ietf.org, "Pittman, Joseph" <Joseph.Pittman@netapp.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="===============1209072875=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org


--===============1209072875==
Content-Type: multipart/signed; protocol="application/pgp-signature";
	micalg=pgp-sha1; boundary="Apple-Mail-5--848018453"
Content-Transfer-Encoding: 7bit


--Apple-Mail-5--848018453
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

On Nov 15, 2005, at 1:29 AM, Julian Satran wrote:

> William Studenmund <wrstuden@wasabisystems.com> wrote on 14-11-2005=20
> 21:26:31:
>
>  > On Nov 12, 2005, at 11:48 PM, Julian Satran wrote:
>  >
>  > > That drove us to suggest ordering by the target.
>  >
>  > Ok! We now have a reference as to what the SAM concerns are=20
> (regardless
>  > of what we think of them :-)
>  >
>  > Here's the SAM 2 text for section 5.7.3:
>  >
>  > ----- Begin copied text -----

[snip]

>  > ----- =A0End copied text =A0-----
>  >
>  > SAM 4 contains almost identical text except that it uses "I_T =
nexus"
>  > instead of "SCSI initiator port."
>  >
>  > > The murkiness of the paragraph you refer too is a direct result=20=

> of the
>  > > SAM murkiness. =A0All SCSI transports besides SCSI are =
serializing=20
> - and
>  > > in the absence of failures they will behave as expected.
>  >
>  > Hmmm.. Now we dive into the realm of interpretation. :-)
>  >
>  > My read on that text is that the last paragraph applies to the TAS =
1
>  > case. Further, my understanding is that it means that we go through=20=

> the
>  > following chain of states: Tasks are in the task set =3D> All tasks =
in
>  > the task set are aborted =3D> New tasks are allowed to enter the =
task
>  > set. i.e. to the extent that aborting all tasks in the task set=20
> takes
>  > time, no other tasks will enter the task set while it happens.
>  >
>  > To be honest, I don't see any requirement that the TMF which causes=20=

> the
>  > abort has to wait on the abort processing on other I_T nexuses. I=20=

> agree
>  > the TMF should wait for all impacted tasks to START abort=20
> processing,
>  > but I don't see that we need to wait for it to finish.
>  >
>  > Waiting for other sessions to finish any form of processing is my
>  > biggest concern with how we handle aborts.
>
> Joseph concern (as I read it) was related to waiting for status ack on=20=

> other nexi before handing the initiator the response to the TM=20
> command.
> This is not required by iSCSI.

My understanding of this whole discussion is that we were talking about=20=

having the implementer's guide require it. Thus while not in 3720, it=20
is a current concern. :-)

> However it is required that all the tasks that have been issued after=20=

> the TM response (as the initiators might be indirectly aware of this=20=

> event) must be accepted - and the ways by which they will ascertain=20
> that this happens and is not disruptive is protocol dependent.
>
> It just occured to me that a "litmus test" of functional corectness=20
> would be to assume the a non-iSCSI initiator issues a clear task-set=20=

> TM command and the "other" nexus is an iSCSI nexus.

Sounds like a good test.

Take care,

Bill=

--Apple-Mail-5--848018453
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFDeiO5DJT2Egh26K0RAnwbAKCLjWvtrSeZzwspa+jQtFRIM46ivgCeLtwA
N7xCWVNAikpkaTJHYsgD12I=
=OYLB
-----END PGP SIGNATURE-----

--Apple-Mail-5--848018453--



--===============1209072875==
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

--===============1209072875==--





From ips-bounces@ietf.org Tue Nov 15 13:28:59 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Ec5YB-0000Fz-LY; Tue, 15 Nov 2005 13:28:59 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Ec5YA-0000Ex-7y
	for ips@megatron.ietf.org; Tue, 15 Nov 2005 13:28:58 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA15809
	for <ips@ietf.org>; Tue, 15 Nov 2005 13:28:24 -0500 (EST)
Received: from mononoke.wasabisystems.com ([66.173.145.228])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Ec5pQ-0006UG-S7
	for ips@ietf.org; Tue, 15 Nov 2005 13:46:50 -0500
Received: from [10.0.0.10] (h-66-166-188-91.sndacagl.covad.net [66.166.188.91])
	by mononoke.wasabisystems.com (Postfix) with ESMTP
	id C79B1870AB; Tue, 15 Nov 2005 13:28:55 -0500 (EST)
In-Reply-To: <OF16CA7F01.2C7BAEE9-ONC22570BA.00333307-C22570BA.003422C3@il.ibm.com>
References: <OF16CA7F01.2C7BAEE9-ONC22570BA.00333307-C22570BA.003422C3@il.ibm.com>
Mime-Version: 1.0 (Apple Message framework v623)
Message-Id: <db087c18dd2734b6c630c90851580919@wasabisystems.com>
From: William Studenmund <wrstuden@wasabisystems.com>
Subject: Re: [Ips] iSCSI: Followup to TMFs/iSCSI Cross Nexus requirement
Date: Tue, 15 Nov 2005 10:28:48 -0800
To: Julian Satran <Julian_Satran@il.ibm.com>
X-Pgp-Agent: GPGMail 1.0 (v30, 10.3)
X-Mailer: Apple Mail (2.623)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 3e15cc4fdc61d7bce84032741d11c8e5
Cc: ips@ietf.org, "Pittman, Joseph" <Joseph.Pittman@netapp.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="===============0126001249=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org


--===============0126001249==
Content-Type: multipart/signed; protocol="application/pgp-signature";
	micalg=pgp-sha1; boundary="Apple-Mail-6--846693651"
Content-Transfer-Encoding: 7bit


--Apple-Mail-6--846693651
Content-Type: text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 7bit

On Nov 15, 2005, at 1:29 AM, Julian Satran wrote:

> William Studenmund <wrstuden@wasabisystems.com> wrote on 14-11-2005 
> 21:26:31:
>
>  > Waiting for other sessions to finish any form of processing is my
>  > biggest concern with how we handle aborts.
>
> Joseph concern (as I read it) was related to waiting for status ack on 
> other nexi before handing the initiator the response to the TM 
> command.
> This is not required by iSCSI.

Actually, I was just re-reading the Abort Task Set and Clear Task Set 
text, and the status ack requirement is in RFC 3720. It's in section 
10.6.2 on page 136, in step d) of the "The target:" events section:

          d) Takes note of last-sent StatSN on each of the connections in
             the iSCSI sessions (one or more) sharing the affected task
             set, and waits for acknowledgement of each StatSN (may
             solicit for acknowledgement by way of a NOP-In).  If some
             tasks originate from non-iSCSI I_T_L nexi then the means by
             which the target insures that all affected tasks have
             returned their status to the initiator are defined by the
             specific protocol.

So the concern Joseph has (which I also have as best I understand 
everyone's position) does apply to RFC 3720. :-|

Take care,

Bill

--Apple-Mail-6--846693651
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFDeijmDJT2Egh26K0RAmNWAKCPOCv6LSTtuMs+1cjIGqZMHC9wxwCeLiow
DHrsQjDhTxEnyfmv85VIa00=
=L3oi
-----END PGP SIGNATURE-----

--Apple-Mail-6--846693651--



--===============0126001249==
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

--===============0126001249==--





From ips-bounces@ietf.org Tue Nov 15 17:41:54 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Ec9Uv-0007mp-Vu; Tue, 15 Nov 2005 17:41:53 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Ec9Ut-0007li-Eg
	for ips@megatron.ietf.org; Tue, 15 Nov 2005 17:41:51 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA02811
	for <ips@ietf.org>; Tue, 15 Nov 2005 17:41:18 -0500 (EST)
Received: from mononoke.wasabisystems.com ([66.173.145.228])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Ec9mB-0006ae-5f
	for ips@ietf.org; Tue, 15 Nov 2005 17:59:45 -0500
Received: from [10.0.0.10] (h-66-166-188-91.sndacagl.covad.net [66.166.188.91])
	by mononoke.wasabisystems.com (Postfix) with ESMTP
	id 3EE28870AC; Tue, 15 Nov 2005 17:41:41 -0500 (EST)
In-Reply-To: <436ABA10.6040803@rose.hp.com>
References: <436ABA10.6040803@rose.hp.com>
Mime-Version: 1.0 (Apple Message framework v623)
Message-Id: <d3a1f7292f1c07c88ea22ffa6b4d4fe3@wasabisystems.com>
From: William Studenmund <wrstuden@wasabisystems.com>
Subject: Re: [Ips] Fast multi-task abort model
Date: Tue, 15 Nov 2005 14:41:34 -0800
To: "Mallikarjun C." <cbm@rose.hp.com>
X-Pgp-Agent: GPGMail 1.0 (v30, 10.3)
X-Mailer: Apple Mail (2.623)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 612a16ba5c5f570bfc42b3ac5606ac53
Cc: IPS <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>
Content-Type: multipart/mixed; boundary="===============0319745844=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org


--===============0319745844==
Content-Type: multipart/signed; protocol="application/pgp-signature";
	micalg=pgp-sha1; boundary="Apple-Mail-9--831528062"
Content-Transfer-Encoding: 7bit


--Apple-Mail-9--831528062
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

On Nov 3, 2005, at 5:32 PM, Mallikarjun C. wrote:

> As promised earlier, this memo describes a possible new iSCSI=20
> multi-task abort model that supports a much more expeditious=20
> termination of affected tasks.  I gave it a decent attention, but have=20=

> not thought through all the corner cases fully, so please give it a=20
> critical read. If we agree adopting something like this,  consider if=20=

> it should be an additional behavior when a new key=20
> "FastMultiTaskAbort=3DYes" is negotiated by both parties.

I think some of the ideas in this model should be dependent on a new=20
key, but to the extent other ideas represent clarification of RFC 3720,=20=

I'm up for just implementing them.

My thoughts are that the use of the new AsyncEvent probably needs to be=20=

negotiated. However I am all for removing the inter-nexus delay=20
requirement w/o requiring any negotiation.

> So where does the "fast" in FastMultTaskAbort come from?
>
> - Eliminates the CmdSN wait on third-party sessions
> - Eliminates the TTT wait on issuing & third-party sessions
> - Eliminates the wait on third-party StatSN acks for the issuing
>   session
>
> And:
> - Should work identically for iSCSI-3720 & iSCSI/iSER
> - No new SCSI-level requirements (e.g. TAS=3D1)
>
> However, the downside is that the new model is more complex.
>
> The model description follows.
> --=20
> Mallikarjun
>
>
> The following iSCSI protocol actions happen on an initiator iSCSI =
layer
> after issuing a multi-task abort TMF - i.e. one of Abort Task Set,=20
> Clear
> Task Set, LU Reset, Target Cold Reset, and Target Warm Reset TMFs:
>
> 1. The initiator iSCSI layer must not send any more Data-Out PDUs
>    for affected tasks on the issuing connection of the issuing iSCSI
>    session once the TMF is sent to the target.
>
> 2. Initiator iSCSI layer should receive any responses that the target
>    may provide for some tasks among the affected tasks (may process=20
> them
>    as usual because they are guaranteed to have chronologically
>    originated before the TMF response).
>
> 3. Initiator iSCSI layer must respond to the Async Message PDU with
>    AsyncEvent=3D5 by taking two steps in this order:
> 	a) stop Data-Out transfers on that connection for all active
>            TTTs for the affected LUN quoted in the Async Message PDU.
> 	b) acknowledge the StatSN of the Async Message PDU via a
>            Nop-Out PDU with ITT=3D0xffffffff (i.e. non-ping flavor),
>            while copying the LUN field from Async Message to Nop-Out.
>
> 4. Initiator iSCSI layer receives the task management response
>    concluding all the tasks in the set of affected tasks.

Sounds fine, and I like the fact that it will work well with other=20
transports. While I thought of a way that might work with iSER and TCP,=20=

I strongly doubt my thoughts would work with iSER and SCTP, so=20
something else is needed.

> The following iSCSI protocol actions happen on a target iSCSI layer
> receiving a multi-task abort TMF - i.e. one of Abort Task Set, Clear
> Task Set, LU Reset, Target Cold Reset, and Target Warm Reset TMFs:
>
> 0. Based on the CmdSN ordering, target iSCSI layer waits for all
>    SCSI Command PDUs of the affected tasks to be received on the
>    issuing session.  On third-party affected sessions, only the
>    instantiated tasks have to be considered for the purpose of
>    determining the affected tasks - i.e. no waiting is needed on
>    third-party sessions.  In the case of target-scoped requests (i.e.
>    target resets), all the commands that are not yet received on
>    the issuing session in the command stream however can be considered
>    to have been received with no command waiting period - i.e. the
>    entire CmdSN space upto the CmdSN of the task management function
>    can be "plugged".

I assume that, for a target-scoped request, other sessions would also=20
be able to "plug" the entire CmdSN space? Oh, hmm...  I'm not sure=20
about non-SCSI tasks on other iSCSI sessions... Never mind, we probably=20=

should NOT assume "pluggability" as I just mentioned.

Even though I reject the idea above, I'm leaving the text in so other=20
folks can see why the idea won't work. :-)

> 1. Target iSCSI layer initiates the termination proceedings on all
>    affected tasks immediately - this may involve interacting with the
>    local SCSI layer.

I like this step even for the non-FastAbort case.

> 2. Target iSCSI layer leaves all active "affected TTTs" (i.e. active
>    TTTs associated with "affected tasks") valid along with any buffer
>    allocations for the TTTs intact.
>
> 3. Target iSCSI layer generates an Asynchronous Message PDU with a new
>    AsyncEvent=3D5 that says "all active tasks for LU with matching LUN
>    field in the Async Message PDU are being terminated" on:
> 	a) each connection of each third-party session that at least one
>            affected task is allegiant to, and
> 	b) each connection except the non-issuing connection of the
>            issuing session that at least one affected task is =
allegiant
>            to.
>
>    If there are multiple affected LUs (say due to a target reset),
>    then one Async Message PDU must be sent for each such LU on each
>    affected connection.
>
> 4. Once the local SCSI layer had terminated the SCSI tasks and handed
>    a TMF Response to it, the target iSCSI layer takes note of =
last-sent
>    and unaknowledged StatSN on each of the connections in the iSCSI
>    session(s) sharing the affected tasks, and waits for =
acknowledgement
>    of each such StatSN (may solicit for acknowledgement by way of a
>    Nop-In).  If any new task responses for the affected LU(s) are
>    meanwhile received from the SCSI layer while waiting for StatSN
>    acknowledgement(s), those Response PDUs =AD the first SCSI Response
>    PDU of which is presumably carrying the UA notification - must
>    be held and queued at the iSCSI layer.

:-) Isn't that text really assuming TAS set to 0? :-)

If TAS is set to 1, do we really need to wait for StatSN=20
acknowledgement? Each task will return status so we will know what was=20=

aborted and what wasn't.

> 5. For each of the affected sessions, the target iSCSI layer waits
>    independently for the StatSN acknowledgements.
> 	a) As all StatSNs are acknowledged on the issuing session,
>            the target iSCSI layer sends the TMF Response in an iSCSI
>            PDU to the issuing initiator.  All task response PDUs held
> 	   back at the iSCSI layer in Step#4, if any, are simultaneously
> 	   eligible for being placed on the wire as appropriate.
> 	b) As all StatSNs are acknowledged on a third-party session,
> 	   all task response PDUs held back at the iSCSI layer in
>            Step#4, if any, are simultaneously eligible for being =
placed
> 	   on the wire as appropriate.

Sounds fine modulo my question above.

I would like to see this step be applicable even w/o the FastTaskAbort=20=

option; I'd like us to amend RFC 3720 to use this delay model.

> 6. Technically, the task termination is complete in Step#5. Data
>    transfers corresponding to terminated tasks may however still be in
>    progress by Step#6.  In the case of iSCSI/iSER, these transfers
>    would be into tagged buffers with STags not owned by any active
>    tasks.  Target iSCSI layer must free up the affected TTTs and the
>    corresponding buffers as it receives the associated Nop-Out
>    acknowledgement that the initiator generated in Step#3b (initiator
>    actions).  A target may on an implementation-defined internal=20
> timeout
>    choose to drop the connections that it does not receive the =
expected
>    Nop-Out acknowledgement on and reclaim the buffer and TTT =
resources.

I thought that if we were doing FastAbort, that we wouldn't exit step 5=20=

for a given session until we receive an ack for the AsyncEvent, and=20
thus all we need to do with #6 is just finish the cleanup implied in=20
that ack. ?? Or is that what you're saying? :-)

Sounds good.

Take care,

Bill

--Apple-Mail-9--831528062
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFDemQkDJT2Egh26K0RAvSAAJ45xYLGiCX2r6RMnDelIsu+8v4sUACeMkK+
5ktpQxFx4cPQdbaoXVyU064=
=zGUJ
-----END PGP SIGNATURE-----

--Apple-Mail-9--831528062--



--===============0319745844==
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

--===============0319745844==--





From ips-bounces@ietf.org Sat Nov 19 19:59:34 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EddYM-0003hB-Jt; Sat, 19 Nov 2005 19:59:34 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EddYJ-0003f9-LX; Sat, 19 Nov 2005 19:59:33 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA23814;
	Sat, 19 Nov 2005 19:58:55 -0500 (EST)
Received: from mtagate2.de.ibm.com ([195.212.29.151])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1EddqR-0007ca-Mo; Sat, 19 Nov 2005 20:18:17 -0500
Received: from d12nrmr1607.megacenter.de.ibm.com
	(d12nrmr1607.megacenter.de.ibm.com [9.149.167.49])
	by mtagate2.de.ibm.com (8.12.10/8.12.10) with ESMTP id jAK0x312223938; 
	Sun, 20 Nov 2005 00:59:03 GMT
Received: from d12av04.megacenter.de.ibm.com (d12av04.megacenter.de.ibm.com
	[9.149.165.229])
	by d12nrmr1607.megacenter.de.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP
	id jAK0wxQW235792; Sun, 20 Nov 2005 01:59:03 +0100
Received: from d12av04.megacenter.de.ibm.com (loopback [127.0.0.1])
	by d12av04.megacenter.de.ibm.com (8.12.11/8.13.3) with ESMTP id
	jAK0wxX3013600; Sun, 20 Nov 2005 01:58:59 +0100
Received: from d12mc102.megacenter.de.ibm.com (d12mc102.megacenter.de.ibm.com
	[9.149.167.114])
	by d12av04.megacenter.de.ibm.com (8.12.11/8.12.11) with ESMTP id
	jAK0wxsB013597; Sun, 20 Nov 2005 01:58:59 +0100
In-Reply-To: <db087c18dd2734b6c630c90851580919@wasabisystems.com>
To: William Studenmund <wrstuden@wasabisystems.com>
Subject: Re: [Ips] iSCSI: Followup to TMFs/iSCSI Cross Nexus requirement
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
From: Julian Satran <Julian_Satran@il.ibm.com>
Message-ID: <OFF36F0A72.62F5C00E-ON852570BF.00054702-852570BF.000564D3@il.ibm.com>
Date: Sun, 20 Nov 2005 02:58:57 +0200
X-MIMETrack: Serialize by Router on D12MC102/12/M/IBM(Release 7.0HF23 |
	September 20, 2005) at 20/11/2005 02:58:58
Content-Type: multipart/mixed; boundary="=_mixed 0005632E852570BF_="
X-Spam-Score: 0.5 (/)
X-Scan-Signature: 20f22c03b5c66958bff5ef54fcda6e48
Cc: ips@ietf.org, "Pittman, Joseph" <Joseph.Pittman@netapp.com>,
	ips-bounces@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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

--=_mixed 0005632E852570BF_=
Content-Type: multipart/alternative;
	boundary="=_alternative 00056330852570BF_="


--=_alternative 00056330852570BF_=
Content-Type: text/plain; charset="US-ASCII"

You are right and we have to fix this somewhere (errata is probably the 
legal best). Julo



William Studenmund <wrstuden@wasabisystems.com> 
Sent by: ips-bounces@ietf.org
15-11-05 13:28

To
Julian Satran/Haifa/IBM@IBMIL
cc
ips@ietf.org, "Pittman, Joseph" <Joseph.Pittman@netapp.com>
Subject
Re: [Ips] iSCSI: Followup to TMFs/iSCSI Cross Nexus requirement






On Nov 15, 2005, at 1:29 AM, Julian Satran wrote:

> William Studenmund <wrstuden@wasabisystems.com> wrote on 14-11-2005 
> 21:26:31:
>
>  > Waiting for other sessions to finish any form of processing is my
>  > biggest concern with how we handle aborts.
>
> Joseph concern (as I read it) was related to waiting for status ack on 
> other nexi before handing the initiator the response to the TM 
> command.
> This is not required by iSCSI.

Actually, I was just re-reading the Abort Task Set and Clear Task Set 
text, and the status ack requirement is in RFC 3720. It's in section 
10.6.2 on page 136, in step d) of the "The target:" events section:

          d) Takes note of last-sent StatSN on each of the connections in
             the iSCSI sessions (one or more) sharing the affected task
             set, and waits for acknowledgement of each StatSN (may
             solicit for acknowledgement by way of a NOP-In).  If some
             tasks originate from non-iSCSI I_T_L nexi then the means by
             which the target insures that all affected tasks have
             returned their status to the initiator are defined by the
             specific protocol.

So the concern Joseph has (which I also have as best I understand 
everyone's position) does apply to RFC 3720. :-|

Take care,

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


--=_alternative 00056330852570BF_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">You are right and we have to fix this
somewhere (errata is probably the legal best). Julo</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>William Studenmund &lt;wrstuden@wasabisystems.com&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: ips-bounces@ietf.org</font>
<p><font size=1 face="sans-serif">15-11-05 13:28</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">Julian Satran/Haifa/IBM@IBMIL</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, &quot;Pittman, Joseph&quot;
&lt;Joseph.Pittman@netapp.com&gt;</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] iSCSI: Followup to TMFs/iSCSI
Cross Nexus requirement</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>On Nov 15, 2005, at 1:29 AM, Julian Satran wrote:<br>
<br>
&gt; William Studenmund &lt;wrstuden@wasabisystems.com&gt; wrote on 14-11-2005
<br>
&gt; 21:26:31:<br>
&gt;<br>
&gt; &nbsp;&gt; Waiting for other sessions to finish any form of processing
is my<br>
&gt; &nbsp;&gt; biggest concern with how we handle aborts.<br>
&gt;<br>
&gt; Joseph concern (as I read it) was related to waiting for status ack
on <br>
&gt; other nexi before handing the initiator the response to the TM <br>
&gt; command.<br>
&gt; This is not required by iSCSI.<br>
<br>
Actually, I was just re-reading the Abort Task Set and Clear Task Set <br>
text, and the status ack requirement is in RFC 3720. It's in section <br>
10.6.2 on page 136, in step d) of the &quot;The target:&quot; events section:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;d) Takes note of last-sent StatSN on
each of the connections in<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; the iSCSI sessions (one or more)
sharing the affected task<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set, and waits for acknowledgement
of each StatSN (may<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; solicit for acknowledgement
by way of a NOP-In). &nbsp;If some<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tasks originate from non-iSCSI
I_T_L nexi then the means by<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; which the target insures that
all affected tasks have<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; returned their status to the
initiator are defined by the<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; specific protocol.<br>
<br>
So the concern Joseph has (which I also have as best I understand <br>
everyone's position) does apply to RFC 3720. :-|<br>
<br>
Take care,<br>
<br>
Bill<br>
_______________________________________________<br>
Ips mailing list<br>
Ips@ietf.org<br>
https://www1.ietf.org/mailman/listinfo/ips<br>
</font></tt>
<br>
--=_alternative 00056330852570BF_=--
--=_mixed 0005632E852570BF_=
Content-Type: application/octet-stream; name="PGP.sig"
Content-Disposition: attachment; filename="PGP.sig"
Content-Transfer-Encoding: base64
Content-Transfer-Encoding: base64

LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NClZlcnNpb246IEdudVBHIHYxLjIuMyAoRGFy
d2luKQ0KDQppRDhEQlFGRGVpam1ESlQyRWdoMjZLMFJBbU5XQUtDUE9DdjZMU1R0dU1zKzFjaklH
cVpNSEM5d3h3Q2VMaW93DQpESHJzUWpEaFR4RW55Zm12ODVWSWEwMD0NCj1MM29pDQotLS0tLUVO
RCBQR1AgU0lHTkFUVVJFLS0tLS0NCg==

--=_mixed 0005632E852570BF_=
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

--=_mixed 0005632E852570BF_=--




From ips-bounces@ietf.org Wed Nov 23 07:27:37 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Eetir-0004ZQ-Jc; Wed, 23 Nov 2005 07:27:37 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Eetip-0004ZD-Vy
	for ips@megatron.ietf.org; Wed, 23 Nov 2005 07:27:36 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA21890
	for <ips@ietf.org>; Wed, 23 Nov 2005 07:26:56 -0500 (EST)
Received: from zproxy.gmail.com ([64.233.162.200])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Eeu1g-0005Zy-9U
	for ips@ietf.org; Wed, 23 Nov 2005 07:47:05 -0500
Received: by zproxy.gmail.com with SMTP id 9so194596nzo
	for <ips@ietf.org>; Wed, 23 Nov 2005 04:27:34 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
	b=Hf/ojgQOi2A18rRTYCgSMHrcIor9HsXg5KGR3cIjb/1ETKMwcD/qEz0fYKv4OHhbFfZf9dOs1MI8Pg+detBfzlbWvEdPZEH17s+XR8KXil4Vk1Dmw5zUNWpTJJwt8uEaU9AZArlvGqbuwJVjSIb69hif3U05KvVBrMkyLkVS55Y=
Received: by 10.36.108.14 with SMTP id g14mr4774335nzc;
	Wed, 23 Nov 2005 04:27:34 -0800 (PST)
Received: by 10.36.247.73 with HTTP; Wed, 23 Nov 2005 04:27:34 -0800 (PST)
Message-ID: <2bd90fb70511230427o75e3f24ew5743c510caf6238f@mail.gmail.com>
Date: Wed, 23 Nov 2005 17:57:34 +0530
From: "T.Krishnanand" <krishnanand.thommandra@gmail.com>
To: ips@ietf.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 97adf591118a232206bdb5a27b217034
Content-Transfer-Encoding: quoted-printable
Subject: [Ips] cmdSN related questions
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

Hi,

Assuming ERL 0,

1) Can someone explain clearly what the following means:

"The CmdSN carried by immediate commands may lie outside the ExpCmdSN
to MaxCmdSN range. For example, if the initiator has previously sent a
non-immediate command carrying the CmdSN equal to MaxCmdSN, the target
window is closed."

In the above case, cmd window closed, say expCmdSN =3D 11 and maxCmdSN =3D
10, does it mean that the cmdSN of the next cmd from initiator would
be 11 and it is outside the valid-cmdSN window (maCmdSN+1 - expCmdSN).

2) Is there any case when a target MUST accept an immediate cmd
(non-taskmgmt) pdu with cmdSN LESS THAN target's expCmdSN ? If YES
what is the case.

3) Is there any case when a target MUST accept an immediate cmd
(taskmgmt) pdu with cmdSN LESS THAN target's expCmdSN ? Im confused
becoz..

The RFC says that TM cmds like ABORT-TASK-SET etc use cmdSN as the
marker for scope of cmds affected by this task mgmt cmd. I assumed
that in such cases the cmdSN carried by the TM cmd can be LESS THAN
target's expCmdSN. But RFC also says ABORT-TASK-SET aborts ALL
outstanding cmds for the session which implies the cmdSN for
ABORT-TASK-SET cmd must be the current cmdSN value at the initiator
end which in turn implies that the cmdSN CANNOT be LESS THAN target's
expCmdSN.

thanks,
tkrishna

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



From ips-bounces@ietf.org Wed Nov 23 10:24:17 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EewTp-0000gE-TV; Wed, 23 Nov 2005 10:24:17 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EewTp-0000g9-8o
	for ips@megatron.ietf.org; Wed, 23 Nov 2005 10:24:17 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA15070
	for <ips@ietf.org>; Wed, 23 Nov 2005 10:23:37 -0500 (EST)
From: Sears_Bill@emc.com
Received: from hop-nat-131.emc.com ([168.159.213.131]
	helo=mexforward.lss.emc.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Eewmi-00083o-3f
	for ips@ietf.org; Wed, 23 Nov 2005 10:43:48 -0500
Received: from mailhub.lss.emc.com (nagas.lss.emc.com [10.254.144.11])
	by mexforward.lss.emc.com (Switch-3.1.0/Switch-3.1.6) with ESMTP id
	jANFO6Df013072; Wed, 23 Nov 2005 10:24:06 -0500 (EST)
Received: from mxic2.corp.emc.com (mxic2.corp.emc.com [128.221.12.9])
	by mailhub.lss.emc.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id
	jANFNblA011599; Wed, 23 Nov 2005 10:24:03 -0500 (EST)
Received: by mxic2.corp.emc.com with Internet Mail Service (5.5.2653.19)
	id <W3G9KVV1>; Wed, 23 Nov 2005 10:23:23 -0500
Message-ID: <05AADEB492F5824996D28D50468673990621AC@CORPUSMX40A.corp.emc.com>
To: krishnanand.thommandra@gmail.com, ips@ietf.org
Subject: RE: [Ips] cmdSN related questions
Date: Wed, 23 Nov 2005 10:23:15 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.1.0.0,
	Antispam-Data: 2005.11.23.12
X-PerlMx-Spam: Gauge=, SPAM=1%, Reasons='EMC_FROM_00+ -3, NO_REAL_NAME 0,
	__CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0,
	__IMS_MSGID 0, __IMS_MUA 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0,
	__SANE_MSGID 0, __STOCK_CRUFT 0'
X-Spam-Score: 0.3 (/)
X-Scan-Signature: e8a67952aa972b528dd04570d58ad8fe
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

1)  Yes the immediate command sent after the window closes will carry the
CmdSN of 11.  I don't think you can ever get an immediate command that is
greater than MaxCmdSN+1.

2)  If you have multiple connections per session then you have a race
condition that can allow commands to arrive out of order.  If an initiator
sent an immediate command through connection 1, and some non immediate
commands through connection 2 it is possible that the non immediate commands
will arrive at the the target fist.  In this case the immediate command will
arrive with a CmdSN lower than the targets expCmdSN. 

3)  Same answer as 2.   However if you are only supporting one connection
you shouldn't have a problem.

- Bill


-----Original Message-----
From: ips-bounces@ietf.org [mailto:ips-bounces@ietf.org] On Behalf Of
T.Krishnanand
Sent: Wednesday, November 23, 2005 7:28 AM
To: ips@ietf.org
Subject: [Ips] cmdSN related questions

Hi,

Assuming ERL 0,

1) Can someone explain clearly what the following means:

"The CmdSN carried by immediate commands may lie outside the ExpCmdSN
to MaxCmdSN range. For example, if the initiator has previously sent a
non-immediate command carrying the CmdSN equal to MaxCmdSN, the target
window is closed."

In the above case, cmd window closed, say expCmdSN = 11 and maxCmdSN =
10, does it mean that the cmdSN of the next cmd from initiator would
be 11 and it is outside the valid-cmdSN window (maCmdSN+1 - expCmdSN).

2) Is there any case when a target MUST accept an immediate cmd
(non-taskmgmt) pdu with cmdSN LESS THAN target's expCmdSN ? If YES
what is the case.

3) Is there any case when a target MUST accept an immediate cmd
(taskmgmt) pdu with cmdSN LESS THAN target's expCmdSN ? Im confused
becoz..

The RFC says that TM cmds like ABORT-TASK-SET etc use cmdSN as the
marker for scope of cmds affected by this task mgmt cmd. I assumed
that in such cases the cmdSN carried by the TM cmd can be LESS THAN
target's expCmdSN. But RFC also says ABORT-TASK-SET aborts ALL
outstanding cmds for the session which implies the cmdSN for
ABORT-TASK-SET cmd must be the current cmdSN value at the initiator
end which in turn implies that the cmdSN CANNOT be LESS THAN target's
expCmdSN.

thanks,
tkrishna

_______________________________________________
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



From ips-bounces@ietf.org Wed Nov 23 11:42:26 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EexhS-0002aE-38; Wed, 23 Nov 2005 11:42:26 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EexhP-0002Vx-UR
	for ips@megatron.ietf.org; Wed, 23 Nov 2005 11:42:24 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA24419
	for <ips@ietf.org>; Wed, 23 Nov 2005 11:41:43 -0500 (EST)
From: Sears_Bill@emc.com
Received: from hop-nat-131.emc.com ([168.159.213.131]
	helo=mexforward.lss.emc.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Eey0J-0004ak-CP
	for ips@ietf.org; Wed, 23 Nov 2005 12:01:55 -0500
Received: from mailhub.lss.emc.com (nagas.lss.emc.com [10.254.144.11])
	by mexforward.lss.emc.com (Switch-3.1.0/Switch-3.1.6) with ESMTP id
	jANGgEDf009036
	for <ips@ietf.org>; Wed, 23 Nov 2005 11:42:14 -0500 (EST)
Received: from mxic2.corp.emc.com (mxic2.corp.emc.com [128.221.12.9])
	by mailhub.lss.emc.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id
	jANGgCko011316
	for <ips@ietf.org>; Wed, 23 Nov 2005 11:42:12 -0500 (EST)
Received: by mxic2.corp.emc.com with Internet Mail Service (5.5.2653.19)
	id <W3G9K055>; Wed, 23 Nov 2005 11:42:12 -0500
Message-ID: <05AADEB492F5824996D28D50468673990621AE@CORPUSMX40A.corp.emc.com>
To: ips@ietf.org
Date: Wed, 23 Nov 2005 11:42:04 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.1.0.0,
	Antispam-Data: 2005.11.23.15
X-PerlMx-Spam: Gauge=, SPAM=1%, Reasons='EMC_FROM_00+ -3, HTML_50_70 0.1,
	NO_REAL_NAME 0, __CT 0, __CTYPE_HAS_BOUNDARY 0,
	__CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __HAS_MSGID 0,
	__HAS_X_MAILER 0, __IMS_MSGID 0, __IMS_MUA 0, __MIME_HTML 0,
	__MIME_VERSION 0, __SANE_MSGID 0, __TAG_EXISTS_HTML 0'
X-Spam-Score: 1.1 (+)
X-Scan-Signature: d185fa790257f526fedfd5d01ed9c976
Subject: [Ips] Question regarding SessionType
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="===============0149517961=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--===============0149517961==
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C5F04C.D58CF1B5"

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C5F04C.D58CF1B5
Content-Type: text/plain

 

rfc3720 section 5.3 states:

The initial login request of the first connection of a session MAY also
include the SessionType key=value pair.

The use of the word 'MAY' here is bothersome.   Does this mean that an
initiator may leave out the session type in the first request but then
explicitly specify it later?  This seems possible but very annoying.  For
example:

During Security stage it seems that an initiator could leave out SessionType
but specify a TargetName=<something>.   Later during operational stage the
initiator could specify SessionType=Discovery.  It seems that this is
allowed.

Currently I am assuming that if the SessionType is not specified in the
initial login request of the first connection that the initiator is
implicitly negotiating for SessionType=Normal.   In this case I wont send
SessionType=Normal in a response PDU but I will assume that SessionType has
been negotiated to its default value of Normal.   I regard seeing
SessionType in any subsequent LoginRequest PDU as an error.  

 

Bill

 


------_=_NextPart_001_01C5F04C.D58CF1B5
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">


<META content="MSHTML 6.00.2800.1498" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face="Courier New">
<P align=left><FONT face=Arial size=2></FONT>&nbsp;</P>
<P align=left><FONT><FONT face=Arial><FONT size=2><SPAN 
class=946331616-23112005>rfc3720 section 5.3 
states:</SPAN></FONT></FONT></FONT></P>
<P align=left><FONT><FONT face=Arial><FONT size=2>The initial login request of 
the first<SPAN class=946331616-23112005> </SPAN>connection of a session MAY also 
include the SessionType key=value<SPAN class=946331616-23112005> 
</SPAN>pair.</FONT></FONT></FONT></P>
<P align=left><SPAN class=946331616-23112005><FONT face=Arial size=2>The use of 
the word 'MAY' here is bothersome.&nbsp;&nbsp; Does this mean that an initiator 
may leave out the session type in the first request but then explicitly specify 
it later?&nbsp; This seems possible but very annoying.&nbsp; For 
example:</FONT></SPAN></P>
<P align=left><SPAN class=946331616-23112005><FONT face=Arial size=2>During 
Security stage it seems that an initiator could leave out SessionType but 
specify a TargetName=&lt;something&gt;.&nbsp;&nbsp; Later during operational 
stage the initiator could specify SessionType=Discovery.&nbsp; It seems that 
this is allowed.</FONT></SPAN></P>
<P align=left><SPAN class=946331616-23112005><FONT face=Arial size=2>Currently I 
am assuming that if the SessionType is not specified in the initial login 
request of the first connection that the initiator is implicitly negotiating for 
SessionType=Normal.&nbsp;&nbsp; In this case I wont send SessionType=Normal in a 
response PDU but I will assume that SessionType has been negotiated to its 
default value of Normal.&nbsp;&nbsp; I regard seeing SessionType in any 
subsequent LoginRequest PDU as an error.&nbsp; </FONT></SPAN></P>
<P align=left><SPAN class=946331616-23112005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</P>
<P align=left><SPAN class=946331616-23112005><FONT face=Arial 
size=2>Bill</FONT></SPAN></P>
<P align=left><SPAN 
class=946331616-23112005></SPAN>&nbsp;</P></FONT></DIV></BODY></HTML>

------_=_NextPart_001_01C5F04C.D58CF1B5--


--===============0149517961==
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

--===============0149517961==--




From ips-bounces@ietf.org Sun Nov 27 11:19:41 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EgPFd-0004Jp-Mb; Sun, 27 Nov 2005 11:19:41 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EgPFY-0004Je-Ug
	for ips@megatron.ietf.org; Sun, 27 Nov 2005 11:19:37 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA01753
	for <ips@ietf.org>; Sun, 27 Nov 2005 11:18:54 -0500 (EST)
Received: from mtagate4.de.ibm.com ([195.212.29.153])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EgPZF-0000t5-7i
	for ips@ietf.org; Sun, 27 Nov 2005 11:39:58 -0500
Received: from d12nrmr1607.megacenter.de.ibm.com
	(d12nrmr1607.megacenter.de.ibm.com [9.149.167.49])
	by mtagate4.de.ibm.com (8.12.10/8.12.10) with ESMTP id jARGJOTJ024322
	for <ips@ietf.org>; Sun, 27 Nov 2005 16:19:24 GMT
Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com
	[9.149.165.228])
	by d12nrmr1607.megacenter.de.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP
	id jARGJKUd235708 for <ips@ietf.org>; Sun, 27 Nov 2005 17:19:20 +0100
Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1])
	by d12av02.megacenter.de.ibm.com (8.12.11/8.13.3) with ESMTP id
	jARGJK1i023332 for <ips@ietf.org>; Sun, 27 Nov 2005 17:19:20 +0100
Received: from d12ml102.megacenter.de.ibm.com (d12ml102.megacenter.de.ibm.com
	[9.149.166.138])
	by d12av02.megacenter.de.ibm.com (8.12.11/8.12.11) with ESMTP id
	jARGJK6d023327 for <ips@ietf.org>; Sun, 27 Nov 2005 17:19:20 +0100
To: ips@ietf.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005
From: Julian Satran <Julian_Satran@il.ibm.com>
Message-ID: <OF67788101.48141C5A-ONC22570C6.00576F78-C22570C6.0059A8C4@il.ibm.com>
Date: Sun, 27 Nov 2005 18:19:18 +0200
X-MIMETrack: Serialize by Router on D12ML102/12/M/IBM(Release 6.5.1| March 5,
	2004) at 27/11/2005 18:19:20,
	Serialize complete at 27/11/2005 18:19:20
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 466662da679e1d2dece19de64e166a5b
Subject: [Ips] old mail revisited - when should the ExpCmdSN and MaxCmdSN
 become valid during a session
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="===============1644263307=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

This is a multipart message in MIME format.
--===============1644263307==
Content-Type: multipart/alternative;
	boundary="=_alternative 0059A7E4C22570C6_="

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

The attached exchange was recently brought to my attention.
It refers to the values ExpCmdSN and MaxCmdSN. The RFC3720 text does not 
support the assertion that ExpCmdSN and MaxCmdSN should have their 
"correct" values only after the connection joins the session (there is no 
exception mentioned for the login phase for those commands). Although 
there is some value in their arguments Login non-final responses are not 
stated as differing from the final or any other immediate sequence. There 
are no real  "security" implications on revealing the 2 numbers (they can 
be seen by a spoofer later) and it will hurt implementations that have a 
simple "bad packet filter" to flushes out all the bad packets and is 
usable for every response. I am sorry for not having seen this exchange 
earlier.

Julo

-------------------------------------------------------------------------------
Re: [Ips] iSCSI: When does a connection become part of a session?

To: pat_thaler@agilent.com
Subject: Re: [Ips] iSCSI: When does a connection become part of a session?
From: "Mallikarjun C." <cbm@rose.hp.com>
Date: Tue, 06 Jan 2004 18:06:35 -0800
Cc: Joseph.Pittman@netapp.com, ips@ietf.org
In-reply-to: <
CA56AF7C40BC6540BA471AD2CC8F305709C5CE@wcosmb02.cos.agilent.com>
List-help: <mailto:ips-request@ietf.org?subject=help>
List-id: IP Storage <ips.ietf.org>
List-post: <mailto:ips@ietf.org>
List-subscribe: <https://www1.ietf.org/mailman/listinfo/ips>,<
mailto:ips-request@ietf.org?subject=subscribe>
List-unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>,<
mailto:ips-request@ietf.org?subject=unsubscribe>
References: <
CA56AF7C40BC6540BA471AD2CC8F305709C5CE@wcosmb02.cos.agilent.com>
Sender: ips-admin@ietf.org
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) 
Gecko/20030624 Netscape/7.1 (ax)

Let me attempt to answer Joe's questions and clarify
a couple of Pat's points.

On Joe's #1, I agree with Pat's comments - there is no
need to return valid values of sequence numbers before
the final successful login reponse.

On Joe's #2, Joe said:
  "My inclination is to only consider the connection to be part of the
   connection when it has successfully completed the entire login
   sequence, and thus do connection reinstatement just prior to sending
   the last login response."

This is indeed the intent.  Connection reinstatement
should be performed only when the target is ready to
signal the final approval for the login attempt on the
connection in question.  A target cannot perform the
reinstatement for an old CID instance unless it arrived
at a new FFP connection with the same CID (clearly, I
think, stated in 5.3.4), i.e. unless login process is
successfully complete for the new instance.

On Joe's #3, the general approach should be to allow
new login attempts to proceed as long as the total
number of connections is < MaxConnections.  At the
time the target moves a connection to FFP, it should
consider any earlier instance of the same CID to have
been reinstated and drop the old instance (10.12.7).
I thus would not recommend the approach you're leaning
towards.  Note however that the 10.12.7 text assumes
that the initiator is well-behaved - if the initiator
is in fact launching multiple login requests at the
same time for the same CID, then it's violating the MUST
requirement in 10.12.7 - "The initiator connection
state MUST be CLEANUP_WAIT (section 7.1.3) when the
initiator attempts a connection reinstatement."

On Pat's points -

> "Successful connection/session reinstatement" might be
> read to mean that the login for the new session successfully
> completed rather than just a login request was received.

Yes, as clarified above.

>However note that a failed connection
> reinstatement causes T15 which moves the session from LOGGED_IN to
> CLEANUP_WAIT so a failed attempt would still disrupt an active
> connection.

True, that was intended.  However, there are two state
machines here (CSM-C and CSM-I, borrowing 7.2 terminology),
and note that Pat's clarification applies to CSM-C (i.e.
the state machine representing the old instance).  The CSM-I,
the new state machine the login is happening on, OTOH,
takes the T7 transition from IN_LOGIN to FREE.

A "failed connection reinstatement", however, should have
been defined in the spec (as Pat says).  For a connection
reinstatement effort to be considered "failed" and thus
cause a state change to CSM-C on the target end, the effort
should have progressed (and failed) beyond the SecurityNegotiation
stage.  Ditto for session reinstatement.

Hope that helps.
--
Mallikarjun

Mallikarjun Chadalapaka
Networked Storage Architecture
Network Storage Solutions
Hewlett-Packard MS 5668
Roseville CA 95747
cbm [at] rose.hp.com





pat_thaler@agilent.com wrote:


Joe,
You raise interesting questions. For the first two items, I think I agree 
that your inclinations are sensible though not necessarily supported in 
the iSCSI draft. On the third one, I'm not sure.
On 1 - treatment of MaxCmdSN and ExpCmdSN during login, it would make 
sense to withhold valid values for these fields at least until the 
security phase of Login has completed and there doesn't seem to be any 
reason to provide them before the last login. However, I don't find 
anything in the spec that supports doing this. Under the description of 
status class for Login Response, it says

The numbering fields (StatSN, ExpCmdSN, MaxCmdSN) are only valid if 
Status-Class is 0.

which implies that the fields are valid when Status-Class is 0 including 
during the security phase.

On 2 - at what point in a connection reinstatement login does the old 
connection get closed, 5.3.4

The Login request performs the logout function of the old connection if an 
explicit logout was not performed earlier.

which appears to indicate that it is the reception of the initial Login 
Request PDU that causes the logout. As you suggest, actually operating 
this way would leave one vulnerable to denial of service type attacks. It 
makes more sense to wait until at least security phase has completed to do 
the logout. It may make sense to wait to do close the old connection until 
ready to send the final login response as you suggest because this login 
may not succeed. However for resource constrained implementations the 
reinstated connection may need resources allocated to the existing 
connection.

The state machine description might be hoped to provide more detail, but 
they don't seem to be entirely consistant. The definition in 7.1.2 for T8, 
(T13 and T18 have similar text)

-target: An internal event of sending a Logout response (success) on 
another connection for a "close the session" Logout request was received, 
or an internal event of a successful connection/session reinstatement is 
received, thus prompting the target to close this connection cleanly.

"Successful connection/session reinstatement" might be read to mean that 
the login for the new session successfully completed rather than just a 
login request was received. However note that a failed connection 
reinstatement causes T15 which moves the session from LOGGED_IN to 
CLEANUP_WAIT so a failed attempt would still disrupt an active connection. 
There doesn't seem to be any definition provided for successful and failed 
connection reinstatement. In the description of connection cleanup state 
transitions (7.2.2, M4) successful implicit logout appears to be defined 
as having reached the state LOGGED_IN on the new connection.

On 3, I think connection reinstatement only applies to a connection that 
has completed login. The state transitions for the target connection state 
machine only allow for implicit logout in the LOGGED_IN state and in the 
states that follow it. The transition from IN_LOGIN to FREE, T4, doesn't 
make any mention of implicit logout or connection reinstatement. Time out 
or the transport going away are the things that get you from IN_LOGIN to 
FREE. One might get a second login attempt if there was a problem on the 
initial connection such as the network going down but it is probably okay 
to not accept it until the original attempt has disappeared due to time 
out or closure of the transport connection. Lack of resources would be a 
reasonable response. If one does have the resources, I'm not sure it is a 
necessary response.

Regards,

Pat

-----Original Message-----
From: ips-admin@ietf.org [mailto:ips-admin@ietf.org]On Behalf Of Pittman, 
Joseph
Sent: Tuesday, January 06, 2004 1:02 PM
To: ips@ietf.org
Subject: [Ips] iSCSI: When does a connection become part of a session?

I'm working on adding support for multi-connection sessions to an
iSCSI target implementation, and I have some questions about when
a new connection is considered to be part of a session.
Consider this set of login request/response exchanges. Assume
that there already exists a session with ISID=1/TSIH=2 on the
target, so the initiator is trying to add a connection to an
existing session. The session is operating at ErrorRecoveryLevel=2,
and there already exists a connection with CID=3 within that
session, so connection reinstatement is required.
Initiator sends Target responds
------------------------- --------------------------
Exchange 0 LOGIN_REQ LOGIN_RESP
ISID=1, TSIH=2, CID=3 ISID=1, TSIH=2,
CID=3
CSG=0, T=0 CSG=0, T=0
AuthMethod=CHAP AuthMethod=CHAP
** Connection now in SecurityNegotiation phase
Exchange 1 LOGIN_REQ LOGIN_RESP
ISID=1, TSIH=2, CID=3 ISID=1, TSIH=2,
CID=3
CSG=0, T=0 CSG=0, T=0
CHAP_A=5 CHAP_A=5
CHAP_I=x
CHAP_C=x
Exchange 2 LOGIN_REQ LOGIN_RESP
ISID=1, TSIH=2, CID=3 ISID=1, TSIH=2,
CID=3
CSG=0, T=1, NSG=1 CSG=0, T=1, NSG=1
CHAP_R=x
CHAP_N=x
** Connection now in LoginOperationalNegotiation phase

Exchange 3 LOGIN_REQ
ISID=1, TSIH=2, CID=3 ISID=1, TSIH=2,
CID=3
CSG=1, T=1, NSG=3 CSG=1, T=1, NSG=3
MaxRecvDSegLen=xxx MaxRecvDSegLen=xxx
** Connection now in FullFeaturePhase phase
** Connection has been added to the session ISID=1/TSIH=2
** Previous connection ISID=1/TSIH=2/CID=3 has been logged out for
recovery
Given this example, here are a few questions:
1) When is the target supposed to consider the connection as part of
the session, for the purposes of the response ExpCmdSN and MaxCmdSN
fields?
In general, the ExpCmdSN and MaxCmdSN fields contain information
about the current command window for a session. But when does the
target consider the connection to be part the session:
- Before security negotiation is complete? If true, then this
tells a spoofing initiator (who will eventually fail
authentication)
about the presence of a connection by the initiator being spoofed
- After security negotiation is complete?
- Only in the last login response/transition to FFP?
My inclination is to only consider the connection to be part of the
connection when it has successfully completed the entire login
sequence, and thus to return the joined session's ExpCmdSN and
MaxCmdSN only in the last login response.

2) When is the target supposed to perform the connection reinstatement
algorithm, including the implicit logout for recovery of the
existing ISID=1/TSIH=2/CID=3 connection?
- Before security negotiation is complete? Surely not, because
this allows a denial of service attack.
- After security negotiation is complete?
- Just before sending the last login response/transition to FFP?
My inclination is to only consider the connection to be part of the
connection when it has successfully completed the entire login
sequence, and thus do connection reinstatement just prior to sending
the last login response.
3) Here's a more esoteric question: if the login sequence for one
connection ISID=1/TSIH=2/CID=3 is still in LoginOpNegotiation stage,
and the initiator starts another connection with the same
ISID/TSIH/CID, what is the target supposed to do? Does 'connection
reinstatement' apply also to a connection which is not yet in FFP?
My inclination is for the target to consider the second login
request as spurious, and to return NotEnoughResources (since I
am unwilling to dedicate two 'new connection' slots to the same
ISID/TSIH/CID combination).

I cannot find any text in the iSCSI spec that unambiguously addresses
these issues. Am I missing anything? If not, would any of the
authors care to give guidance?
Thanks in advance for any help.
--
Joe Pittman
jpittman@netapp.com <mailto:jpittman@netapp.com>

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





Follow-Ups: 
Re: [Ips] iSCSI: When does a connection become part of a session? 
From: "Eddy Quicksall" <eddy_quicksall_iVivity_iSCSI@comcast.net>
Re: [Ips] iSCSI: When does a connection become part of a session? 
From: wrstuden@wasabisystems.com
References: 
RE: [Ips] iSCSI: When does a connection become part of a session? 
From: pat_thaler@agilent.com
Prev by Date: RE: [Ips] iSCSI: When does a connection become part of a 
session? 
Next by Date: [Ips] IPS Security draft change to SLP text 
Previous by thread: RE: [Ips] iSCSI: When does a connection become part of 
a session? 
Next by thread: Re: [Ips] iSCSI: When does a connection become part of a 
session? 
Index(es): 
Date
Thread
--=_alternative 0059A7E4C22570C6_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">The attached exchange was recently brought
to my attention.</font>
<br><font size=2 face="sans-serif">It refers to the values ExpCmdSN and
MaxCmdSN. The RFC3720 text does not support the assertion that ExpCmdSN
and MaxCmdSN should have their &quot;correct&quot; values only after the
connection joins the session (there is no exception mentioned for the login
phase for those commands). Although there is some value in their arguments
Login non-final responses are not stated as differing from the final or
any other immediate sequence. There are no real &nbsp;&quot;security&quot;
implications on revealing the 2 numbers (they can be seen by a spoofer
later) and it will hurt implementations that have a simple &quot;bad packet
filter&quot; to flushes out all the bad packets and is usable for every
response. I am sorry for not having seen this exchange earlier.</font>
<br>
<br><font size=2 face="sans-serif">Julo</font>
<br>
<br><font size=2 face="sans-serif">-------------------------------------------------------------------------------</font>
<br><font size=6><b>Re: [Ips] iSCSI: When does a connection become part
of a session?</b></font>
<br>
<hr>
<ul>
<li><font size=3><i>To</i>: </font><a href=mailto:pat_thaler@agilent.com><font size=3 color=blue><u>pat_thaler@agilent.com</u></font></a>
<li><font size=3><i>Subject</i>: Re: [Ips] iSCSI: When does a connection
become part of a session?</font>
<li><font size=3><i>From</i>: &quot;Mallikarjun C.&quot; &lt;</font><a href=mailto:cbm@rose.hp.com><font size=3 color=blue><u>cbm@rose.hp.com</u></font></a><font size=3>&gt;</font>
<li><font size=3><i>Date</i>: Tue, 06 Jan 2004 18:06:35 -0800</font>
<li><font size=3><i>Cc</i>: </font><a href=mailto:Joseph.Pittman@netapp.com><font size=3 color=blue><u>Joseph.Pittman@netapp.com</u></font></a><font size=3>,
</font><a href=mailto:ips@ietf.org><font size=3 color=blue><u>ips@ietf.org</u></font></a>
<li><font size=3><i>In-reply-to</i>: &lt;</font><a href="http://www1.ietf.org/mail-archive/web/ips/current/msg00183.html"><font size=3 color=blue><u>CA56AF7C40BC6540BA471AD2CC8F305709C5CE@wcosmb02.cos.agilent.com</u></font></a><font size=3>&gt;</font>
<li><font size=3><i>List-help</i>: &lt;</font><a href="mailto:ips-request@ietf.org?subject=help"><font size=3 color=blue><u>mailto:ips-request@ietf.org?subject=help</u></font></a><font size=3>&gt;</font>
<li><font size=3><i>List-id</i>: IP Storage &lt;ips.ietf.org&gt;</font>
<li><font size=3><i>List-post</i>: &lt;</font><a href=mailto:ips@ietf.org><font size=3 color=blue><u>mailto:ips@ietf.org</u></font></a><font size=3>&gt;</font>
<li><font size=3><i>List-subscribe</i>: &lt;</font><a href=https://www1.ietf.org/mailman/listinfo/ips><font size=3 color=blue><u>https://www1.ietf.org/mailman/listinfo/ips</u></font></a><font size=3>&gt;,&lt;</font><a href="mailto:ips-request@ietf.org?subject=subscribe"><font size=3 color=blue><u>mailto:ips-request@ietf.org?subject=subscribe</u></font></a><font size=3>&gt;</font>
<li><font size=3><i>List-unsubscribe</i>: &lt;</font><a href=https://www1.ietf.org/mailman/listinfo/ips><font size=3 color=blue><u>https://www1.ietf.org/mailman/listinfo/ips</u></font></a><font size=3>&gt;,&lt;</font><a href="mailto:ips-request@ietf.org?subject=unsubscribe"><font size=3 color=blue><u>mailto:ips-request@ietf.org?subject=unsubscribe</u></font></a><font size=3>&gt;</font>
<li><font size=3><i>References</i>: &lt;</font><a href="http://www1.ietf.org/mail-archive/web/ips/current/msg00183.html"><font size=3 color=blue><u>CA56AF7C40BC6540BA471AD2CC8F305709C5CE@wcosmb02.cos.agilent.com</u></font></a><font size=3>&gt;</font>
<li><font size=3><i>Sender</i>: </font><a href="mailto:ips-admin@ietf.org"><font size=3 color=blue><u>ips-admin@ietf.org</u></font></a>
<li><font size=3><i>User-agent</i>: Mozilla/5.0 (Windows; U; Windows NT
5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)</font></ul>
<hr>
<br><tt><font size=3>Let me attempt to answer Joe's questions and clarify<br>
a couple of Pat's points.<br>
<br>
On Joe's #1, I agree with Pat's comments - there is no<br>
need to return valid values of sequence numbers before<br>
the final successful login reponse.<br>
<br>
On Joe's #2, Joe said:<br>
 &nbsp;&quot;My inclination is to only consider the connection to be part
of the<br>
 &nbsp; connection when it has successfully completed the entire login<br>
 &nbsp; sequence, and thus do connection reinstatement just prior to sending<br>
 &nbsp; the last login response.&quot;<br>
<br>
This is indeed the intent. &nbsp;Connection reinstatement<br>
should be performed only when the target is ready to<br>
signal the final approval for the login attempt on the<br>
connection in question. &nbsp;A target cannot perform the<br>
reinstatement for an old CID instance unless it arrived<br>
at a new FFP connection with the same CID (clearly, I<br>
think, stated in 5.3.4), i.e. unless login process is<br>
successfully complete for the new instance.<br>
<br>
On Joe's #3, the general approach should be to allow<br>
new login attempts to proceed as long as the total<br>
number of connections is &lt; MaxConnections. &nbsp;At the<br>
time the target moves a connection to FFP, it should<br>
consider any earlier instance of the same CID to have<br>
been reinstated and drop the old instance (10.12.7).<br>
I thus would not recommend the approach you're leaning<br>
towards. &nbsp;Note however that the 10.12.7 text assumes<br>
that the initiator is well-behaved - if the initiator<br>
is in fact launching multiple login requests at the<br>
same time for the same CID, then it's violating the MUST<br>
requirement in 10.12.7 - &quot;The initiator connection<br>
state MUST be CLEANUP_WAIT (section 7.1.3) when the<br>
initiator attempts a connection reinstatement.&quot;<br>
<br>
On Pat's points -<br>
<br>
&gt; &quot;Successful connection/session reinstatement&quot; might be<br>
&gt; read to mean that the login for the new session successfully<br>
&gt; completed rather than just a login request was received.<br>
<br>
Yes, as clarified above.<br>
<br>
&gt;However note that a failed connection<br>
&gt; reinstatement causes T15 which moves the session from LOGGED_IN to<br>
&gt; CLEANUP_WAIT so a failed attempt would still disrupt an active<br>
&gt; connection.<br>
<br>
True, that was intended. &nbsp;However, there are two state<br>
machines here (CSM-C and CSM-I, borrowing 7.2 terminology),<br>
and note that Pat's clarification applies to CSM-C (i.e.<br>
the state machine representing the old instance). &nbsp;The CSM-I,<br>
the new state machine the login is happening on, OTOH,<br>
takes the T7 transition from IN_LOGIN to FREE.<br>
<br>
A &quot;failed connection reinstatement&quot;, however, should have<br>
been defined in the spec (as Pat says). &nbsp;For a connection<br>
reinstatement effort to be considered &quot;failed&quot; and thus<br>
cause a state change to CSM-C on the target end, the effort<br>
should have progressed (and failed) beyond the SecurityNegotiation<br>
stage. &nbsp;Ditto for session reinstatement.<br>
<br>
Hope that helps.<br>
--<br>
Mallikarjun<br>
<br>
Mallikarjun Chadalapaka<br>
Networked Storage Architecture<br>
Network Storage Solutions<br>
Hewlett-Packard MS 5668<br>
Roseville CA 95747<br>
cbm [at] rose.hp.com<br>
<br>
<br>
<br>
<br>
<br>
pat_thaler@agilent.com wrote:<br>
<br>
</font></tt>
<br><font size=3>Joe,<br>
You raise interesting questions. For the first two items, I think I agree
that your inclinations are sensible though not necessarily supported in
the iSCSI draft. On the third one, I'm not sure.<br>
On 1 - treatment of MaxCmdSN and ExpCmdSN during login, it would make sense
to withhold valid values for these fields at least until the security phase
of Login has completed and there doesn't seem to be any reason to provide
them before the last login. However, I don't find anything in the spec
that supports doing this. Under the description of status class for Login
Response, it says<br>
<br>
The numbering fields (StatSN, ExpCmdSN, MaxCmdSN) are only valid if Status-Class
is 0.<br>
<br>
which implies that the fields are valid when Status-Class is 0 including
during the security phase.<br>
<br>
On 2 - at what point in a connection reinstatement login does the old connection
get closed, 5.3.4<br>
<br>
The Login request performs the logout function of the old connection if
an explicit logout was not performed earlier.<br>
<br>
which appears to indicate that it is the reception of the initial Login
Request PDU that causes the logout. As you suggest, actually operating
this way would leave one vulnerable to denial of service type attacks.
It makes more sense to wait until at least security phase has completed
to do the logout. It may make sense to wait to do close the old connection
until ready to send the final login response as you suggest because this
login may not succeed. However for resource constrained implementations
the reinstated connection may need resources allocated to the existing
connection.<br>
<br>
The state machine description might be hoped to provide more detail, but
they don't seem to be entirely consistant. The definition in 7.1.2 for
T8, (T13 and T18 have similar text)<br>
<br>
-target: An internal event of sending a Logout response (success) on another
connection for a &quot;close the session&quot; Logout request was received,
or an internal event of a successful connection/session reinstatement is
received, thus prompting the target to close this connection cleanly.<br>
<br>
&quot;Successful connection/session reinstatement&quot; might be read to
mean that the login for the new session successfully completed rather than
just a login request was received. However note that a failed connection
reinstatement causes T15 which moves the session from LOGGED_IN to CLEANUP_WAIT
so a failed attempt would still disrupt an active connection. There doesn't
seem to be any definition provided for successful and failed connection
reinstatement. In the description of connection cleanup state transitions
(7.2.2, M4) successful implicit logout appears to be defined as having
reached the state LOGGED_IN on the new connection.<br>
<br>
On 3, I think connection reinstatement only applies to a connection that
has completed login. The state transitions for the target connection state
machine only allow for implicit logout in the LOGGED_IN state and in the
states that follow it. The transition from IN_LOGIN to FREE, T4, doesn't
make any mention of implicit logout or connection reinstatement. Time out
or the transport going away are the things that get you from IN_LOGIN to
FREE. One might get a second login attempt if there was a problem on the
initial connection such as the network going down but it is probably okay
to not accept it until the original attempt has disappeared due to time
out or closure of the transport connection. Lack of resources would be
a reasonable response. If one does have the resources, I'm not sure it
is a necessary response.<br>
<br>
Regards,<br>
<br>
Pat<br>
<br>
-----Original Message-----<br>
From: ips-admin@ietf.org [</font><a href="mailto:ips-admin@ietf.org%5DOn"><font size=3 color=blue><u>mailto:ips-admin@ietf.org]On</u></font></a><font size=3>
Behalf Of Pittman, Joseph<br>
Sent: Tuesday, January 06, 2004 1:02 PM<br>
To: ips@ietf.org<br>
Subject: [Ips] iSCSI: When does a connection become part of a session?<br>
<br>
I'm working on adding support for multi-connection sessions to an<br>
iSCSI target implementation, and I have some questions about when<br>
a new connection is considered to be part of a session.<br>
Consider this set of login request/response exchanges. Assume<br>
that there already exists a session with ISID=1/TSIH=2 on the<br>
target, so the initiator is trying to add a connection to an<br>
existing session. The session is operating at ErrorRecoveryLevel=2,<br>
and there already exists a connection with CID=3 within that<br>
session, so connection reinstatement is required.<br>
Initiator sends Target responds<br>
------------------------- --------------------------<br>
Exchange 0 LOGIN_REQ LOGIN_RESP<br>
ISID=1, TSIH=2, CID=3 ISID=1, TSIH=2,<br>
CID=3<br>
CSG=0, T=0 CSG=0, T=0<br>
AuthMethod=CHAP AuthMethod=CHAP<br>
** Connection now in SecurityNegotiation phase<br>
Exchange 1 LOGIN_REQ LOGIN_RESP<br>
ISID=1, TSIH=2, CID=3 ISID=1, TSIH=2,<br>
CID=3<br>
CSG=0, T=0 CSG=0, T=0<br>
CHAP_A=5 CHAP_A=5<br>
CHAP_I=x<br>
CHAP_C=x<br>
Exchange 2 LOGIN_REQ LOGIN_RESP<br>
ISID=1, TSIH=2, CID=3 ISID=1, TSIH=2,<br>
CID=3<br>
CSG=0, T=1, NSG=1 CSG=0, T=1, NSG=1<br>
CHAP_R=x<br>
CHAP_N=x<br>
** Connection now in LoginOperationalNegotiation phase<br>
<br>
Exchange 3 LOGIN_REQ<br>
ISID=1, TSIH=2, CID=3 ISID=1, TSIH=2,<br>
CID=3<br>
CSG=1, T=1, NSG=3 CSG=1, T=1, NSG=3<br>
MaxRecvDSegLen=xxx MaxRecvDSegLen=xxx<br>
** Connection now in FullFeaturePhase phase<br>
** Connection has been added to the session ISID=1/TSIH=2<br>
** Previous connection ISID=1/TSIH=2/CID=3 has been logged out for<br>
recovery<br>
Given this example, here are a few questions:<br>
1) When is the target supposed to consider the connection as part of<br>
the session, for the purposes of the response ExpCmdSN and MaxCmdSN<br>
fields?<br>
In general, the ExpCmdSN and MaxCmdSN fields contain information<br>
about the current command window for a session. But when does the<br>
target consider the connection to be part the session:<br>
- Before security negotiation is complete? If true, then this<br>
tells a spoofing initiator (who will eventually fail<br>
authentication)<br>
about the presence of a connection by the initiator being spoofed<br>
- After security negotiation is complete?<br>
- Only in the last login response/transition to FFP?<br>
My inclination is to only consider the connection to be part of the<br>
connection when it has successfully completed the entire login<br>
sequence, and thus to return the joined session's ExpCmdSN and<br>
MaxCmdSN only in the last login response.<br>
<br>
2) When is the target supposed to perform the connection reinstatement<br>
algorithm, including the implicit logout for recovery of the<br>
existing ISID=1/TSIH=2/CID=3 connection?<br>
- Before security negotiation is complete? Surely not, because<br>
this allows a denial of service attack.<br>
- After security negotiation is complete?<br>
- Just before sending the last login response/transition to FFP?<br>
My inclination is to only consider the connection to be part of the<br>
connection when it has successfully completed the entire login<br>
sequence, and thus do connection reinstatement just prior to sending<br>
the last login response.<br>
3) Here's a more esoteric question: if the login sequence for one<br>
connection ISID=1/TSIH=2/CID=3 is still in LoginOpNegotiation stage,<br>
and the initiator starts another connection with the same<br>
ISID/TSIH/CID, what is the target supposed to do? Does 'connection<br>
reinstatement' apply also to a connection which is not yet in FFP?<br>
My inclination is for the target to consider the second login<br>
request as spurious, and to return NotEnoughResources (since I<br>
am unwilling to dedicate two 'new connection' slots to the same<br>
ISID/TSIH/CID combination).<br>
<br>
I cannot find any text in the iSCSI spec that unambiguously addresses<br>
these issues. Am I missing anything? If not, would any of the<br>
authors care to give guidance?<br>
Thanks in advance for any help.<br>
--<br>
Joe Pittman<br>
jpittman@netapp.com &lt;</font><a href=mailto:jpittman@netapp.com><font size=3 color=blue><u>mailto:jpittman@netapp.com</u></font></a><font size=3>&gt;</font>
<br><tt><font size=3><br>
_______________________________________________<br>
Ips mailing list<br>
Ips@ietf.org<br>
</font></tt><a href=https://www1.ietf.org/mailman/listinfo/ips><tt><font size=3 color=blue><u>https://www1.ietf.org/mailman/listinfo/ips</u></font></tt></a><tt><font size=3><br>
<br>
<br>
<br>
</font></tt>
<br>
<hr>
<ul>
<li><font size=3><b>Follow-Ups</b>: </font>
<ul>
<li><a href="http://www1.ietf.org/mail-archive/web/ips/current/msg00187.html"><font size=3 color=blue><b><u>Re:
[Ips] iSCSI: When does a connection become part of a session?</u></b></font></a><font size=3>
</font>
<ul>
<li><font size=3><i>From:</i> &quot;Eddy Quicksall&quot; &lt;eddy_quicksall_iVivity_iSCSI@comcast.net&gt;</font></ul>
<ul>
<li><a href="http://www1.ietf.org/mail-archive/web/ips/current/msg00186.html"><font size=3 color=blue><b><u>Re:
[Ips] iSCSI: When does a connection become part of a session?</u></b></font></a><font size=3>
</font>
<ul>
<li><font size=3><i>From:</i> wrstuden@wasabisystems.com</font></ul>
<ul>
<li><font size=3><b>References</b>: </font>
<ul>
<li><a href="http://www1.ietf.org/mail-archive/web/ips/current/msg00183.html"><font size=3 color=blue><b><u>RE:
[Ips] iSCSI: When does a connection become part of a session?</u></b></font></a><font size=3>
</font>
<ul>
<li><font size=3><i>From:</i> pat_thaler@agilent.com</font></ul>
<ul>
<li><font size=3>Prev by Date: </font><a href="http://www1.ietf.org/mail-archive/web/ips/current/msg00183.html"><font size=3 color=blue><b><u>RE:
[Ips] iSCSI: When does a connection become part of a session?</u></b></font></a><font size=3>
</font>
<li><font size=3>Next by Date: </font><a href="http://www1.ietf.org/mail-archive/web/ips/current/msg00185.html"><font size=3 color=blue><b><u>[Ips]
IPS Security draft change to SLP text</u></b></font></a><font size=3> </font>
<li><font size=3>Previous by thread: </font><a href="http://www1.ietf.org/mail-archive/web/ips/current/msg00183.html"><font size=3 color=blue><b><u>RE:
[Ips] iSCSI: When does a connection become part of a session?</u></b></font></a><font size=3>
</font>
<li><font size=3>Next by thread: </font><a href="http://www1.ietf.org/mail-archive/web/ips/current/msg00186.html"><font size=3 color=blue><b><u>Re:
[Ips] iSCSI: When does a connection become part of a session?</u></b></font></a><font size=3>
</font>
<li><font size=3>Index(es): </font>
<ul>
<li><a href="http://www1.ietf.org/mail-archive/web/ips/current/maillist.html#00184"><font size=3 color=blue><b><u>Date</u></b></font></a>
<li><a href="http://www1.ietf.org/mail-archive/web/ips/current/threads.html#00184"><font size=3 color=blue><b><u>Thread</u></b></font></a></ul></ul></ul></ul></ul></ul></ul>
--=_alternative 0059A7E4C22570C6_=--


--===============1644263307==
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

--===============1644263307==--




From ips-bounces@ietf.org Tue Nov 29 10:09:20 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Eh76e-0004No-Ob; Tue, 29 Nov 2005 10:09:20 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Eh76c-0004LE-Ml
	for ips@megatron.ietf.org; Tue, 29 Nov 2005 10:09:19 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA17451
	for <ips@ietf.org>; Tue, 29 Nov 2005 10:08:33 -0500 (EST)
Received: from mtagate1.de.ibm.com ([195.212.29.150])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Eh7Qf-0006rw-Mg
	for ips@ietf.org; Tue, 29 Nov 2005 10:30:04 -0500
Received: from d12nrmr1607.megacenter.de.ibm.com
	(d12nrmr1607.megacenter.de.ibm.com [9.149.167.49])
	by mtagate1.de.ibm.com (8.12.10/8.12.10) with ESMTP id jATF8rec195602
	for <ips@ietf.org>; Tue, 29 Nov 2005 15:08:53 GMT
Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com
	[9.149.165.228])
	by d12nrmr1607.megacenter.de.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP
	id jATF8mut232756 for <ips@ietf.org>; Tue, 29 Nov 2005 16:08:48 +0100
Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1])
	by d12av02.megacenter.de.ibm.com (8.12.11/8.13.3) with ESMTP id
	jATF8mBe011181 for <ips@ietf.org>; Tue, 29 Nov 2005 16:08:48 +0100
Received: from d12ml102.megacenter.de.ibm.com (d12ml102.megacenter.de.ibm.com
	[9.149.166.138])
	by d12av02.megacenter.de.ibm.com (8.12.11/8.12.11) with ESMTP id
	jATF8m4K011178; Tue, 29 Nov 2005 16:08:48 +0100
In-Reply-To: <436ABA10.6040803@rose.hp.com>
To: "Mallikarjun C." <cbm@rose.hp.com>
Subject: Re: [Ips] Fast multi-task abort model
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005
From: Julian Satran <Julian_Satran@il.ibm.com>
Message-ID: <OF153CD64D.486C025D-ONC22570C8.00522DD0-C22570C8.005332FA@il.ibm.com>
Date: Tue, 29 Nov 2005 17:08:45 +0200
X-MIMETrack: Serialize by Router on D12ML102/12/M/IBM(Release 6.5.1| March 5,
	2004) at 29/11/2005 17:08:47,
	Serialize complete at 29/11/2005 17:08:47
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e3ebaaff3b3539efaf29ef65eea2aded
Cc: IPS <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>
Content-Type: multipart/mixed; boundary="===============0287047352=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

This is a multipart message in MIME format.
--===============0287047352==
Content-Type: multipart/alternative;
	boundary="=_alternative 00533226C22570C8_="

This is a multipart message in MIME format.
--=_alternative 00533226C22570C8_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Mallikarjun & All,

Sorry for the late answer but here are my 2 Cents:

-CmdSN wait on third party sessions is a mistake and if required we can=20
fix it in an errata (It does not even appear on my copy of=20
draft20+errata).
-TTT wait elimination requires a handshake and this could be an Async=20
message but it can be also forcing TAS=3D1 and mandating the status.  I=20
agree that your Asynch message is more ellegant but does it warrant a new=20
version of the RFC?=20
-StatSN wait for 3rd party falls in the same category as the first (CmdSN=20
waiting) - can be fixed in errata.

Julo



"Mallikarjun C." <cbm@rose.hp.com>=20
Sent by: ips-bounces@ietf.org
04-11-05 03:32

To
IPS <ips@ietf.org>
cc

Subject
[Ips] Fast multi-task abort model






As promised earlier, this memo describes a possible new iSCSI multi-task=20
abort model that supports a much more expeditious termination of=20
affected tasks.  I gave it a decent attention, but have not thought=20
through all the corner cases fully, so please give it a critical read.=20
If we agree adopting something like this,  consider if it should be an=20
additional behavior when a new key "FastMultiTaskAbort=3DYes" is=20
negotiated by both parties.

So where does the "fast" in FastMultTaskAbort come from?

- Eliminates the CmdSN wait on third-party sessions
- Eliminates the TTT wait on issuing & third-party sessions
- Eliminates the wait on third-party StatSN acks for the issuing
   session

And:
- Should work identically for iSCSI-3720 & iSCSI/iSER
- No new SCSI-level requirements (e.g. TAS=3D1)

However, the downside is that the new model is more complex.

The model description follows.
--=20
Mallikarjun

Mallikarjun Chadalapaka
Networked Storage Architecture
StorageWorks Division
Hewlett-Packard MS 5668
Roseville CA 95747
cbm [at] rose.hp.com



The following iSCSI protocol actions happen on an initiator iSCSI layer
after issuing a multi-task abort TMF - i.e. one of Abort Task Set, Clear
Task Set, LU Reset, Target Cold Reset, and Target Warm Reset TMFs:

1. The initiator iSCSI layer must not send any more Data-Out PDUs
    for affected tasks on the issuing connection of the issuing iSCSI
    session once the TMF is sent to the target.

2. Initiator iSCSI layer should receive any responses that the target
    may provide for some tasks among the affected tasks (may process them
    as usual because they are guaranteed to have chronologically
    originated before the TMF response).

3. Initiator iSCSI layer must respond to the Async Message PDU with
    AsyncEvent=3D5 by taking two steps in this order:
                 a) stop Data-Out transfers on that connection for all=20
active
            TTTs for the affected LUN quoted in the Async Message PDU.
                 b) acknowledge the StatSN of the Async Message PDU via a
            Nop-Out PDU with ITT=3D0xffffffff (i.e. non-ping flavor),
            while copying the LUN field from Async Message to Nop-Out.

4. Initiator iSCSI layer receives the task management response
    concluding all the tasks in the set of affected tasks.



The following iSCSI protocol actions happen on a target iSCSI layer
receiving a multi-task abort TMF - i.e. one of Abort Task Set, Clear
Task Set, LU Reset, Target Cold Reset, and Target Warm Reset TMFs:

0. Based on the CmdSN ordering, target iSCSI layer waits for all
    SCSI Command PDUs of the affected tasks to be received on the
    issuing session.  On third-party affected sessions, only the
    instantiated tasks have to be considered for the purpose of
    determining the affected tasks - i.e. no waiting is needed on
    third-party sessions.  In the case of target-scoped requests (i.e.
    target resets), all the commands that are not yet received on
    the issuing session in the command stream however can be considered
    to have been received with no command waiting period - i.e. the
    entire CmdSN space upto the CmdSN of the task management function
    can be "plugged".

1. Target iSCSI layer initiates the termination proceedings on all
    affected tasks immediately - this may involve interacting with the
    local SCSI layer.

2. Target iSCSI layer leaves all active "affected TTTs" (i.e. active
    TTTs associated with "affected tasks") valid along with any buffer
    allocations for the TTTs intact.

3. Target iSCSI layer generates an Asynchronous Message PDU with a new
    AsyncEvent=3D5 that says "all active tasks for LU with matching LUN
    field in the Async Message PDU are being terminated" on:
                 a) each connection of each third-party session that at=20
least one
            affected task is allegiant to, and
                 b) each connection except the non-issuing connection of=20
the
            issuing session that at least one affected task is allegiant
            to.

    If there are multiple affected LUs (say due to a target reset),
    then one Async Message PDU must be sent for each such LU on each
    affected connection.

4. Once the local SCSI layer had terminated the SCSI tasks and handed
    a TMF Response to it, the target iSCSI layer takes note of last-sent
    and unaknowledged StatSN on each of the connections in the iSCSI
    session(s) sharing the affected tasks, and waits for acknowledgement
    of each such StatSN (may solicit for acknowledgement by way of a
    Nop-In).  If any new task responses for the affected LU(s) are
    meanwhile received from the SCSI layer while waiting for StatSN
    acknowledgement(s), those Response PDUs =AD the first SCSI Response
    PDU of which is presumably carrying the UA notification - must
    be held and queued at the iSCSI layer.

5. For each of the affected sessions, the target iSCSI layer waits
    independently for the StatSN acknowledgements.
                 a) As all StatSNs are acknowledged on the issuing=20
session,
            the target iSCSI layer sends the TMF Response in an iSCSI
            PDU to the issuing initiator.  All task response PDUs held
                    back at the iSCSI layer in Step#4, if any, are=20
simultaneously
                    eligible for being placed on the wire as appropriate.
                 b) As all StatSNs are acknowledged on a third-party=20
session,
                    all task response PDUs held back at the iSCSI layer in
            Step#4, if any, are simultaneously eligible for being placed
                    on the wire as appropriate.

6. Technically, the task termination is complete in Step#5. Data
    transfers corresponding to terminated tasks may however still be in
    progress by Step#6.  In the case of iSCSI/iSER, these transfers
    would be into tagged buffers with STags not owned by any active
    tasks.  Target iSCSI layer must free up the affected TTTs and the
    corresponding buffers as it receives the associated Nop-Out
    acknowledgement that the initiator generated in Step#3b (initiator
    actions).  A target may on an implementation-defined internal timeout
    choose to drop the connections that it does not receive the expected
    Nop-Out acknowledgement on and reclaim the buffer and TTT resources.



=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 00533226C22570C8_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable


<br><font size=3D2 face=3D"sans-serif">Mallikarjun &amp; All,</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Sorry for the late answer but here a=
re
my 2 Cents:</font>
<br>
<br><font size=3D2 face=3D"sans-serif">-CmdSN wait on third party sessions
is a mistake and if required we can fix it in an errata (It does not even
appear on my copy of draft20+errata).</font>
<br><font size=3D2 face=3D"sans-serif">-TTT wait elimination requires a han=
dshake
and this could be an Async message but it can be also forcing TAS=3D1 and
mandating the status. &nbsp;I agree that your Asynch message is more ellega=
nt
but does it warrant a new version of the RFC? </font>
<br><font size=3D2 face=3D"sans-serif">-StatSN wait for 3rd party falls in
the same category as the first (CmdSN waiting) - can be fixed in errata.</f=
ont>
<br>
<br><font size=3D2 face=3D"sans-serif">Julo</font>
<br>
<br>
<br>
<table width=3D100%>
<tr valign=3Dtop>
<td width=3D40%><font size=3D1 face=3D"sans-serif"><b>&quot;Mallikarjun C.&=
quot;
&lt;cbm@rose.hp.com&gt;</b> </font>
<br><font size=3D1 face=3D"sans-serif">Sent by: ips-bounces@ietf.org</font>
<p><font size=3D1 face=3D"sans-serif">04-11-05 03:32</font>
<td width=3D59%>
<table width=3D100%>
<tr valign=3Dtop>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">To</font></div>
<td><font size=3D1 face=3D"sans-serif">IPS &lt;ips@ietf.org&gt;</font>
<tr valign=3Dtop>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">cc</font></div>
<td>
<tr valign=3Dtop>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">Subject</font></div>
<td><font size=3D1 face=3D"sans-serif">[Ips] Fast multi-task abort model</f=
ont></table>
<br>
<table>
<tr valign=3Dtop>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=3D2>As promised earlier, this memo describes a possible
new iSCSI multi-task <br>
abort model that supports a much more expeditious termination of <br>
affected tasks. &nbsp;I gave it a decent attention, but have not thought
<br>
through all the corner cases fully, so please give it a critical read.
<br>
If we agree adopting something like this, &nbsp;consider if it should be
an <br>
additional behavior when a new key &quot;FastMultiTaskAbort=3DYes&quot; is
<br>
negotiated by both parties.<br>
<br>
So where does the &quot;fast&quot; in FastMultTaskAbort come from?<br>
<br>
- Eliminates the CmdSN wait on third-party sessions<br>
- Eliminates the TTT wait on issuing &amp; third-party sessions<br>
- Eliminates the wait on third-party StatSN acks for the issuing<br>
 &nbsp; session<br>
<br>
And:<br>
- Should work identically for iSCSI-3720 &amp; iSCSI/iSER<br>
- No new SCSI-level requirements (e.g. TAS=3D1)<br>
<br>
However, the downside is that the new model is more complex.<br>
<br>
The model description follows.<br>
-- <br>
Mallikarjun<br>
<br>
Mallikarjun Chadalapaka<br>
Networked Storage Architecture<br>
StorageWorks Division<br>
Hewlett-Packard MS 5668<br>
Roseville CA 95747<br>
cbm [at] rose.hp.com<br>
<br>
<br>
<br>
The following iSCSI protocol actions happen on an initiator iSCSI layer<br>
after issuing a multi-task abort TMF - i.e. one of Abort Task Set, Clear<br>
Task Set, LU Reset, Target Cold Reset, and Target Warm Reset TMFs:<br>
<br>
1. The initiator iSCSI layer must not send any more Data-Out PDUs<br>
 &nbsp; &nbsp;for affected tasks on the issuing connection of the issuing
iSCSI<br>
 &nbsp; &nbsp;session once the TMF is sent to the target.<br>
<br>
2. Initiator iSCSI layer should receive any responses that the target<br>
 &nbsp; &nbsp;may provide for some tasks among the affected tasks (may
process them<br>
 &nbsp; &nbsp;as usual because they are guaranteed to have chronologically<=
br>
 &nbsp; &nbsp;originated before the TMF response).<br>
<br>
3. Initiator iSCSI layer must respond to the Async Message PDU with<br>
 &nbsp; &nbsp;AsyncEvent=3D5 by taking two steps in this order:<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
a) stop Data-Out transfers on that connection for all active<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TTTs for the affected LUN quoted
in the Async Message PDU.<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
b) acknowledge the StatSN of the Async Message PDU via a<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Nop-Out PDU with ITT=3D0xffffffff
(i.e. non-ping flavor),<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;while copying the LUN field from
Async Message to Nop-Out.<br>
<br>
4. Initiator iSCSI layer receives the task management response<br>
 &nbsp; &nbsp;concluding all the tasks in the set of affected tasks.<br>
<br>
<br>
<br>
The following iSCSI protocol actions happen on a target iSCSI layer<br>
receiving a multi-task abort TMF - i.e. one of Abort Task Set, Clear<br>
Task Set, LU Reset, Target Cold Reset, and Target Warm Reset TMFs:<br>
<br>
0. Based on the CmdSN ordering, target iSCSI layer waits for all<br>
 &nbsp; &nbsp;SCSI Command PDUs of the affected tasks to be received on
the<br>
 &nbsp; &nbsp;issuing session. &nbsp;On third-party affected sessions,
only the<br>
 &nbsp; &nbsp;instantiated tasks have to be considered for the purpose
of<br>
 &nbsp; &nbsp;determining the affected tasks - i.e. no waiting is needed
on<br>
 &nbsp; &nbsp;third-party sessions. &nbsp;In the case of target-scoped
requests (i.e.<br>
 &nbsp; &nbsp;target resets), all the commands that are not yet received
on<br>
 &nbsp; &nbsp;the issuing session in the command stream however can be
considered<br>
 &nbsp; &nbsp;to have been received with no command waiting period - i.e.
the<br>
 &nbsp; &nbsp;entire CmdSN space upto the CmdSN of the task management
function<br>
 &nbsp; &nbsp;can be &quot;plugged&quot;.<br>
<br>
1. Target iSCSI layer initiates the termination proceedings on all<br>
 &nbsp; &nbsp;affected tasks immediately - this may involve interacting
with the<br>
 &nbsp; &nbsp;local SCSI layer.<br>
<br>
2. Target iSCSI layer leaves all active &quot;affected TTTs&quot; (i.e.
active<br>
 &nbsp; &nbsp;TTTs associated with &quot;affected tasks&quot;) valid along
with any buffer<br>
 &nbsp; &nbsp;allocations for the TTTs intact.<br>
<br>
3. Target iSCSI layer generates an Asynchronous Message PDU with a new<br>
 &nbsp; &nbsp;AsyncEvent=3D5 that says &quot;all active tasks for LU with
matching LUN<br>
 &nbsp; &nbsp;field in the Async Message PDU are being terminated&quot;
on:<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
a) each connection of each third-party session that at least one<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;affected task is allegiant to,
and<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
b) each connection except the non-issuing connection of the<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;issuing session that at least
one affected task is allegiant<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;to.<br>
<br>
 &nbsp; &nbsp;If there are multiple affected LUs (say due to a target reset=
),<br>
 &nbsp; &nbsp;then one Async Message PDU must be sent for each such LU
on each<br>
 &nbsp; &nbsp;affected connection.<br>
<br>
4. Once the local SCSI layer had terminated the SCSI tasks and handed<br>
 &nbsp; &nbsp;a TMF Response to it, the target iSCSI layer takes note of
last-sent<br>
 &nbsp; &nbsp;and unaknowledged StatSN on each of the connections in the
iSCSI<br>
 &nbsp; &nbsp;session(s) sharing the affected tasks, and waits for acknowle=
dgement<br>
 &nbsp; &nbsp;of each such StatSN (may solicit for acknowledgement by way
of a<br>
 &nbsp; &nbsp;Nop-In). &nbsp;If any new task responses for the affected
LU(s) are<br>
 &nbsp; &nbsp;meanwhile received from the SCSI layer while waiting for
StatSN<br>
 &nbsp; &nbsp;acknowledgement(s), those Response PDUs =AD the first SCSI
Response<br>
 &nbsp; &nbsp;PDU of which is presumably carrying the UA notification -
must<br>
 &nbsp; &nbsp;be held and queued at the iSCSI layer.<br>
<br>
5. For each of the affected sessions, the target iSCSI layer waits<br>
 &nbsp; &nbsp;independently for the StatSN acknowledgements.<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
a) As all StatSNs are acknowledged on the issuing session,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;the target iSCSI layer sends
the TMF Response in an iSCSI<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PDU to the issuing initiator.
&nbsp;All task response PDUs held<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;back at the iSCSI layer in Step#4, if any, are simultaneously<=
br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;eligible for being placed on the wire as appropriate.<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
b) As all StatSNs are acknowledged on a third-party session,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;all task response PDUs held back at the iSCSI layer in<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Step#4, if any, are simultaneously
eligible for being placed<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;on the wire as appropriate.<br>
<br>
6. Technically, the task termination is complete in Step#5. Data<br>
 &nbsp; &nbsp;transfers corresponding to terminated tasks may however still
be in<br>
 &nbsp; &nbsp;progress by Step#6. &nbsp;In the case of iSCSI/iSER, these
transfers<br>
 &nbsp; &nbsp;would be into tagged buffers with STags not owned by any
active<br>
 &nbsp; &nbsp;tasks. &nbsp;Target iSCSI layer must free up the affected
TTTs and the<br>
 &nbsp; &nbsp;corresponding buffers as it receives the associated Nop-Out<b=
r>
 &nbsp; &nbsp;acknowledgement that the initiator generated in Step#3b (init=
iator<br>
 &nbsp; &nbsp;actions). &nbsp;A target may on an implementation-defined
internal timeout<br>
 &nbsp; &nbsp;choose to drop the connections that it does not receive the
expected<br>
 &nbsp; &nbsp;Nop-Out acknowledgement on and reclaim the buffer and TTT
resources.<br>
<br>
<br>
<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<br>
https://www1.ietf.org/mailman/listinfo/ips<br>
</font></tt>
<br>
--=_alternative 00533226C22570C8_=--


--===============0287047352==
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

--===============0287047352==--




From ips-bounces@ietf.org Tue Nov 29 13:36:25 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EhAL3-0007hw-6n; Tue, 29 Nov 2005 13:36:25 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EhAKz-0007gF-Q8
	for ips@megatron.ietf.org; Tue, 29 Nov 2005 13:36:23 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA17092
	for <ips@ietf.org>; Tue, 29 Nov 2005 13:35:35 -0500 (EST)
Received: from [64.238.111.98] (helo=thoth.ivivity.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EhAf5-0006uF-U8
	for ips@ietf.org; Tue, 29 Nov 2005 13:57:09 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Tue, 29 Nov 2005 13:36:01 -0500
Message-ID: <0F31272A2BCBBE4FA01344C6E69DBF50295FF8@thoth.ivivity.com>
Thread-Topic: iSER: draft-ietf-ips-iser-05.txt
Thread-Index: AcX1E78kFXht5clXR8uy37Jv/lzRuQ==
From: "Sanjay Goyal" <sanjayg@ivivity.com>
To: <ips@ietf.org>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 6b519fb0ef66258f34533f52ff46aedf
Subject: [Ips] iSER: draft-ietf-ips-iser-05.txt
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="===============1704369948=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

This is a multi-part message in MIME format.

--===============1704369948==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C5F513.BF25E6E3"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C5F513.BF25E6E3
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi

below is the description as per draft-ietf-ips-iser-05.txt section 6.3

=20

--------------

An iSER-enabled node is not required to initiate the RDMAExtensions=20

   key exchange if it prefers to operate in the Traditional iSCSI mode.


   However, if the RDMAExtensions key is to be negotiated, an initiator=20

   MUST offer the key in the first Login Request PDU in the=20

   LoginOperationalNegotiation stage of the leading connection, and a=20

   target MUST offer the key in the first Login Response PDU with which=20

   it is allowed to do so (i.e., the first Login Response PDU issued=20

   after the first Login Request PDU with the C bit set to 0) in the=20

   LoginOperationalNegotiation stage of the leading connection.  In=20

   response to the offered key=3Dvalue pair of RDMAExtensions=3Dyes, an=20

   initiator MUST respond in the next Login Request PDU with which it=20

   is allowed to do so, and a target MUST respond in the next Login=20

   Response PDU with which it is allowed to do so.=20

----------

=20

What is confusing to me is=20

"if the RDMAExtensions key is to be negotiated, an initiator=20

   MUST offer the key in the first Login Request PDU in the=20

   LoginOperationalNegotiation stage of the leading connection"=20

               which is later followed by

"In response to the offered key=3Dvalue pair of RDMAExtensions=3Dyes, an =


   initiator MUST respond in the next Login Request PDU with which it=20

   is allowed to do so"

=20

If the Initiator did not exchange the key in first Login Request, means
that it doesnot want to negotiate, why would it get the key in the first
Login Response as Target should not send it to begin with.

=20

Please clarify,

=20

Regards,
=20
Sanjay Goyal
678-990-1550 x204
iVivity Inc.
Norcross, GA 30093

=20


------_=_NextPart_001_01C5F513.BF25E6E3
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1522" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN =
class=3D723512018-29112005>Hi</SPAN></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT><FONT=20
face=3D"Courier New"><FONT size=3D2><SPAN =
class=3D723512018-29112005>below is the=20
description as per <SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'MS Mincho'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: =
AR-SA">draft-ietf-ips-iser-05.txt=20
section 6.3</SPAN></SPAN></FONT></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT><FONT=20
face=3D"Courier New"><FONT size=3D2><SPAN =
class=3D723512018-29112005><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'MS Mincho'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: =
AR-SA"></SPAN></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT><FONT=20
face=3D"Courier New"><FONT size=3D2><SPAN =
class=3D723512018-29112005><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'MS Mincho'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: =
AR-SA">--------------</SPAN></SPAN></FONT></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT><FONT=20
face=3D"Courier New"><FONT size=3D2><SPAN =
class=3D723512018-29112005><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'MS Mincho'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA"></SPAN></SPAN>An=20
iSER-enabled node is not required to initiate the RDMAExtensions =
<?xml:namespace=20
prefix =3D o ns =3D "urn:schemas-microsoft-com:office:office"=20
/><o:p></o:p></FONT></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp; </SPAN>key =
exchange if it=20
prefers to operate in the Traditional iSCSI mode.<SPAN=20
style=3D"mso-spacerun: yes">&nbsp; =
</SPAN><o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp; </SPAN>However, =
if the=20
RDMAExtensions key is to be negotiated, an initiator=20
<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp; </SPAN>MUST =
offer the key in=20
the first Login Request PDU in the <o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp;=20
</SPAN>LoginOperationalNegotiation stage of the leading connection, and =
a=20
<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp; </SPAN>target =
MUST offer the=20
key in the first Login Response PDU with which=20
<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp; </SPAN>it is =
allowed to do=20
so (i.e., the first Login Response PDU issued=20
<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp; </SPAN><SPAN=20
style=3D"mso-spacerun: yes">&nbsp;</SPAN>after the first Login Request =
PDU with=20
the C bit set to 0) in the <o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp;=20
</SPAN>LoginOperationalNegotiation stage of the leading connection.<SPAN =

style=3D"mso-spacerun: yes">&nbsp; </SPAN>In =
<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp; </SPAN>response =
to the=20
offered key=3Dvalue pair of RDMAExtensions=3Dyes, an=20
<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp; </SPAN>initiator =
MUST=20
respond in the next Login Request PDU with which it=20
<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp; </SPAN>is =
allowed to do so,=20
and a target MUST respond in the next Login =
<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp; </SPAN>Response =
PDU with=20
which it is allowed to do so. </FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT><FONT =
face=3D"Courier New"=20
size=3D2><SPAN =
class=3D723512018-29112005>----------</SPAN></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT><FONT =
face=3D"Courier New"=20
size=3D2><SPAN =
class=3D723512018-29112005></SPAN></FONT></FONT></SPAN>&nbsp;</P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT><FONT =
face=3D"Courier New"=20
size=3D2><SPAN class=3D723512018-29112005>What is confusing to me is=20
</SPAN></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT><FONT><SPAN=20
class=3D723512018-29112005><FONT face=3D"Courier New"><FONT size=3D2>"if =
the=20
RDMAExtensions key is to be negotiated, an initiator=20
<o:p></o:p></FONT></FONT></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp; </SPAN>MUST =
offer the key in=20
the first Login Request PDU in the <o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp;=20
</SPAN>LoginOperationalNegotiation stage of the leading connection<SPAN=20
class=3D723512018-29112005>" </SPAN></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN=20
class=3D723512018-29112005>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
which is later followed by</SPAN></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT><SPAN=20
class=3D723512018-29112005><FONT face=3D"Courier New"><FONT size=3D2>"In =

</FONT></FONT><SPAN style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT =

face=3D"Courier New"><FONT size=3D2>response to the offered key=3Dvalue =
pair of=20
RDMAExtensions=3Dyes, an <o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp; </SPAN>initiator =
MUST=20
respond in the next Login Request PDU with which it=20
<o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp; </SPAN>is =
allowed to do=20
so<SPAN=20
class=3D723512018-29112005>"</SPAN></FONT></FONT></SPAN></P></SPAN></FONT=
></SPAN></SPAN></FONT></FONT></SPAN>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><o:p></o:p></FONT></FONT></SPAN>&nbsp;</P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT><FONT =
face=3D"Courier New"=20
size=3D2><o:p><SPAN class=3D723512018-29112005>If the Initiator did not =
exchange the=20
key in first Login Request, means that it doesnot want to negotiate, why =
would=20
it get the key in the first Login Response as Target should not send it =
to begin=20
with.</SPAN></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT><FONT =
face=3D"Courier New"=20
size=3D2><o:p><SPAN=20
class=3D723512018-29112005></SPAN></o:p></FONT></FONT></SPAN>&nbsp;</P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT><FONT =
face=3D"Courier New"=20
size=3D2><o:p><SPAN class=3D723512018-29112005>Please=20
clarify,</SPAN></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT><FONT =
face=3D"Courier New"=20
size=3D2><o:p><SPAN=20
class=3D723512018-29112005></SPAN></o:p></FONT></FONT></SPAN>&nbsp;</P><S=
PAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT><FONT =
face=3D"Courier New"=20
size=3D2><o:p><SPAN class=3D723512018-29112005>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Sanjay Goyal</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>678-990-1550 =
x204</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>iVivity Inc.</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Norcross, GA=20
30093</FONT></DIV></SPAN></o:p></FONT></FONT></SPAN>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT face=3D"Courier =
New"><FONT=20
size=3D2><o:p></o:p></FONT></FONT></SPAN>&nbsp;</P></FONT></DIV></BODY></=
HTML>

------_=_NextPart_001_01C5F513.BF25E6E3--


--===============1704369948==
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

--===============1704369948==--




From ips-bounces@ietf.org Tue Nov 29 13:52:11 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EhAaJ-0001gK-Bn; Tue, 29 Nov 2005 13:52:11 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EhAaI-0001fJ-3a
	for ips@megatron.ietf.org; Tue, 29 Nov 2005 13:52:10 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA19541
	for <ips@ietf.org>; Tue, 29 Nov 2005 13:51:23 -0500 (EST)
Received: from e2.ny.us.ibm.com ([32.97.182.142])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EhAuO-0007by-JJ
	for ips@ietf.org; Tue, 29 Nov 2005 14:12:58 -0500
Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234])
	by e2.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id jATIpsV3011465
	for <ips@ietf.org>; Tue, 29 Nov 2005 13:51:54 -0500
Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217])
	by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id
	jATIpsG7123200 for <ips@ietf.org>; Tue, 29 Nov 2005 13:51:54 -0500
Received: from d01av03.pok.ibm.com (loopback [127.0.0.1])
	by d01av03.pok.ibm.com (8.12.11/8.13.3) with ESMTP id jATIpsQl025156
	for <ips@ietf.org>; Tue, 29 Nov 2005 13:51:54 -0500
Received: from d01ml604.pok.ibm.com (d01ml604.pok.ibm.com [9.56.227.90])
	by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id jATIpsMT025151; 
	Tue, 29 Nov 2005 13:51:54 -0500
In-Reply-To: <0F31272A2BCBBE4FA01344C6E69DBF50295FF8@thoth.ivivity.com>
Importance: Normal
MIME-Version: 1.0
To: "Sanjay Goyal" <sanjayg@ivivity.com>
Subject: Re: [Ips] iSER: draft-ietf-ips-iser-05.txt
X-Mailer: Lotus Notes Release 6.5.2 June 01, 2004
Message-ID: <OF500B9847.41156CC0-ON852570C8.006708BB-882570C8.00679BED@us.ibm.com>
From: Mike Ko <mako@almaden.ibm.com>
Date: Tue, 29 Nov 2005 10:51:38 -0800
X-MIMETrack: Serialize by Router on D01ML604/01/M/IBM(Release 7.0HF90 |
	November 16, 2005) at 11/29/2005 13:51:54,
	Serialize complete at 11/29/2005 13:51:54
Content-Type: text/plain; charset="US-ASCII"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 082a9cbf4d599f360ac7f815372a6a15
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

Sanjay,

There is the possibility that an iSER initiator might prefer to operate in 
iSCSI mode and therefore not offer RDMAExtensions in its Login Request. 
But if the target can support and prefers iSER mode, it can offer 
RDMAExtensions in its Login Response.  It is then up to the initiator to 
determine if it wants to support iSER for this session.  The iSER draft is 
written to allow such possibilities.

Mike
Sent by:        ips-bounces@ietf.org
To:     <ips@ietf.org>
cc:      
Subject:        [Ips] iSER: draft-ietf-ips-iser-05.txt


Hi
below is the description as per draft-ietf-ips-iser-05.txt section 6.3
 
--------------
An iSER-enabled node is not required to initiate the RDMAExtensions 
   key exchange if it prefers to operate in the Traditional iSCSI mode. 
   However, if the RDMAExtensions key is to be negotiated, an initiator 
   MUST offer the key in the first Login Request PDU in the 
   LoginOperationalNegotiation stage of the leading connection, and a 
   target MUST offer the key in the first Login Response PDU with which 
   it is allowed to do so (i.e., the first Login Response PDU issued 
   after the first Login Request PDU with the C bit set to 0) in the 
   LoginOperationalNegotiation stage of the leading connection.  In 
   response to the offered key=value pair of RDMAExtensions=yes, an 
   initiator MUST respond in the next Login Request PDU with which it 
   is allowed to do so, and a target MUST respond in the next Login 
   Response PDU with which it is allowed to do so. 
----------
 
What is confusing to me is 
"if the RDMAExtensions key is to be negotiated, an initiator 
   MUST offer the key in the first Login Request PDU in the 
   LoginOperationalNegotiation stage of the leading connection" 
               which is later followed by
"In response to the offered key=value pair of RDMAExtensions=yes, an 
   initiator MUST respond in the next Login Request PDU with which it 
   is allowed to do so"
 
If the Initiator did not exchange the key in first Login Request, means 
that it doesnot want to negotiate, why would it get the key in the first 
Login Response as Target should not send it to begin with.
 
Please clarify,
 
Regards,
 
Sanjay Goyal
678-990-1550 x204
iVivity Inc.
Norcross, GA 30093
 _______________________________________________
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



From ips-bounces@ietf.org Tue Nov 29 14:08:35 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EhAqB-0007zN-0d; Tue, 29 Nov 2005 14:08:35 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EhAq9-0007zG-Fc
	for ips@megatron.ietf.org; Tue, 29 Nov 2005 14:08:33 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA21659
	for <ips@ietf.org>; Tue, 29 Nov 2005 14:07:49 -0500 (EST)
Received: from [64.238.111.98] (helo=thoth.ivivity.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EhBAF-0008FB-JP
	for ips@ietf.org; Tue, 29 Nov 2005 14:29:22 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
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] iSER: draft-ietf-ips-iser-05.txt
Date: Tue, 29 Nov 2005 14:08:21 -0500
Message-ID: <0F31272A2BCBBE4FA01344C6E69DBF50295FF9@thoth.ivivity.com>
Thread-Topic: [Ips] iSER: draft-ietf-ips-iser-05.txt
Thread-Index: AcX1Ffqs9WqbU9j/TY6Cmh88yBYbRAAAhu4g
From: "Sanjay Goyal" <sanjayg@ivivity.com>
To: "Mike Ko" <mako@almaden.ibm.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 8de5f93cb2b4e3bee75302e9eacc33db
Content-Transfer-Encoding: quoted-printable
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

Mike,

I understand that, the point I was trying to make was if Initiator
prefers =20
iSCSI mode, why would it change its mind after it gets  RDMAExtensions
key from Target.

-Sanjay

>Original>-----Original Message-----
>Original>From: Mike Ko [mailto:mako@almaden.ibm.com]=20
>Original>Sent: Tuesday, November 29, 2005 1:52 PM
>Original>To: Sanjay Goyal
>Original>Cc: ips@ietf.org
>Original>Subject: Re: [Ips] iSER: draft-ietf-ips-iser-05.txt
>Original>
>Original>Sanjay,
>Original>
>Original>There is the possibility that an iSER initiator might=20
>Original>prefer to operate in iSCSI mode and therefore not=20
>Original>offer RDMAExtensions in its Login Request.=20
>Original>But if the target can support and prefers iSER mode,=20
>Original>it can offer RDMAExtensions in its Login Response. =20
>Original>It is then up to the initiator to determine if it=20
>Original>wants to support iSER for this session.  The iSER=20
>Original>draft is written to allow such possibilities.
>Original>
>Original>Mike
>Original>Sent by:        ips-bounces@ietf.org
>Original>To:     <ips@ietf.org>
>Original>cc:     =20
>Original>Subject:        [Ips] iSER: draft-ietf-ips-iser-05.txt
>Original>
>Original>
>Original>Hi
>Original>below is the description as per=20
>Original>draft-ietf-ips-iser-05.txt section 6.3
>Original>=20
>Original>--------------
>Original>An iSER-enabled node is not required to initiate the=20
>Original>RDMAExtensions=20
>Original>   key exchange if it prefers to operate in the=20
>Original>Traditional iSCSI mode.=20
>Original>   However, if the RDMAExtensions key is to be=20
>Original>negotiated, an initiator=20
>Original>   MUST offer the key in the first Login Request PDU in the=20
>Original>   LoginOperationalNegotiation stage of the leading=20
>Original>connection, and a=20
>Original>   target MUST offer the key in the first Login=20
>Original>Response PDU with which=20
>Original>   it is allowed to do so (i.e., the first Login=20
>Original>Response PDU issued=20
>Original>   after the first Login Request PDU with the C bit=20
>Original>set to 0) in the=20
>Original>   LoginOperationalNegotiation stage of the leading=20
>Original>connection.  In=20
>Original>   response to the offered key=3Dvalue pair of=20
>Original>RDMAExtensions=3Dyes, an=20
>Original>   initiator MUST respond in the next Login Request=20
>Original>PDU with which it=20
>Original>   is allowed to do so, and a target MUST respond in=20
>Original>the next Login=20
>Original>   Response PDU with which it is allowed to do so.=20
>Original>----------
>Original>=20
>Original>What is confusing to me is
>Original>"if the RDMAExtensions key is to be negotiated, an initiator=20
>Original>   MUST offer the key in the first Login Request PDU in the=20
>Original>   LoginOperationalNegotiation stage of the leading=20
>Original>connection"=20
>Original>               which is later followed by "In=20
>Original>response to the offered key=3Dvalue pair of=20
>Original>RDMAExtensions=3Dyes, an=20
>Original>   initiator MUST respond in the next Login Request=20
>Original>PDU with which it=20
>Original>   is allowed to do so"
>Original>=20
>Original>If the Initiator did not exchange the key in first=20
>Original>Login Request, means that it doesnot want to=20
>Original>negotiate, why would it get the key in the first=20
>Original>Login Response as Target should not send it to begin with.
>Original>=20
>Original>Please clarify,
>Original>=20
>Original>Regards,
>Original>=20
>Original>Sanjay Goyal
>Original>678-990-1550 x204
>Original>iVivity Inc.
>Original>Norcross, GA 30093
>Original> _______________________________________________
>Original>Ips mailing list
>Original>Ips@ietf.org
>Original>https://www1.ietf.org/mailman/listinfo/ips
>Original>
>Original>
>Original>

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



From ips-bounces@ietf.org Tue Nov 29 14:15:43 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EhAx5-0004f0-1i; Tue, 29 Nov 2005 14:15:43 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EhAx4-0004ev-8z
	for ips@megatron.ietf.org; Tue, 29 Nov 2005 14:15:42 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA22192
	for <ips@ietf.org>; Tue, 29 Nov 2005 14:14:57 -0500 (EST)
Received: from e2.ny.us.ibm.com ([32.97.182.142])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EhBHB-0008Ti-GQ
	for ips@ietf.org; Tue, 29 Nov 2005 14:36:30 -0500
Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236])
	by e2.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id jATJFS4Q030390
	for <ips@ietf.org>; Tue, 29 Nov 2005 14:15:31 -0500
Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215])
	by d01relay04.pok.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id
	jATJFSGx100740 for <ips@ietf.org>; Tue, 29 Nov 2005 14:15:28 -0500
Received: from d01av01.pok.ibm.com (loopback [127.0.0.1])
	by d01av01.pok.ibm.com (8.12.11/8.13.3) with ESMTP id jATJFSjT006072
	for <ips@ietf.org>; Tue, 29 Nov 2005 14:15:28 -0500
Received: from d01ml604.pok.ibm.com (d01ml604.pok.ibm.com [9.56.227.90])
	by d01av01.pok.ibm.com (8.12.11/8.12.11) with ESMTP id jATJFSox006065; 
	Tue, 29 Nov 2005 14:15:28 -0500
In-Reply-To: <0F31272A2BCBBE4FA01344C6E69DBF50295FF9@thoth.ivivity.com>
Importance: Normal
MIME-Version: 1.0
To: "Sanjay Goyal" <sanjayg@ivivity.com>
Subject: RE: [Ips] iSER: draft-ietf-ips-iser-05.txt
X-Mailer: Lotus Notes Release 6.5.2 June 01, 2004
Message-ID: <OF52968840.13E55515-ON852570C8.00695508-882570C8.0069C93E@us.ibm.com>
From: Mike Ko <mako@almaden.ibm.com>
Date: Tue, 29 Nov 2005 11:15:25 -0800
X-MIMETrack: Serialize by Router on D01ML604/01/M/IBM(Release 7.0HF90 |
	November 16, 2005) at 11/29/2005 14:15:28,
	Serialize complete at 11/29/2005 14:15:28
Content-Type: text/plain; charset="US-ASCII"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 79899194edc4f33a41f49410777972f8
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

Sanjay,

The initiator may well reject the RDMAExtensions offer from the target, 
but we don't want to preclude the possibility that the initiator might 
want to accommodate the target and choose to support iSER instead.

Mike
To:     "Mike Ko" <mako@almaden.ibm.com>
cc:     <ips@ietf.org> 
Subject:        RE: [Ips] iSER: draft-ietf-ips-iser-05.txt


Mike,

I understand that, the point I was trying to make was if Initiator
prefers 
iSCSI mode, why would it change its mind after it gets  RDMAExtensions
key from Target.

-Sanjay

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



From ips-bounces@ietf.org Tue Nov 29 14:52:14 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EhBWQ-0007g2-Mx; Tue, 29 Nov 2005 14:52:14 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EhBWO-0007fd-NK
	for ips@megatron.ietf.org; Tue, 29 Nov 2005 14:52:12 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA26731
	for <ips@ietf.org>; Tue, 29 Nov 2005 14:51:25 -0500 (EST)
Received: from f112.brocade.com ([66.243.153.112] helo=blasphemy.brocade.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EhBqT-0001EP-TT
	for ips@ietf.org; Tue, 29 Nov 2005 15:12:59 -0500
Received: from hq-ex-5.corp.brocade.com (hq-ex-5 [192.168.38.35])
	by blasphemy.brocade.com (Postfix) with ESMTP id C8948142FD;
	Tue, 29 Nov 2005 11:51:52 -0800 (PST)
Received: from hq-ex-6.corp.brocade.com ([192.168.38.36]) by
	hq-ex-5.corp.brocade.com with Microsoft SMTPSVC(5.0.2195.6713); 
	Tue, 29 Nov 2005 11:51:52 -0800
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] iSER: draft-ietf-ips-iser-05.txt
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Date: Tue, 29 Nov 2005 11:51:52 -0800
Message-ID: <EE86A2987768164188932981F6EBE69E01DD0274@hq-ex-6.brocade.com>
Thread-Topic: [Ips] iSER: draft-ietf-ips-iser-05.txt
Thread-Index: AcX1GXDcwQIxEI6YR0CtVD8fEhC7sQAAES9g
From: "John Hufferd" <jhufferd@Brocade.COM>
To: "Sanjay Goyal" <sanjayg@ivivity.com>
X-OriginalArrivalTime: 29 Nov 2005 19:51:52.0593 (UTC)
	FILETIME=[581B3810:01C5F51E]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d0bdc596f8dd1c226c458f0b4df27a88
Content-Transfer-Encoding: quoted-printable
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

Sanjay,
One of the reasons that I, for one, thought this approach was a good
idea was that I felt that it was possible that a software version of
iWARP could be made available.  Even though it might not be appropriate
for Server to Server communications, it might be very useful for
workstations (desktops/laptops) to use software iWARP when communicating
to a server that has and RNIC.

In the workstation to iWARP server situation, the workstation often has
all the MIPS it needs for this operation, and though not efficient for
the workstation to use software iWARP (probably no one will notice
anyway), it enables server efficiencies since the server can use iWARP
via its RNIC. =20

The same thought is appropriate when the workstation (Initiator) is
contacting a Storage (Target) system that might have an RNIC.  In that
case the Initiator might prefer to use normal iSCSI, but the Target
would prefer to use iSER.

In other situations with RNICs, some vendors are producing RNICs that
also support native iSCSI (especially if they want to sell product
today).  These RNICs can often support iSCSI as well as iSER.  In some
cases, the iSCSI path has been optimized for that specific task, and
will operate as well as, or perhaps in some cases better than iSER
(depending on the implementation and HW used).=20


.
.
.
John L Hufferd
Sr. Executive Director of Technology
Brocade Communications Systems, Inc
jhufferd@brocade.com
Office Phone: (408) 333-5244; eFAX: (408) 904-4688
Alt Office Phone: (408) 997-6136; Cell: (408) 627-9606

-----Original Message-----
From: ips-bounces@ietf.org [mailto:ips-bounces@ietf.org] On Behalf Of
Mike Ko
Sent: Tuesday, November 29, 2005 11:15 AM
To: Sanjay Goyal
Cc: ips@ietf.org
Subject: RE: [Ips] iSER: draft-ietf-ips-iser-05.txt

Sanjay,

The initiator may well reject the RDMAExtensions offer from the target,=20
but we don't want to preclude the possibility that the initiator might=20
want to accommodate the target and choose to support iSER instead.

Mike
To:     "Mike Ko" <mako@almaden.ibm.com>
cc:     <ips@ietf.org>=20
Subject:        RE: [Ips] iSER: draft-ietf-ips-iser-05.txt


Mike,

I understand that, the point I was trying to make was if Initiator
prefers=20
iSCSI mode, why would it change its mind after it gets  RDMAExtensions
key from Target.

-Sanjay

_______________________________________________
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



From ips-bounces@ietf.org Tue Nov 29 14:53:10 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EhBXK-0008Dd-8g; Tue, 29 Nov 2005 14:53:10 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EhBXI-0008DX-FP
	for ips@megatron.ietf.org; Tue, 29 Nov 2005 14:53:08 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA26847
	for <ips@ietf.org>; Tue, 29 Nov 2005 14:52:24 -0500 (EST)
Received: from [64.238.111.98] (helo=thoth.ivivity.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EhBrQ-0001H2-3X
	for ips@ietf.org; Tue, 29 Nov 2005 15:13:57 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Tue, 29 Nov 2005 14:52:56 -0500
Message-ID: <0F31272A2BCBBE4FA01344C6E69DBF50295FFB@thoth.ivivity.com>
Thread-Topic: typo in  draft-ietf-ips-iser-05.txt
Thread-Index: AcX1Hn4NpvvJZ2cVRyaYoICgLhd4iw==
From: "Sanjay Goyal" <sanjayg@ivivity.com>
To: <ips@ietf.org>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a2c12dacc0736f14d6b540e805505a86
Subject: [Ips] typo in  draft-ietf-ips-iser-05.txt
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="===============1976816504=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

This is a multi-part message in MIME format.

--===============1976816504==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C5F51E.7DEEDD39"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C5F51E.7DEEDD39
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi
 there is a typo in
=20
It MUST invalidate the local STaq(s), if any, associated with the=20

      ITT.=20
=20
STaq needs to be replaced with STag.
=20
=20
Regards,
=20
Sanjay Goyal
678-990-1550 x204
iVivity Inc.
Norcross, GA 30093

------_=_NextPart_001_01C5F51E.7DEEDD39
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1522" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D859155818-29112005><FONT face=3DArial=20
size=3D2>Hi</FONT></SPAN></DIV>
<DIV><SPAN class=3D859155818-29112005><FONT face=3DArial =
size=3D2>&nbsp;there is a=20
typo in</FONT></SPAN></DIV>
<DIV><SPAN class=3D859155818-29112005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV><SPAN class=3D859155818-29112005>
<P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20
style=3D"mso-fareast-font-family: 'MS Mincho'"><FONT size=3D2><FONT=20
face=3D"Courier New">It MUST invalidate the local STaq(s), if any, =
associated with=20
the <?xml:namespace prefix =3D o ns =3D =
"urn:schemas-microsoft-com:office:office"=20
/><o:p></o:p></FONT></FONT></SPAN></P>
<DIV><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'MS Mincho'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN=20
style=3D"mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>ITT.=20
</SPAN></DIV>
<DIV><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'MS Mincho'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: =
AR-SA"></SPAN>&nbsp;</DIV>
<DIV><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'MS Mincho'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN=20
class=3D859155818-29112005><FONT face=3DArial size=3D2>STaq needs to be =
replaced with=20
STag.</FONT></SPAN></SPAN></DIV>
<DIV><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'MS Mincho'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN=20
class=3D859155818-29112005><FONT face=3DArial=20
size=3D2></FONT></SPAN></SPAN>&nbsp;</DIV>
<DIV><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'MS Mincho'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN=20
class=3D859155818-29112005><FONT face=3DArial=20
size=3D2></FONT></SPAN></SPAN>&nbsp;</DIV>
<DIV><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'MS Mincho'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN=20
class=3D859155818-29112005>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Sanjay Goyal</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>678-990-1550 =
x204</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>iVivity Inc.</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Norcross, GA=20
30093</FONT></DIV></SPAN></SPAN></SPAN></DIV></BODY></HTML>

------_=_NextPart_001_01C5F51E.7DEEDD39--


--===============1976816504==
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

--===============1976816504==--




From ips-bounces@ietf.org Tue Nov 29 20:08:57 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EhGSv-0004BQ-TS; Tue, 29 Nov 2005 20:08:57 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EhGSu-0004BL-Ee
	for ips@megatron.ietf.org; Tue, 29 Nov 2005 20:08:56 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA06403
	for <ips@ietf.org>; Tue, 29 Nov 2005 20:08:10 -0500 (EST)
Received: from web51905.mail.yahoo.com ([206.190.48.68])
	by ietf-mx.ietf.org with smtp (Exim 4.43) id 1EhGn3-0005XI-GF
	for ips@ietf.org; Tue, 29 Nov 2005 20:29:48 -0500
Received: (qmail 97523 invoked by uid 60001); 30 Nov 2005 01:08:45 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	b=QKadurNTzkzTsaHT8DU03/8vgov0L6GOiXklxeJyLXeyvncRBvg7UXoPR+wTN0TLtPLFEJHNLApNCXY6gt7PqIf0LC1GYcbvuvphWd3wCSrJ0ULt5uie/Jl9mewsO5zv3swVsJci2F4sy/4JgVqJDECF8P0mHxwxwkdn0euoQ7c=
	; 
Message-ID: <20051130010845.97521.qmail@web51905.mail.yahoo.com>
Received: from [156.153.255.243] by web51905.mail.yahoo.com via HTTP;
	Tue, 29 Nov 2005 17:08:45 PST
Date: Tue, 29 Nov 2005 17:08:45 -0800 (PST)
From: "Mallikarjun C." <cb_mallikarjun@yahoo.com>
Subject: Re: [Ips] Fast multi-task abort model
To: IPS <ips@ietf.org>
In-Reply-To: <d3a1f7292f1c07c88ea22ffa6b4d4fe3@wasabisystems.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9c7d7a899dc8f3389bf7ace6f0ad8e29
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by ietf.org id UAA06403
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

Sorry for the delay in responding, and thanks for the
review.  Comments below.

>My thoughts are that the use of the new AsyncEvent
probably needs to be=20
>negotiated. However I am all for removing the
inter-nexus delay=20
>requirement w/o requiring any negotiation.

Those two sentiments may be in conflict with each
other.  But I understand.

>I strongly doubt my thoughts would work with iSER and
SCTP, so=20
>something else is needed.

Not sure what's meant...

>:-) Isn't that text really assuming TAS set to 0? :-)

No.  The "new task responses" are chronologically
later than the=20
affected tasks.  Think of them as "responses for
commands to the affected LU that were issued after the
TMF was issued".  This is a corner case, included only
for the paranoid.

>If TAS is set to 1, do we really need to wait for
StatSN=20
>acknowledgement? Each task will return status so we
will know what was=20

Waiting for StatSN ack is mandatory to satisfy the
"single flow" abstraction.  We do not want the TMF
Response to be received before the successful task
responses, *if any*, from the affected task set are
received by an initiator. =20

TAS=3D1 addresses an entirely different matter - that of
TASK ABORTED status for the terminated tasks (*not*
the successful tasks).

>I thought that if we were doing FastAbort, that we
wouldn't exit step 5=20
>for a given session until we receive an ack for the
AsyncEvent, and=20
>thus all we need to do with #6 is just finish the
cleanup implied in=20
>that ack. ?? Or is that what you're saying? :-)

Note that Step#3 is *sending* Async PDU only, an ack
is not necessary to complete the TMF.  The ack is a
"lazy ack" - i.e. may be received after the TMF is
finished.  Because the data transfers are decoupled
from the TMF processing, the task cleanup/TMF
completion happens much faster in this proposal.=20
Step#6 is really an internal book-keeping operation
within the target to free up the TTTs, and associated
buffers.

Thanks.

Mallikarjun



--- William Studenmund <wrstuden@wasabisystems.com>
wrote:

>> As promised earlier, this memo describes a possible
new iSCSI=20
>> multi-task abort model that supports a much more
expeditious=20
>> termination of affected tasks.  I gave it a decent
attention, but=20
>have=20
>> not thought through all the corner cases fully, so
please give it a=20
>> critical read. If we agree adopting something like
this,  consider if=20
>> it should be an additional behavior when a new key=20
>> "FastMultiTaskAbort=3DYes" is negotiated by both
parties.
>
>I think some of the ideas in this model should be
dependent on a new=20
>key, but to the extent other ideas represent
clarification of RFC 3720,=20
>I'm up for just implementing them.
>
>My thoughts are that the use of the new AsyncEvent
probably needs to be=20
>negotiated. However I am all for removing the
inter-nexus delay=20
>requirement w/o requiring any negotiation.
>
>> So where does the "fast" in FastMultTaskAbort come
from?
>>
>> - Eliminates the CmdSN wait on third-party sessions
>> - Eliminates the TTT wait on issuing & third-party
sessions
>> - Eliminates the wait on third-party StatSN acks
for the issuing
>>   session
>>
>> And:
>> - Should work identically for iSCSI-3720 &
iSCSI/iSER
>> - No new SCSI-level requirements (e.g. TAS=3D1)
>>
>> However, the downside is that the new model is more
complex.
>>
>> The model description follows.
>> --=20
>> Mallikarjun
>>
>>
>> The following iSCSI protocol actions happen on an
initiator iSCSI=20
>layer
>> after issuing a multi-task abort TMF - i.e. one of
Abort Task Set,=20
>> Clear
>> Task Set, LU Reset, Target Cold Reset, and Target
Warm Reset TMFs:
>>
>> 1. The initiator iSCSI layer must not send any more
Data-Out PDUs
>>    for affected tasks on the issuing connection of
the issuing iSCSI
>>    session once the TMF is sent to the target.
>>
>> 2. Initiator iSCSI layer should receive any
responses that the target
>>    may provide for some tasks among the affected
tasks (may process=20
>> them
>>    as usual because they are guaranteed to have
chronologically
>>    originated before the TMF response).
>>
>> 3. Initiator iSCSI layer must respond to the Async
Message PDU with
>>    AsyncEvent=3D5 by taking two steps in this order:
>> 	a) stop Data-Out transfers on that connection for
all active
>>            TTTs for the affected LUN quoted in the
Async Message PDU.
>> 	b) acknowledge the StatSN of the Async Message PDU
via a
>>            Nop-Out PDU with ITT=3D0xffffffff (i.e.
non-ping flavor),
>>            while copying the LUN field from Async
Message to Nop-Out.
>>
>> 4. Initiator iSCSI layer receives the task
management response
>>    concluding all the tasks in the set of affected
tasks.
>
>Sounds fine, and I like the fact that it will work
well with other=20
>transports. While I thought of a way that might work
with iSER and TCP,=20
>I strongly doubt my thoughts would work with iSER and
SCTP, so=20
>something else is needed.
>
>> The following iSCSI protocol actions happen on a
target iSCSI layer
>> receiving a multi-task abort TMF - i.e. one of
Abort Task Set, Clear
>> Task Set, LU Reset, Target Cold Reset, and Target
Warm Reset TMFs:
>>
>> 0. Based on the CmdSN ordering, target iSCSI layer
waits for all
>>    SCSI Command PDUs of the affected tasks to be
received on the
>>    issuing session.  On third-party affected
sessions, only the
>>    instantiated tasks have to be considered for the
purpose of
>>    determining the affected tasks - i.e. no waiting
is needed on
>>    third-party sessions.  In the case of
target-scoped requests (i.e.
>>    target resets), all the commands that are not
yet received on
>>    the issuing session in the command stream
however can be=20
>considered
>>    to have been received with no command waiting
period - i.e. the
>>    entire CmdSN space upto the CmdSN of the task
management function
>>    can be "plugged".
>
>I assume that, for a target-scoped request, other
sessions would also=20
>be able to "plug" the entire CmdSN space? Oh, hmm...=20
I'm not sure=20
>about non-SCSI tasks on other iSCSI sessions... Never
mind, we probably=20
>should NOT assume "pluggability" as I just mentioned.
>
>Even though I reject the idea above, I'm leaving the
text in so other=20
>folks can see why the idea won't work. :-)
>
>> 1. Target iSCSI layer initiates the termination
proceedings on all
>>    affected tasks immediately - this may involve
interacting with the
>>    local SCSI layer.
>
>I like this step even for the non-FastAbort case.
>
>> 2. Target iSCSI layer leaves all active "affected
TTTs" (i.e. active
>>    TTTs associated with "affected tasks") valid
along with any buffer
>>    allocations for the TTTs intact.
>>
>> 3. Target iSCSI layer generates an Asynchronous
Message PDU with a=20
>new
>>    AsyncEvent=3D5 that says "all active tasks for LU
with matching LUN
>>    field in the Async Message PDU are being
terminated" on:
>> 	a) each connection of each third-party session
that at least one
>>            affected task is allegiant to, and
>> 	b) each connection except the non-issuing
connection of the
>>            issuing session that at least one
affected task is=20
>allegiant
>>            to.
>>
>>    If there are multiple affected LUs (say due to a
target reset),
>>    then one Async Message PDU must be sent for each
such LU on each
>>    affected connection.
>>
>> 4. Once the local SCSI layer had terminated the
SCSI tasks and handed
>>    a TMF Response to it, the target iSCSI layer
takes note of=20
>last-sent
>>    and unaknowledged StatSN on each of the
connections in the iSCSI
>>    session(s) sharing the affected tasks, and waits
for=20
>acknowledgement
>>    of each such StatSN (may solicit for
acknowledgement by way of a
>>    Nop-In).  If any new task responses for the
affected LU(s) are
>>    meanwhile received from the SCSI layer while
waiting for StatSN
>>    acknowledgement(s), those Response PDUs =AD the
first SCSI Response
>>    PDU of which is presumably carrying the UA
notification - must
>>    be held and queued at the iSCSI layer.
>
>:-) Isn't that text really assuming TAS set to 0? :-)
>
>If TAS is set to 1, do we really need to wait for
StatSN=20
>acknowledgement? Each task will return status so we
will know what was=20
>aborted and what wasn't.
>
>> 5. For each of the affected sessions, the target
iSCSI layer waits
>>    independently for the StatSN acknowledgements.
>> 	a) As all StatSNs are acknowledged on the issuing
session,
>>            the target iSCSI layer sends the TMF
Response in an iSCSI
>>            PDU to the issuing initiator.  All task
response PDUs held
>> 	   back at the iSCSI layer in Step#4, if any, are
simultaneously
>> 	   eligible for being placed on the wire as
appropriate.
>> 	b) As all StatSNs are acknowledged on a
third-party session,
>> 	   all task response PDUs held back at the iSCSI
layer in
>>            Step#4, if any, are simultaneously
eligible for being=20
>placed
>> 	   on the wire as appropriate.
>
>Sounds fine modulo my question above.
>
>I would like to see this step be applicable even w/o
the FastTaskAbort=20
>option; I'd like us to amend RFC 3720 to use this
delay model.
>
>> 6. Technically, the task termination is complete in
Step#5. Data
>>    transfers corresponding to terminated tasks may
however still be=20
>in
>>    progress by Step#6.  In the case of iSCSI/iSER,
these transfers
>>    would be into tagged buffers with STags not
owned by any active
>>    tasks.  Target iSCSI layer must free up the
affected TTTs and the
>>    corresponding buffers as it receives the
associated Nop-Out
>>    acknowledgement that the initiator generated in
Step#3b (initiator
>>    actions).  A target may on an
implementation-defined internal=20
>> timeout
>>    choose to drop the connections that it does not
receive the=20
>expected
>>    Nop-Out acknowledgement on and reclaim the
buffer and TTT=20
>resources.
>
>I thought that if we were doing FastAbort, that we
wouldn't exit step 5=20
>for a given session until we receive an ack for the
AsyncEvent, and=20
>thus all we need to do with #6 is just finish the
cleanup implied in=20
>that ack. ?? Or is that what you're saying? :-)
>
>Sounds good.
>
>Take care,
>
>Bill
>


--
Mallikarjun


Mallikarjun Chadalapaka


=09
	=09
__________________________________=20
Yahoo! Mail - PC Magazine Editors' Choice 2005=20
http://mail.yahoo.com

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



From ips-bounces@ietf.org Tue Nov 29 20:34:18 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EhGrS-0004tr-05; Tue, 29 Nov 2005 20:34:18 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EhGrQ-0004sd-Mx
	for ips@megatron.ietf.org; Tue, 29 Nov 2005 20:34:16 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA08522
	for <ips@ietf.org>; Tue, 29 Nov 2005 20:33:32 -0500 (EST)
Received: from web51906.mail.yahoo.com ([206.190.48.69])
	by ietf-mx.ietf.org with smtp (Exim 4.43) id 1EhHBb-0006Kl-35
	for ips@ietf.org; Tue, 29 Nov 2005 20:55:08 -0500
Received: (qmail 77415 invoked by uid 60001); 30 Nov 2005 01:34:05 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	b=TFs9HAq2QY80ZGygxpQEW4B+yfqibuTEVil8RYwRbJzOxLAgltNr/HgneGy01xCA4dZvScmlwaYJDFndpNupUpu5TSPk0ccdQouKNRKROF8WoymU+H1ONzopDEMal7BNpRQ3gLDxuWwbSDC57zPIGA4gHngqkdYwbS1tk1DeA1Q=
	; 
Message-ID: <20051130013405.77413.qmail@web51906.mail.yahoo.com>
Received: from [156.153.255.243] by web51906.mail.yahoo.com via HTTP;
	Tue, 29 Nov 2005 17:34:05 PST
Date: Tue, 29 Nov 2005 17:34:05 -0800 (PST)
From: "Mallikarjun C." <cb_mallikarjun@yahoo.com>
Subject: Re: [Ips] Fast multi-task abort model
To: IPS <ips@ietf.org>
In-Reply-To: <OF153CD64D.486C025D-ONC22570C8.00522DD0-C22570C8.005332FA@il.ibm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 223e3c753032a50d5dc4443c921c3fcd
Content-Transfer-Encoding: 8bit
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

Hi Julian,

Thanks for the review.

I agree with you that CmdSN & StatSN ack wait on 3rd
party sessions wasn't the original intent, and both
should be errata noted in the implementer's guide.

The third major source of delay comes from the TTT
wait - it's a cross-nexus delay and RFC 3720 requires
it for completing the original TMF.  The Async-NopIn
exchange enables us to take this wait out of the
"performance path" by giving the target iSCSI layer a
definitive event to free up the TTTs in a lazy
fashion.

I don't like mandating TAS=1 for several reasons - a)
it's a SCSI feature, b) it's not a default control
mode page setting, c) it makes it harder to build
iSCSI-to-XYZ bridges, d) puts iSCSI in a minor
competitive disadvantage wrt other transports, e) it
does not address the TTT problem with a
multi-connection issuing session.  So I am glad you
like the Async PDU approach.

I would let David comment on the RFC revision part -
but given all the other things we have been collecting
in the iSCSI implementer's guide and given the guide
will be published as an RFC that "updates" RFC 3720, I
think it should be OK to include the new behavior in
the guide.

Thanks!

Mallikarjun



--- Julian Satran <Julian_Satran@il.ibm.com> wrote:

> Mallikarjun & All,
> 
> Sorry for the late answer but here are my 2 Cents:
> 
> -CmdSN wait on third party sessions is a mistake and
> if required we can 
> fix it in an errata (It does not even appear on my
> copy of 
> draft20+errata).
> -TTT wait elimination requires a handshake and this
> could be an Async 
> message but it can be also forcing TAS=1 and
> mandating the status.  I 
> agree that your Asynch message is more ellegant but
> does it warrant a new 
> version of the RFC? 
> -StatSN wait for 3rd party falls in the same
> category as the first (CmdSN 
> waiting) - can be fixed in errata.
> 
> Julo
> 
> 
> 
> "Mallikarjun C." <cbm@rose.hp.com> 
> Sent by: ips-bounces@ietf.org
> 04-11-05 03:32
> 
> To
> IPS <ips@ietf.org>
> cc
> 
> Subject
> [Ips] Fast multi-task abort model
> 
> 
> 
> 
> 
> 
> As promised earlier, this memo describes a possible
> new iSCSI multi-task 
> abort model that supports a much more expeditious
> termination of 
> affected tasks.  I gave it a decent attention, but
> have not thought 
> through all the corner cases fully, so please give
> it a critical read. 
> If we agree adopting something like this,  consider
> if it should be an 
> additional behavior when a new key
> "FastMultiTaskAbort=Yes" is 
> negotiated by both parties.
> 
> So where does the "fast" in FastMultTaskAbort come
> from?
> 
> - Eliminates the CmdSN wait on third-party sessions
> - Eliminates the TTT wait on issuing & third-party
> sessions
> - Eliminates the wait on third-party StatSN acks for
> the issuing
>    session
> 
> And:
> - Should work identically for iSCSI-3720 &
> iSCSI/iSER
> - No new SCSI-level requirements (e.g. TAS=1)
> 
> However, the downside is that the new model is more
> complex.
> 
> The model description follows.
> -- 
> Mallikarjun
> 
> Mallikarjun Chadalapaka
> Networked Storage Architecture
> StorageWorks Division
> Hewlett-Packard MS 5668
> Roseville CA 95747
> cbm [at] rose.hp.com
> 
> 
> 
> The following iSCSI protocol actions happen on an
> initiator iSCSI layer
> after issuing a multi-task abort TMF - i.e. one of
> Abort Task Set, Clear
> Task Set, LU Reset, Target Cold Reset, and Target
> Warm Reset TMFs:
> 
> 1. The initiator iSCSI layer must not send any more
> Data-Out PDUs
>     for affected tasks on the issuing connection of
> the issuing iSCSI
>     session once the TMF is sent to the target.
> 
> 2. Initiator iSCSI layer should receive any
> responses that the target
>     may provide for some tasks among the affected
> tasks (may process them
>     as usual because they are guaranteed to have
> chronologically
>     originated before the TMF response).
> 
> 3. Initiator iSCSI layer must respond to the Async
> Message PDU with
>     AsyncEvent=5 by taking two steps in this order:
>                  a) stop Data-Out transfers on that
> connection for all 
> active
>             TTTs for the affected LUN quoted in the
> Async Message PDU.
>                  b) acknowledge the StatSN of the
> Async Message PDU via a
>             Nop-Out PDU with ITT=0xffffffff (i.e.
> non-ping flavor),
>             while copying the LUN field from Async
> Message to Nop-Out.
> 
> 4. Initiator iSCSI layer receives the task
> management response
>     concluding all the tasks in the set of affected
> tasks.
> 
> 
> 
> The following iSCSI protocol actions happen on a
> target iSCSI layer
> receiving a multi-task abort TMF - i.e. one of Abort
> Task Set, Clear
> Task Set, LU Reset, Target Cold Reset, and Target
> Warm Reset TMFs:
> 
> 0. Based on the CmdSN ordering, target iSCSI layer
> waits for all
>     SCSI Command PDUs of the affected tasks to be
> received on the
>     issuing session.  On third-party affected
> sessions, only the
>     instantiated tasks have to be considered for the
> purpose of
>     determining the affected tasks - i.e. no waiting
> is needed on
>     third-party sessions.  In the case of
> target-scoped requests (i.e.
>     target resets), all the commands that are not
> yet received on
>     the issuing session in the command stream
> however can be considered
>     to have been received with no command waiting
> period - i.e. the
>     entire CmdSN space upto the CmdSN of the task
> management function
>     can be "plugged".
> 
> 1. Target iSCSI layer initiates the termination
> proceedings on all
>     affected tasks immediately - this may involve
> interacting with the
>     local SCSI layer.
> 
> 2. Target iSCSI layer leaves all active "affected
> TTTs" (i.e. active
>     TTTs associated with "affected tasks") valid
> along with any buffer
>     allocations for the TTTs intact.
> 
> 3. Target iSCSI layer generates an Asynchronous
> Message PDU with a new
>     AsyncEvent=5 that says "all active tasks for LU
> with matching LUN
>     field in the Async Message PDU are being
> terminated" on:
>                  a) each connection of each
> third-party session that at 
> least one
>             affected task is allegiant to, and
>                  b) each connection except the
> non-issuing connection of 
> the
>             issuing session that at least one
> affected task is allegiant
>             to.
> 
>     If there are multiple affected LUs (say due to a
> target reset),
>     then one Async Message PDU must be sent for each
> such LU on each
>     affected connection.
> 
> 4. Once the local SCSI layer had terminated the SCSI
> tasks and handed
>     a TMF Response to it, the target iSCSI layer
> takes note of last-sent
>     and unaknowledged StatSN on each of the
> connections in the iSCSI
>     session(s) sharing the affected tasks, and waits
> for acknowledgement
>     of each such StatSN (may solicit for
> acknowledgement 
=== message truncated ===>
_______________________________________________
> Ips mailing list
> Ips@ietf.org
> https://www1.ietf.org/mailman/listinfo/ips
> 



		
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free. 
http://music.yahoo.com/unlimited/

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



From ips-bounces@ietf.org Tue Nov 29 20:57:09 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EhHDY-0003fF-WD; Tue, 29 Nov 2005 20:57:09 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EhHDX-0003f7-DZ
	for ips@megatron.ietf.org; Tue, 29 Nov 2005 20:57:07 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA10007
	for <ips@ietf.org>; Tue, 29 Nov 2005 20:56:22 -0500 (EST)
Received: from web51903.mail.yahoo.com ([206.190.48.66])
	by ietf-mx.ietf.org with smtp (Exim 4.43) id 1EhHXi-0006ta-Tg
	for ips@ietf.org; Tue, 29 Nov 2005 21:17:59 -0500
Received: (qmail 34494 invoked by uid 60001); 30 Nov 2005 01:56:58 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	b=GQ1FszYuUIIRRwTqTU72qf8seiiA35WetamO0zRi6oMmIT2lruJG+SA0TeZa/KuqTRAweTXg5hrj7QSQx40TCPVNccVoHtChpbomT8gYs3GgO3ijFNCdL584Q4S45vE+j8jG3JBSLB5ns/YSKY+LSmLCUEkXFVLScwnDpqY47xI=
	; 
Message-ID: <20051130015658.34492.qmail@web51903.mail.yahoo.com>
Received: from [156.153.255.243] by web51903.mail.yahoo.com via HTTP;
	Tue, 29 Nov 2005 17:56:57 PST
Date: Tue, 29 Nov 2005 17:56:57 -0800 (PST)
From: "Mallikarjun C." <cb_mallikarjun@yahoo.com>
Subject: Re: [Ips] old mail revisited - when should the ExpCmdSN and MaxCmdSN
	become valid during a session
To: ips@ietf.org
In-Reply-To: <OF67788101.48141C5A-ONC22570C6.00576F78-C22570C6.0059A8C4@il.ibm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 72dbfff5c6b8ad2b1b727c13be042129
Content-Transfer-Encoding: 8bit
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

MaxCmdSN is a dynamic variable anyway, so it can be
increased to reflect the true target capabilities once
in the FFP.  But I agree that both ExpCmdSN and
MaxCmdSN should be always "correct" in that the
standard semantics apply.  I now see how my previous
reply could have been read.

If someone believes that RFC3720 is ambiguous in this
area, please point out the section & text and we can
clarify the referenced in the implementer's guide.

Mallikarjun


--- Julian Satran <Julian_Satran@il.ibm.com> wrote:

> The attached exchange was recently brought to my
> attention.
> It refers to the values ExpCmdSN and MaxCmdSN. The
> RFC3720 text does not 
> support the assertion that ExpCmdSN and MaxCmdSN
> should have their 
> "correct" values only after the connection joins the
> session (there is no 
> exception mentioned for the login phase for those
> commands). Although 
> there is some value in their arguments Login
> non-final responses are not 
> stated as differing from the final or any other
> immediate sequence. There 
> are no real  "security" implications on revealing
> the 2 numbers (they can 
> be seen by a spoofer later) and it will hurt
> implementations that have a 
> simple "bad packet filter" to flushes out all the
> bad packets and is 
> usable for every response. I am sorry for not having
> seen this exchange 
> earlier.
> 
> Julo
> 
>
-------------------------------------------------------------------------------
> Re: [Ips] iSCSI: When does a connection become part
> of a session?
> 
> To: pat_thaler@agilent.com
> Subject: Re: [Ips] iSCSI: When does a connection
> become part of a session?
> From: "Mallikarjun C." <cbm@rose.hp.com>
> Date: Tue, 06 Jan 2004 18:06:35 -0800
> Cc: Joseph.Pittman@netapp.com, ips@ietf.org
> In-reply-to: <
>
CA56AF7C40BC6540BA471AD2CC8F305709C5CE@wcosmb02.cos.agilent.com>
> List-help:
> <mailto:ips-request@ietf.org?subject=help>
> List-id: IP Storage <ips.ietf.org>
> List-post: <mailto:ips@ietf.org>
> List-subscribe:
> <https://www1.ietf.org/mailman/listinfo/ips>,<
> mailto:ips-request@ietf.org?subject=subscribe>
> List-unsubscribe:
> <https://www1.ietf.org/mailman/listinfo/ips>,<
> mailto:ips-request@ietf.org?subject=unsubscribe>
> References: <
>
CA56AF7C40BC6540BA471AD2CC8F305709C5CE@wcosmb02.cos.agilent.com>
> Sender: ips-admin@ietf.org
> User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0;
> en-US; rv:1.4) 
> Gecko/20030624 Netscape/7.1 (ax)
> 
> Let me attempt to answer Joe's questions and clarify
> a couple of Pat's points.
> 
> On Joe's #1, I agree with Pat's comments - there is
> no
> need to return valid values of sequence numbers
> before
> the final successful login reponse.
> 
> On Joe's #2, Joe said:
>   "My inclination is to only consider the connection
> to be part of the
>    connection when it has successfully completed the
> entire login
>    sequence, and thus do connection reinstatement
> just prior to sending
>    the last login response."
> 
> This is indeed the intent.  Connection reinstatement
> should be performed only when the target is ready to
> signal the final approval for the login attempt on
> the
> connection in question.  A target cannot perform the
> reinstatement for an old CID instance unless it
> arrived
> at a new FFP connection with the same CID (clearly,
> I
> think, stated in 5.3.4), i.e. unless login process
> is
> successfully complete for the new instance.
> 
> On Joe's #3, the general approach should be to allow
> new login attempts to proceed as long as the total
> number of connections is < MaxConnections.  At the
> time the target moves a connection to FFP, it should
> consider any earlier instance of the same CID to
> have
> been reinstated and drop the old instance (10.12.7).
> I thus would not recommend the approach you're
> leaning
> towards.  Note however that the 10.12.7 text assumes
> that the initiator is well-behaved - if the
> initiator
> is in fact launching multiple login requests at the
> same time for the same CID, then it's violating the
> MUST
> requirement in 10.12.7 - "The initiator connection
> state MUST be CLEANUP_WAIT (section 7.1.3) when the
> initiator attempts a connection reinstatement."
> 
> On Pat's points -
> 
> > "Successful connection/session reinstatement"
> might be
> > read to mean that the login for the new session
> successfully
> > completed rather than just a login request was
> received.
> 
> Yes, as clarified above.
> 
> >However note that a failed connection
> > reinstatement causes T15 which moves the session
> from LOGGED_IN to
> > CLEANUP_WAIT so a failed attempt would still
> disrupt an active
> > connection.
> 
> True, that was intended.  However, there are two
> state
> machines here (CSM-C and CSM-I, borrowing 7.2
> terminology),
> and note that Pat's clarification applies to CSM-C
> (i.e.
> the state machine representing the old instance). 
> The CSM-I,
> the new state machine the login is happening on,
> OTOH,
> takes the T7 transition from IN_LOGIN to FREE.
> 
> A "failed connection reinstatement", however, should
> have
> been defined in the spec (as Pat says).  For a
> connection
> reinstatement effort to be considered "failed" and
> thus
> cause a state change to CSM-C on the target end, the
> effort
> should have progressed (and failed) beyond the
> SecurityNegotiation
> stage.  Ditto for session reinstatement.
> 
> Hope that helps.
> --
> Mallikarjun
> 
> Mallikarjun Chadalapaka
> Networked Storage Architecture
> Network Storage Solutions
> Hewlett-Packard MS 5668
> Roseville CA 95747
> cbm [at] rose.hp.com
> 
> 
> 
> 
> 
> pat_thaler@agilent.com wrote:
> 
> 
> Joe,
> You raise interesting questions. For the first two
> items, I think I agree 
> that your inclinations are sensible though not
> necessarily supported in 
> the iSCSI draft. On the third one, I'm not sure.
> On 1 - treatment of MaxCmdSN and ExpCmdSN during
> login, it would make 
> sense to withhold valid values for these fields at
> least until the 
> security phase of Login has completed and there
> doesn't seem to be any 
> reason to provide them before the last login.
> However, I don't find 
> anything in the spec that supports doing this. Under
> the description of 
> status class for Login Response, it says
> 
> The numbering fields (StatSN, ExpCmdSN, MaxCmdSN)
> are only valid if 
> Status-Class is 0.
> 
> which implies that the fields are valid when
> Status-Class is 0 including 
> during the security phase.
> 
> On 2 - at what point in a connection reinstatement
> login does the old 
> connection get closed, 5.3.4
> 
> The Login request performs the logout function of
> the old connection if an 
> explicit logout was not performed earlier.
> 
> which appears to indicate that it is the reception
> of the initial Login 
> 
=== message truncated ===>
_______________________________________________
> Ips mailing list
> Ips@ietf.org
> https://www1.ietf.org/mailman/listinfo/ips
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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



From ips-bounces@ietf.org Tue Nov 29 21:47:36 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EhI0O-0006II-0K; Tue, 29 Nov 2005 21:47:36 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EhI0M-0006Hf-54
	for ips@megatron.ietf.org; Tue, 29 Nov 2005 21:47:34 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA14541
	for <ips@ietf.org>; Tue, 29 Nov 2005 21:46:49 -0500 (EST)
Received: from mononoke.wasabisystems.com ([66.173.145.228])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1EhIKY-0008MT-7E
	for ips@ietf.org; Tue, 29 Nov 2005 22:08:26 -0500
Received: from [10.0.0.10] (h-66-166-188-91.sndacagl.covad.net [66.166.188.91])
	by mononoke.wasabisystems.com (Postfix) with ESMTP
	id 371BB87179; Tue, 29 Nov 2005 21:47:23 -0500 (EST)
In-Reply-To: <20051130010845.97521.qmail@web51905.mail.yahoo.com>
References: <20051130010845.97521.qmail@web51905.mail.yahoo.com>
Mime-Version: 1.0 (Apple Message framework v623)
Message-Id: <0a6689af9992aa0f1cfd72b368e9d3fe@wasabisystems.com>
From: William Studenmund <wrstuden@wasabisystems.com>
Subject: Re: [Ips] Fast multi-task abort model
Date: Tue, 29 Nov 2005 18:47:14 -0800
To: "Mallikarjun C." <cb_mallikarjun@yahoo.com>
X-Pgp-Agent: GPGMail 1.0 (v30, 10.3)
X-Mailer: Apple Mail (2.623)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a1852b4f554b02e7e4548cc7928acc1f
Cc: IPS <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>
Content-Type: multipart/mixed; boundary="===============0351307787=="
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org


--===============0351307787==
Content-Type: multipart/signed; protocol="application/pgp-signature";
	micalg=pgp-sha1; boundary="Apple-Mail-1-392811454"
Content-Transfer-Encoding: 7bit


--Apple-Mail-1-392811454
Content-Type: text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 7bit

On Nov 29, 2005, at 5:08 PM, Mallikarjun C. wrote:

> Sorry for the delay in responding, and thanks for the
> review.  Comments below.
>
>> My thoughts are that the use of the new AsyncEvent
> probably needs to be
>> negotiated. However I am all for removing the
> inter-nexus delay
>> requirement w/o requiring any negotiation.
>
> Those two sentiments may be in conflict with each
> other.  But I understand.
>
>> I strongly doubt my thoughts would work with iSER and
> SCTP, so
>> something else is needed.
>
> Not sure what's meant...

I had some half-formed ideas that, well, I don't think will work with 
iSER or SCTP. I haven't explicitly mentioned them as I think they won't 
work. I indirectly mention them to say that I was trying to think of 
other things and didn't come up with much. :-)

>> :-) Isn't that text really assuming TAS set to 0? :-)
>
> No.  The "new task responses" are chronologically
> later than the
> affected tasks.  Think of them as "responses for
> commands to the affected LU that were issued after the
> TMF was issued".  This is a corner case, included only
> for the paranoid.

>> If TAS is set to 1, do we really need to wait for
> StatSN
>> acknowledgement? Each task will return status so we
> will know what was
>
> Waiting for StatSN ack is mandatory to satisfy the
> "single flow" abstraction.  We do not want the TMF
> Response to be received before the successful task
> responses, *if any*, from the affected task set are
> received by an initiator.

I understand why we want the wait for StatSN ack for the session 
issuing the TMF. I think that's fine.

However I still don't understand why StatSN ack matters for the 
inter-nexus case.

Oh, let me try that again. I still don't understand why it matters to 
make the TMF session wait for the completion of StatSN ack on all the 
other sessions. I agree that each of the other sessions & connections 
should go through the StatSN Ack wait in and of itself. I just don't 
understand why the TMF session has to wait for them to finish.

There are always delays (or potential delays) and races, and it is hard 
for an initiator to say "this happened exactly then." For instance, 
with MC/S, we have no way to interlock status delivery between 
different connections. So task A on connection 1 could finish and be 
issued status at the target before task B on connection 2, but due to 
network congestion/traffic flow, the status for task B could be 
delivered to the initiator before that of task A. We consider that to 
be OK. I'm seeing the inter-nexus case as a between-session extension 
of the same.

As long as we can say that there was one common instant in time when we 
separated all impacted tasks into already-done, aborted, and 
active-after-abort-done and further that the TMF response is generated 
ONLY after that instant, do we really need to do more?

As I asked before, how would this inter-nexus StatSN wait work if one 
of the initiators failed, and as such will never be acknowledging 
StatSN?

In my experience, I've seen initiators just stop receiving iSCSI 
packets. The initiator host is healthy, ping works, keep-alives are 
happy, but the initiator logic just isn't doing anything. I think a LUN 
Reset is a great thing to do in this case to clean everything up. But 
if I have to wait for said dead initiator, how do I ever get anything 
done?

> TAS=1 addresses an entirely different matter - that of
> TASK ABORTED status for the terminated tasks (*not*
> the successful tasks).

Ok, I see my confusion.

>> I thought that if we were doing FastAbort, that we
> wouldn't exit step 5
>> for a given session until we receive an ack for the
> AsyncEvent, and
>> thus all we need to do with #6 is just finish the
> cleanup implied in
>> that ack. ?? Or is that what you're saying? :-)
>
> Note that Step#3 is *sending* Async PDU only, an ack
> is not necessary to complete the TMF.  The ack is a
> "lazy ack" - i.e. may be received after the TMF is
> finished.  Because the data transfers are decoupled
> from the TMF processing, the task cleanup/TMF
> completion happens much faster in this proposal.
> Step#6 is really an internal book-keeping operation
> within the target to free up the TTTs, and associated
> buffers.

Take care,

Bill

--Apple-Mail-1-392811454
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFDjRK3DJT2Egh26K0RAnb4AJ9OiPecWO9EOGceOXhNPLmCz6vh5gCfZ5fE
YBPTSUQ3UIQAhFPJ/Dw81wE=
=IW3n
-----END PGP SIGNATURE-----

--Apple-Mail-1-392811454--



--===============0351307787==
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

--===============0351307787==--





From ips-bounces@ietf.org Tue Nov 29 22:25:07 2005
Received: from localhost.cnri.reston.va.us ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1EhIah-0007Gc-L9; Tue, 29 Nov 2005 22:25:07 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1EhIag-0007Ae-0I
	for ips@megatron.ietf.org; Tue, 29 Nov 2005 22:25:06 -0500
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA17195
	for <ips@ietf.org>; Tue, 29 Nov 2005 22:24:20 -0500 (EST)
Received: from web51910.mail.yahoo.com ([206.190.48.73])
	by ietf-mx.ietf.org with smtp (Exim 4.43) id 1EhIuq-0000qT-FW
	for ips@ietf.org; Tue, 29 Nov 2005 22:45:58 -0500
Received: (qmail 73012 invoked by uid 60001); 30 Nov 2005 03:24:54 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	b=VSHOpPba7lcirbJXnmtgogomk35qAGhG74D1shQiUvCQkjiVeBIpcVQ8oPhCLSLd5PhESnPlC09eacOAiJ3ztX5N5aO7YIKvED6FnncXcjabdo/xx43PidGRdcYrDjaikhAJMrAISfTvAH3gOnAY5ZKvBjShbSVdg0zjM+4uhhM=
	; 
Message-ID: <20051130032454.73008.qmail@web51910.mail.yahoo.com>
Received: from [216.93.233.195] by web51910.mail.yahoo.com via HTTP;
	Tue, 29 Nov 2005 19:24:54 PST
Date: Tue, 29 Nov 2005 19:24:54 -0800 (PST)
From: "Mallikarjun C." <cb_mallikarjun@yahoo.com>
Subject: Re: [Ips] Fast multi-task abort model
To: IPS <ips@ietf.org>
In-Reply-To: <0a6689af9992aa0f1cfd72b368e9d3fe@wasabisystems.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 88b11fc64c1bfdb4425294ef5374ca07
Content-Transfer-Encoding: 8bit
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>
Sender: ips-bounces@ietf.org
Errors-To: ips-bounces@ietf.org

>I indirectly mention them to say that I was
> trying to think of 
> other things and didn't come up with much. :-)

OK, :-)  But please do let me know if you spot a
problem with the proposed model wrt some aspect of
SCTP.

>I still don't understand
> why it matters to 
> make the TMF session wait for the completion of
> StatSN ack on all the 
> other sessions. I agree that each of the other
> sessions & connections 
> should go through the StatSN Ack wait in and of
> itself.

I think we're in serious agreement.  This is exactly
what I wrote in the summary notes for the original
proposal - that StatSN ack wait for third-party
sessions is out (and also to Julian earlier today) -
each session's StatSN ack wait is on its own.

Mallikarjun




--- William Studenmund <wrstuden@wasabisystems.com>
wrote:

> On Nov 29, 2005, at 5:08 PM, Mallikarjun C. wrote:
> 
> > Sorry for the delay in responding, and thanks for
> the
> > review.  Comments below.
> >
> >> My thoughts are that the use of the new
> AsyncEvent
> > probably needs to be
> >> negotiated. However I am all for removing the
> > inter-nexus delay
> >> requirement w/o requiring any negotiation.
> >
> > Those two sentiments may be in conflict with each
> > other.  But I understand.
> >
> >> I strongly doubt my thoughts would work with iSER
> and
> > SCTP, so
> >> something else is needed.
> >
> > Not sure what's meant...
> 
> I had some half-formed ideas that, well, I don't
> think will work with 
> iSER or SCTP. I haven't explicitly mentioned them as
> I think they won't 
> work. I indirectly mention them to say that I was
> trying to think of 
> other things and didn't come up with much. :-)
> 
> >> :-) Isn't that text really assuming TAS set to 0?
> :-)
> >
> > No.  The "new task responses" are chronologically
> > later than the
> > affected tasks.  Think of them as "responses for
> > commands to the affected LU that were issued after
> the
> > TMF was issued".  This is a corner case, included
> only
> > for the paranoid.
> 
> >> If TAS is set to 1, do we really need to wait for
> > StatSN
> >> acknowledgement? Each task will return status so
> we
> > will know what was
> >
> > Waiting for StatSN ack is mandatory to satisfy the
> > "single flow" abstraction.  We do not want the TMF
> > Response to be received before the successful task
> > responses, *if any*, from the affected task set
> are
> > received by an initiator.
> 
> I understand why we want the wait for StatSN ack for
> the session 
> issuing the TMF. I think that's fine.
> 
> However I still don't understand why StatSN ack
> matters for the 
> inter-nexus case.
> 
> Oh, let me try that again. I still don't understand
> why it matters to 
> make the TMF session wait for the completion of
> StatSN ack on all the 
> other sessions. I agree that each of the other
> sessions & connections 
> should go through the StatSN Ack wait in and of
> itself. I just don't 
> understand why the TMF session has to wait for them
> to finish.
> 
> There are always delays (or potential delays) and
> races, and it is hard 
> for an initiator to say "this happened exactly
> then." For instance, 
> with MC/S, we have no way to interlock status
> delivery between 
> different connections. So task A on connection 1
> could finish and be 
> issued status at the target before task B on
> connection 2, but due to 
> network congestion/traffic flow, the status for task
> B could be 
> delivered to the initiator before that of task A. We
> consider that to 
> be OK. I'm seeing the inter-nexus case as a
> between-session extension 
> of the same.
> 
> As long as we can say that there was one common
> instant in time when we 
> separated all impacted tasks into already-done,
> aborted, and 
> active-after-abort-done and further that the TMF
> response is generated 
> ONLY after that instant, do we really need to do
> more?
> 
> As I asked before, how would this inter-nexus StatSN
> wait work if one 
> of the initiators failed, and as such will never be
> acknowledging 
> StatSN?
> 
> In my experience, I've seen initiators just stop
> receiving iSCSI 
> packets. The initiator host is healthy, ping works,
> keep-alives are 
> happy, but the initiator logic just isn't doing
> anything. I think a LUN 
> Reset is a great thing to do in this case to clean
> everything up. But 
> if I have to wait for said dead initiator, how do I
> ever get anything 
> done?
> 
> > TAS=1 addresses an entirely different matter -
> that of
> > TASK ABORTED status for the terminated tasks
> (*not*
> > the successful tasks).
> 
> Ok, I see my confusion.
> 
> >> I thought that if we were doing FastAbort, that
> we
> > wouldn't exit step 5
> >> for a given session until we receive an ack for
> the
> > AsyncEvent, and
> >> thus all we need to do with #6 is just finish the
> > cleanup implied in
> >> that ack. ?? Or is that what you're saying? :-)
> >
> > Note that Step#3 is *sending* Async PDU only, an
> ack
> > is not necessary to complete the TMF.  The ack is
> a
> > "lazy ack" - i.e. may be received after the TMF is
> > finished.  Because the data transfers are
> decoupled
> > from the TMF processing, the task cleanup/TMF
> > completion happens much faster in this proposal.
> > Step#6 is really an internal book-keeping
> operation
> > within the target to free up the TTTs, and
> associated
> > buffers.
> 
> Take care,
> 
> Bill
> 


--
Mallikarjun


Mallikarjun Chadalapaka


		
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free. 
http://music.yahoo.com/unlimited/

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



