Re: [nfsv4] Last Call: <draft-ietf-nfsv4-scsi-layout-06.txt> (Parallel NFS (pNFS) SCSI Layout) to Proposed Standard

Christoph Hellwig <hch@lst.de> Mon, 18 July 2016 04:35 UTC

Return-Path: <hch@lst.de>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A8DA912B00D; Sun, 17 Jul 2016 21:35:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.187
X-Spam-Level:
X-Spam-Status: No, score=-3.187 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.287] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WdXUTcZr4A_d; Sun, 17 Jul 2016 21:35:14 -0700 (PDT)
Received: from newverein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E79F812B037; Sun, 17 Jul 2016 21:35:13 -0700 (PDT)
Received: by newverein.lst.de (Postfix, from userid 2407) id 70A3668DAA; Mon, 18 Jul 2016 06:35:12 +0200 (CEST)
Date: Mon, 18 Jul 2016 06:35:12 +0200
From: Christoph Hellwig <hch@lst.de>
To: "Black, David" <david.black@emc.com>
Subject: Re: [nfsv4] Last Call: <draft-ietf-nfsv4-scsi-layout-06.txt> (Parallel NFS (pNFS) SCSI Layout) to Proposed Standard
Message-ID: <20160718043512.GA19492@lst.de>
References: <20160628150730.24155.95557.idtracker@ietfa.amsl.com> <CE03DB3D7B45C245BCA0D243277949362F5D4F49@MX307CL04.corp.emc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CE03DB3D7B45C245BCA0D243277949362F5D4F49@MX307CL04.corp.emc.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/-znlOBrvEv5WwCZRtkabSCer2XU>
Cc: "nfsv4-chairs@ietf.org" <nfsv4-chairs@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "nfsv4@ietf.org" <nfsv4@ietf.org>, "draft-ietf-nfsv4-scsi-layout@ietf.org" <draft-ietf-nfsv4-scsi-layout@ietf.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Jul 2016 04:35:16 -0000

Hi David,

thanks for the updates.  Let's talk about the detail tomorrow in Berlin,
but unless Spencer disagrees I'll prepare a new draft once the meeting
is over.

On Sun, Jul 10, 2016 at 06:51:40PM +0000, Black, David wrote:
> -- Introduction, last paragraph.
> 
> Add a sentence saying that there are no other significant differences from RFC 5663
> (previous sentences indicate use of SCSI for fencing and LAYOUTCOMMIT improvements),
> e.g., the volume topology (Section 2.3.2) and data structures that describe extents
> (Section 2.3.3.) are common with RFC 5663.  Those two examples seem important.

Just scrapping the sentence might be best.

> 
> -- Section 2.1, 1st paragraph
> 	" and the SCSI initiators used for the pNFS Metadata Server and clients MUST
> 	   support SCSI persistent reservations."
> Add a citation of [SPC4] to support that MUST requirement.

Ok.
> 
> -- Section 2.1, 2nd paragraph:
> 
>    Clients MUST be able to perform I/O to
>    the block extents without affecting additional areas of storage
>    (especially important for writes); therefore, extents MUST be aligned
>    to 512-byte boundaries.
> 
> That assumes a 512 byte logical block size, which is generally ok for now, but 4k is coming.
> At a minimum,  "extents MUST be aligned to logical block size boundaries of the logical
> units, e.g., 512 bytes."  OTOH, would it be reasonable to just make 4k alignment a MUST
> now, as there will be storage systems that need 4k alignment and 4k alignment generally
> works better than 512-byte alignment with existing systems?

I think the right thing is to simply scrap the 512 byte example and just
require extents to be aligned to at least the logical block size.

All implementations of the block and scsi layout known to me align to 4k or
larger, but I see no fundamental reason to forbid 512 byte alignment.

> 
> -- Section 2.3.1
> 
>    It is similar to the "Identification
>    Descriptor Target Descriptor" specified in [SPC4], but limits the
>    allowed values to those that uniquely identify a LU.
> 
> I suggest just deleting this sentence, as that is now called an "Identification CSCD Descriptor" - 
> if this sentence is retained, the use of those descriptors in EXTENDED COPY would be
> important to mention - that seems like a diversion.

Ok.

>    2.  The "DESIGNATOR TYPE" MUST be set to one of four values
> 
> T10 is now allowing UUIDs to also be used in the working draft of SPC-5, and those would be
> appropriate here.  Nonetheless, I suggest no change until SPC-5 is completed at T10, as this
> draft is (properly, IMHO) based on SPC-4.

Yes, I would love to be able to support UUIDs, but I see no way to allow
for that until SPC-5 has been completed.

> -- Section 2.4.10.3
> 
>    To make sure all I_T nexuses are registered,
>    the client SHOULD set the "All Target Ports" (ALL_TG_PT) bit when
>    registering the key, or otherwise ensure the registration is
>    performed for each initiator port.
> 
> It looks like initiator and target registration scopes were conflated here and
> need to be separated.  Suggested text:
> 
>    To make sure all I_T nexuses are registered,
>    the client SHOULD set the "All Target Ports" (ALL_TG_PT) bit when
>    registering the key, or otherwise ensure the registration is
>    performed for each target port, and MUST perform registration
>    for each initiator port.

Thanks, this will need an update.

> 
> -- References
> 
> Current version of SAM is SAM-5, consider updating SAM-4 reference to SAM-5.

Ok.