Return-Path: <owner-ips-outgoing@ece.cmu.edu>
X-Sieve: cmu-sieve 2.0
Return-Path: <owner-ips-outgoing@ece.cmu.edu>
Received: from osgood.ece.cmu.edu (OSGOOD.ECE.CMU.EDU [128.2.129.25])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h4LJ6s305038
	for <ipsml@ece.cmu.edu>; Wed, 21 May 2003 15:06:54 -0400 (EDT)
Received: by osgood.ece.cmu.edu (Postfix, from userid 953)
	id 64A8F86; Wed, 21 May 2003 15:06:53 -0400 (EDT)
Received: from sos.ece.cmu.edu (SOS.ECE.CMU.EDU [128.2.129.27])
	by osgood.ece.cmu.edu (Postfix) with ESMTP
	id 34CBD86; Wed, 21 May 2003 15:06:50 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix)
	id E1726894A; Wed, 21 May 2003 15:06:33 -0400 (EDT)
Received: from osgood.ece.cmu.edu (OSGOOD.ECE.CMU.EDU [128.2.129.25])
	by sos.ece.cmu.edu (Postfix) with ESMTP id D1B728944
	for <ips-outgoing@sos.ece.cmu.edu>; Wed, 21 May 2003 15:06:33 -0400 (EDT)
Received: by osgood.ece.cmu.edu (Postfix)
	id A0C3586; Wed, 21 May 2003 15:06:33 -0400 (EDT)
Received: by osgood.ece.cmu.edu (Postfix, from userid 953)
	id 76A919A; Wed, 21 May 2003 15:06:33 -0400 (EDT)
Received: from sos.ece.cmu.edu (SOS.ECE.CMU.EDU [128.2.129.27])
	by osgood.ece.cmu.edu (Postfix) with ESMTP id F0C7F86
	for <ips-outgoing@ece.cmu.edu>; Wed, 21 May 2003 15:06:29 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix, from userid 363)
	id C3CF28950; Wed, 21 May 2003 15:06:29 -0400 (EDT)
X-Original-To: ips@sos.ece.cmu.edu
Received: from hazard.ece.cmu.edu (HAZARD.ECE.CMU.EDU [128.2.129.24])
	by sos.ece.cmu.edu (Postfix) with ESMTP id A040B8944
	for <ips@sos.ece.cmu.edu>; Wed, 21 May 2003 15:06:27 -0400 (EDT)
Received: by hazard.ece.cmu.edu (Postfix)
	id 347A070; Wed, 21 May 2003 15:06:27 -0400 (EDT)
Delivered-To: ips@ece.cmu.edu
Received: by hazard.ece.cmu.edu (Postfix, from userid 953)
	id 1D6F67B; Wed, 21 May 2003 15:06:27 -0400 (EDT)
Received: from atlrel8.hp.com (atlrel8.hp.com [156.153.255.206])
	by hazard.ece.cmu.edu (Postfix) with ESMTP id 07D8870
	for <ips@ece.cmu.edu>; Wed, 21 May 2003 15:06:23 -0400 (EDT)
Received: from rosemail.rose.hp.com (rosemail.rose.hp.com [15.96.64.26])
	by atlrel8.hp.com (Postfix) with ESMTP
	id DAB471C00D30; Tue, 27 May 2003 09:22:01 -0400 (EDT)
Received: from swathi (pal1nai166191.nsr.hp.com [15.244.166.191]) by rosemail.rose.hp.com with SMTP (8.7.1/8.7.3 SMKit7.02) id MAA27064; Wed, 21 May 2003 12:06:20 -0700 (PDT)
Message-ID: <005d01c31fcc$0fdb3700$bfa6f40f@rose.hp.com>
From: "Mallikarjun C." <cbm@rose.hp.com>
To: "Nicholas A. Bellinger" <nick@pyxtechnologies.com>
Cc: "IPS MailingList" <ips@ece.cmu.edu>
References: <OF2951C7FE.566E21DB-ONC2256D2D.003E0E64-C2256D2D.003FF7CB@telaviv.ibm.com>
Subject: Re: iSCSI: DataPDUInOrder=No Clairification
Date: Wed, 21 May 2003 12:04:48 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Sender: owner-ips@ece.cmu.edu
Precedence: bulk
X-Spam-Status: No, hits=-22.6 required=5.0
	tests=BAYES_01,ORIGINAL_MESSAGE,QUOTED_EMAIL_TEXT,REFERENCES
	version=2.50
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp)

