Re: [storm] What if a SCSI Response PDU has GOOD status and a DataSegment?

Suzanne Morgan <sumorgan@microsoft.com> Mon, 30 November 2009 21:07 UTC

Return-Path: <sumorgan@microsoft.com>
X-Original-To: storm@core3.amsl.com
Delivered-To: storm@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AC7F83A689A for <storm@core3.amsl.com>; Mon, 30 Nov 2009 13:07:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.999
X-Spam-Level:
X-Spam-Status: No, score=-9.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_65=0.6, RCVD_IN_DNSWL_HI=-8]
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 3oqZ-FKQq+Wd for <storm@core3.amsl.com>; Mon, 30 Nov 2009 13:07:26 -0800 (PST)
Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.214]) by core3.amsl.com (Postfix) with ESMTP id 8B3A23A6894 for <storm@ietf.org>; Mon, 30 Nov 2009 13:07:26 -0800 (PST)
Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (157.54.79.180) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 30 Nov 2009 13:07:45 -0800
Received: from TK5EX14MBXC128.redmond.corp.microsoft.com ([169.254.7.75]) by TK5EX14MLTC102.redmond.corp.microsoft.com ([157.54.79.180]) with mapi; Mon, 30 Nov 2009 13:07:18 -0800
From: Suzanne Morgan <sumorgan@microsoft.com>
To: Julian Satran <julian.satran@gmail.com>, "Black_David@emc.com" <Black_David@emc.com>
Thread-Topic: [storm] What if a SCSI Response PDU has GOOD status and a DataSegment?
Thread-Index: AQHKbfj4yLYCrRdzRUW32t+qBdPHGJFIneaAgAHbxEA=
Date: Mon, 30 Nov 2009 21:05:32 +0000
Deferred-Delivery: Mon, 30 Nov 2009 21:06:00 +0000
Message-ID: <47B0316F74F7674CB8EB847DFCFEBD6716EFD959@TK5EX14MBXC128.redmond.corp.microsoft.com>
References: <4B0C76CF.8070905@ieee.org> <C2D311A6F086424F99E385949ECFEBCBCA8E5D@CORPUSMX80B.corp.emc.com> <E15870DC-3DFF-4B8F-82C2-18A5248E132D@gmail.com>
In-Reply-To: <E15870DC-3DFF-4B8F-82C2-18A5248E132D@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "storm@ietf.org" <storm@ietf.org>
Subject: Re: [storm] What if a SCSI Response PDU has GOOD status and a DataSegment?
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Nov 2009 21:07:27 -0000

Ralph,

To answer your earlier question re: behavior of iSCSI initiators 
If the SCSI STATUS is not SCSISTAT_GOOD, Microsoft iSCSI initiator considers the data bytes included with the iSCSI PDU as sense data.  Sense data is subsequently passed to the SCSI layer with the exception of unit attention/bus reset.

Regards,

Suzanne

-----Original Message-----
From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On Behalf Of Julian Satran
Sent: Thursday, November 26, 2009 1:22 AM
To: Black_David@emc.com
Cc: storm@ietf.org
Subject: Re: [storm] What if a SCSI Response PDU has GOOD status and a DataSegment?

David,

The key is a good idea ... but not a great one :-)
As you certainly know there are many storage controllers (targets) on the market that support
iSCSI, FCP, iSER and even several at the same time (for different sessions usually as we and T10 never seriously considered I_T nexi on different transports).

Their SCSI layer (in the ones I know about) is completely transport oblivious so the transport is not really the layer you want to introduce status+sense for statuses other than bad (unit check).

At the SCSI level it may make a lot of sense (no pun intended either).  iSCSI will support it (without any key negotiation being required) as iSCSI does not prohibit it :-). I don't recall exactly what FCP had to say on this but I recall vaguely that there is no explicit interdiction. However some silicon vendors might be "surprised" if it happens.

Regards,
Julo


On 25/11/2009, at 19:57, <Black_David@emc.com> <Black_David@emc.com> wrote:

> [WG chair hat OFF]
> 
> Here's a little more background.  There's an open issue in T10
> about whether sending sense data with GOOD status can just be
> done, vs. whether the target ought to know in advance that
> the initiator is prepared for this.  
> 
> In keeping with the IETF advice to be "conservative in what
> is sent and liberal in what is accepted", if T10 decides not
> to address this at the SCSI level, then it'll be reasonable
> to define an iSCSI negotiation key to indicate that the
> initiator is prepared to accept (in the sense of "tolerate",
> i.e., won't cause an error or worse, rather than any promise
> to "process" or "understand") sense data for GOOD status.
> 
> In addition (as Ralph suggests), it may make sense (pun intended)
> to define this key to cover all status values, not just GOOD,
> even though only GOOD is currently under discussion in T10.
> 
> Thanks,
> --David
> 
> 
>> -----Original Message-----
>> From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] 
>> On Behalf Of Ralph Weber
>> Sent: Tuesday, November 24, 2009 7:14 PM
>> To: storm@ietf.org
>> Subject: [storm] What if a SCSI Response PDU has GOOD status 
>> and a DataSegment?
>> 
>> One of the questions that T10 has been wrestling with lately
>> concerns a case where their equivalent of the iSCSI Response
>> PDU contains a status other than CHECK CONDITION and sense
>> data in a Data Segment.
>> 
>> What will initiators do if handed one of these beasts?
>> 
>> Note: GOOD is the current favorite doppelganger for CHECK
>> CONDITION, but BUSY et al. should be considered too when
>> thinking about what initiators might do.
>> 
>> The current belief in T10 is that initiators most likely
>> will ignore any Data Segment found in a Response PDU with
>> GOOD status. This is based on the notion that initiators
>> do not squander the extra cycles needed to validate entire
>> format of a Response PDU.
>> 
>> What do the implementers of iSCSI initiators think?
>> 
>> All the best,
>> 
>> .Ralph
>> 
>> _______________________________________________
>> storm mailing list
>> storm@ietf.org
>> https://www.ietf.org/mailman/listinfo/storm
>> 
>> 
> _______________________________________________
> storm mailing list
> storm@ietf.org
> https://www.ietf.org/mailman/listinfo/storm

_______________________________________________
storm mailing list
storm@ietf.org
https://www.ietf.org/mailman/listinfo/storm