Re: [nfsv4] draft haynes-nfsv4-versioning: Issues relating to opcode assignments etc.

David Noveck <davenoveck@gmail.com> Tue, 28 October 2014 18:24 UTC

Return-Path: <davenoveck@gmail.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B7981AC443 for <nfsv4@ietfa.amsl.com>; Tue, 28 Oct 2014 11:24:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 ALb2ilao7P28 for <nfsv4@ietfa.amsl.com>; Tue, 28 Oct 2014 11:24:14 -0700 (PDT)
Received: from mail-oi0-x22d.google.com (mail-oi0-x22d.google.com [IPv6:2607:f8b0:4003:c06::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9D2B11A9234 for <nfsv4@ietf.org>; Tue, 28 Oct 2014 11:15:05 -0700 (PDT)
Received: by mail-oi0-f45.google.com with SMTP id i138so983514oig.32 for <nfsv4@ietf.org>; Tue, 28 Oct 2014 11:15:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=nhrHIveaLXc06kzcbvY1cjND6E8aEbaWuLNBZsCD4e8=; b=UB2l+3uFymrRLvx8gdFrgB+dJI77tGS/T/H0avKYYlrqbljYwPfT2aUmd9zMiB8Bpy K8SNALkhN6JklpwepqBW/tGaruVGqkEI78sp44Gq70oizZoFBxm/WJMe4JO1LTNUwbYl DRz1JpmIsrjVMlzrqT5AFbSu14hrE1GuTUExbDLwLUVt5s+fdZ2xaNGgeReN8W2vBuaP VnuVBN//hJszNc9qKxkNqqtgY+uZBk89GCt87WBljn89sW9XOijo9lElZce0U1DBnmKO 4BI2i1lTepQqUkD9idyeN9DqW+x9jziSbQqgU+B9yqnSR5GfKWLZOxEq6WiAZBQQ7t6z oXEw==
MIME-Version: 1.0
X-Received: by 10.60.161.115 with SMTP id xr19mr4207473oeb.8.1414520105052; Tue, 28 Oct 2014 11:15:05 -0700 (PDT)
Received: by 10.182.226.106 with HTTP; Tue, 28 Oct 2014 11:15:04 -0700 (PDT)
In-Reply-To: <20141028160114.GC17213@localhost>
References: <CADaq8jcGEHYG8Y9+Lj6GBPhePC6vknPXaW9Yh+tbTJ4+bVxvJg@mail.gmail.com> <20141028160114.GC17213@localhost>
Date: Tue, 28 Oct 2014 14:15:04 -0400
Message-ID: <CADaq8je8GyUO2AbaWRshQ+dEagnEKFddYswJKUyUc9Q_pVjkkQ@mail.gmail.com>
From: David Noveck <davenoveck@gmail.com>
To: Nico Williams <nico@cryptonector.com>
Content-Type: multipart/alternative; boundary="089e012287c663b26e05067fa008"
Archived-At: http://mailarchive.ietf.org/arch/msg/nfsv4/KwuC6t9enKTv1yvxGsw0KDC_tog
Cc: Christoph Hellwig <hch@lst.de>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] draft haynes-nfsv4-versioning: Issues relating to opcode assignments etc.
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4/>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Oct 2014 18:24:16 -0000

> There are a number of allocation policies that you can use.

Perhaps so, but we still have the issue of whether there is a reason to use
them, i.e. whether they add anything to the process., other than an extra
interaction with IANA.

> You can have a first-come-first-served-with-Expert-review process,

I don't think you can combine FCFS with expert-review in that way, and
have things work..

For example, RFC5661, specified, for the named attribute registry, both
FCFS and specification-required.  That got thorough IESG and IANA review
and RFC%661 was approved as a Proposed Standard.  So far so good, but ...

rfc3530bis dutifully copied the language of RFC5661 (since we wanted to be
compatible with RFC5661 on this point).  When the bis document went through
the review process, we ran into a brief period of IANA-NOT-OK and IANA
explained to us that we had to choose one policy or the other.

> which is what I would recommend for any namespaces large enough that
you're not going to
> worry about running out.

The problem is that  the issues of holes in the allocations, that Benny was
concerned about becomes magnified.  Even  if you aren't worried about
an occasional unassigned attribute or operation code, this policy could
create large spaces in the allocations.  For example, if someone assigned
attribute number 10,000, some GETATTR's might be thousands of bytes long.
Given current implementations, which we don't want to change radically,
running out of opcodes/attributes is not the only issue.

On Tue, Oct 28, 2014 at 12:01 PM, Nico Williams <nico@cryptonector.com>
wrote:

> On Tue, Oct 28, 2014 at 11:23:30AM -0400, David Noveck wrote:
> > I think we need to distinguish a couple of related issues:
> >
> >    - How (or by whom) the assignment is made.
> >    - When the assignment is made
> >
> > I think the issue about which there is likely to be disagreement or
> > controversy will be the question of when (i.e. how early) the assignment
> is
> > to be made. My understanding of the connection between these two issues
> is
> > as follows:
> >
> >    - If the assignment is to be made when the RFC is published, then we
> >    could implement IANA-based assignment by creating one or more
> registries
> >    with a "specification required" assignment policy.  However, this
> could be
> >    complicated to do, although it is relatively simple if you just do it
> for
> >    operations.  The big issue is that doing this doesn't buy you
> anything (see
> >    below for a discussion of this).
> >    - If the assignment is to made earlier than that (e.g. when the
> document
> >    becomes a working-group document as suggested in the current draft),
> it
> >    isn't clear how to specify an assignment policy that IANA would
> accept.
>
> There are a number of allocation policies that you can use.  Having a
> Protocol Action from the IESG is not the only way.  You can have a
> first-come-first-served-with-Expert-review process, which is what I
> would recommend for any namespaces large enough that you're not going to
> worry about running out.
>
> Nico
> --
>