In addition to what Julian just said -

iSCSI targets may choose to process inbound Data PDUs
and track missing DataSNs to issue recovery R2Ts, regardless
of the negotiated value of the DataPDUInOrder key.  This
key negotiates the relationship between DataSNs and their
Buffer Offset values and thus is orthogonal to recovery.
--
Mallikarjun

Mallikarjun Chadalapaka
Networked Storage Architecture
Network Storage Solutions
Hewlett-Packard MS 5668
Roseville CA 95747
cbm@rose.hp.com

----- Original Message -----
From: "Julian Satran" <Julian_Satran@il.ibm.com>
To: "Nicholas A. Bellinger" <nick@pyxtechnologies.com>
Cc: "Andre Hedrick" <andre@pyxtechnologies.com>; "David Black" <Black_David@emc.com>; "Mallikarjun
Chadalapaka" <cbm@rose.hp.com>; "IPS MailingList" <ips@ece.cmu.edu>
Sent: Wednesday, May 21, 2003 4:38 AM
Subject: Re: iSCSI: DataPDUInOrder=No Clairification


> Dear Nicholas,
>
>
> "Nicholas A. Bellinger" <nick@pyxtechnologies.com> wrote on 21/05/2003
> 12:48:15:
>
> > [This is a resend due to mailer problems, please excuse any duplicates.]
> >
> > Greeting all,
> >
> >    I am inquiring about the author's intent and proper usage of
> > DataPDUInOrder=No.  Of course the definition of the aforementioned
> > parameter is defined in section 12.18:
> >
> > "No is used by iSCSI to indicate that the data PDUs within sequences
> >  can be in any order."
> >
> > I had originally used the interpretation that it was mainly designed to
> > aid within-command recovery in the following DataOUT (not excluding
> > DataIN) example:
> >
> > When a DataOut PDU fails a Data Checksum, DataPDUInOrder=No allows the
> > target to continue to receive the rest of the DataOut sequence without
> > having to discard PDUs received after the initial failure.  Hence,
> > the Recovery R2T only has to contain Failed Offset + Failed PDU Length.
> >
> > This compared to the same example with DataPDUInOrder=Yes:
> >
> > When a DataOut PDU fails a Data Checksum, DataPDUInOrder=Yes requires
> > the target to NOT acknowledge the any futher PDUs in the DataOut
> > sequence until the initial failure is recovered.  Hence, the Recovery
> > R2T must contain Failed Offset -> Length to end of Sequence.
> >
> > This type of example seems like the most logical application of
> > DataPDUInOrder=No, that is one assumes the pdus in a given sequence will
> > be still sent in increasing order.  If an error occurs one is allowed to
> > continue to receieve pdus out of order and request only the missing
> > ones.
> >
> > Now let us consider another more unorthadox (and perhaps a bit
> > illogical) example:
> >
> > Consider a DataOUT Sequence of 32k, interpreting the definition in
> > section 12.18 can one assume the following is legal?
> >
> > Initiator -> Target
> >
> > DataSN: 0, Offset: 24576, Length: 8192
> > DataSN: 1, Offset: 0, Length: 8192
> > DataSN: 2, Offset: 16384, Length: 8192
> > DataSN: 3, Offset: 8192, Length: 8192
> >
> This is indeed legal
>
> > This type of example assumes the pdus in a given sequence may be sent in
> > any order, and the target handles the metadata for each pdu.  If this is
> > indeed legal, then its safe to assume the following 128k DataIN example
> > for DataSequenceInOrder=No is legal as well:
> >
> > Target -> Initiator
> >
> > Sequence 0: Offsets: 65536->98304
> > Sequence 1: Offsets: 32768->65536
> > Sequence 2: Offsets: 98304->131072
> > Sequence 3: Offsets: 0->32768
> >
> > My guess is these both are indeed legal.
> >
>
> Yes they are legal.
>
> The stricter sequencing requirement is not there to avoid recovery but
> rather to enable devices to optimize
> transmission in face of "mechanical" delay and lack of resources.
>
> > Thanks,
> > --
> > Nicholas A. Bellinger <nick@pyxtechnologies.com>
> >
>

