Re: [Ips] iSCSI WRITE (10)

"Sanjay Goyal" <Sanjay_Goyal@pmc-sierra.com> Mon, 14 February 2011 04:21 UTC

Return-Path: <Sanjay_Goyal@pmc-sierra.com>
X-Original-To: ips@core3.amsl.com
Delivered-To: ips@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 15CE83A6C48 for <ips@core3.amsl.com>; Sun, 13 Feb 2011 20:21:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.288
X-Spam-Level:
X-Spam-Status: No, score=-2.288 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HOST_MISMATCH_COM=0.311]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nzxd-QAXMbRH for <ips@core3.amsl.com>; Sun, 13 Feb 2011 20:21:04 -0800 (PST)
Received: from bby1mta03.pmc-sierra.bc.ca (bby1mta03.pmc-sierra.com [216.241.235.118]) by core3.amsl.com (Postfix) with ESMTP id F24343A6C46 for <ips@ietf.org>; Sun, 13 Feb 2011 20:21:03 -0800 (PST)
Received: from bby1mta03.pmc-sierra.bc.ca (localhost.pmc-sierra.bc.ca [127.0.0.1]) by localhost (Postfix) with SMTP id 886EB10700E4; Sun, 13 Feb 2011 19:50:30 -0800 (PST)
Received: from bby1exg02.pmc_nt.nt.pmc-sierra.bc.ca (bby1exg02 [216.241.231.167]) by bby1mta03.pmc-sierra.bc.ca (Postfix) with SMTP id 57A9A10700E3; Sun, 13 Feb 2011 19:50:30 -0800 (PST)
Received: from BBY1EXM11.pmc_nt.nt.pmc-sierra.bc.ca ([216.241.231.157]) by bby1exg02.pmc_nt.nt.pmc-sierra.bc.ca with Microsoft SMTPSVC(6.0.3790.4675); Sun, 13 Feb 2011 19:50:30 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Sun, 13 Feb 2011 19:50:27 -0800
Message-ID: <FA7C8333A54EE645BA64C09EBA8B632805CC6D32@BBY1EXM11.pmc_nt.nt.pmc-sierra.bc.ca>
In-Reply-To: <20110209173802.GW19602@belle.intranet.vanheusden.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [Ips] iSCSI WRITE (10)
Thread-Index: AcvIgB/ldbDqFtIDSMeVXn1iU4gJqQDefxEA
References: <20110209171827.GU19602@belle.intranet.vanheusden.com> <20110209173802.GW19602@belle.intranet.vanheusden.com>
From: Sanjay Goyal <Sanjay_Goyal@pmc-sierra.com>
To: folkert <folkert@vanheusden.com>, ips@ietf.org
X-OriginalArrivalTime: 14 Feb 2011 03:50:30.0342 (UTC) FILETIME=[52E87660:01CBCBFA]
Subject: Re: [Ips] iSCSI WRITE (10)
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ips>, <mailto:ips-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ips>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ips>, <mailto:ips-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Feb 2011 04:21:05 -0000

Response should be sent once, after all the write data ( I assume it is
unsolicited data) is received.

I -> T PDU 0x01 (scsi request), opcode 0x2a (WRITE 10)
I -> T PDU 0x05 (data out)
I -> T PDU 0x05 (data out)
...
T -> I PDU 0x21 (scsi response, for each data out)


-----Original Message-----
From: ips-bounces@ietf.org [mailto:ips-bounces@ietf.org] On Behalf Of
folkert
Sent: Wednesday, February 09, 2011 11:08 PM
To: ips@ietf.org
Subject: Re: [Ips] iSCSI WRITE (10)

> Ok I'm a lot further: the whole discovery handshake (including mode
> sense, inquiries and what not) works find. Small reads/writes work too
> (the ones with data in the pdu message).
> 
> Something which is not entirely clear from the RFC is the following:
> - an initiator sends a 0x05 PDU (data-out) with data to be stored on
>   disk.
>   after processing, the target should send back a 0x21 PDU (scsi
>   response). is that correct?

Let me elaborate:

I -> T PDU 0x01 (scsi request), opcode 0x2a (WRITE 10)
T -> I PDU 0x21 (scsi response)
more data follows, so
I -> T PDU 0x05 (data out)
T -> I PDU 0x21 (scsi response, for each data out)


Folkert van Heusden

-- 
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
_______________________________________________
Ips mailing list
Ips@ietf.org
https://www.ietf.org/mailman/listinfo/ips