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

Nico Williams <nico@cryptonector.com> Tue, 28 October 2014 19:32 UTC

Return-Path: <nico@cryptonector.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 C74F91ACCE1 for <nfsv4@ietfa.amsl.com>; Tue, 28 Oct 2014 12:32:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.666
X-Spam-Level:
X-Spam-Status: No, score=-1.666 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=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 A8rIj0LCxKJ5 for <nfsv4@ietfa.amsl.com>; Tue, 28 Oct 2014 12:32:07 -0700 (PDT)
Received: from homiemail-a28.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 2C51B1A6F99 for <nfsv4@ietf.org>; Tue, 28 Oct 2014 12:32:07 -0700 (PDT)
Received: from homiemail-a28.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a28.g.dreamhost.com (Postfix) with ESMTP id BD21C1B405F; Tue, 28 Oct 2014 12:32:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=8v+l+IVmu5SoJr UQ5v3pfEJYa0U=; b=hpVWEKuW6Bb4ixyOmtjBG6HqCufR347kqHmHkrujzaUMtg q8TS3iPwlObfRDEgIVKERstLmoeMIqoMNzlYmCOueIC42l7o3sMdAOuAdD0mQVQ/ dz3xfX3JglwAwGZATF1IwAc/LZbL2X/VS11MKwPPyd59zN5M9LNicr1CGjhiQ=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a28.g.dreamhost.com (Postfix) with ESMTPA id E9E551B4058; Tue, 28 Oct 2014 12:32:05 -0700 (PDT)
Date: Tue, 28 Oct 2014 14:32:05 -0500
From: Nico Williams <nico@cryptonector.com>
To: David Noveck <davenoveck@gmail.com>
Message-ID: <20141028193203.GF17213@localhost>
References: <CADaq8jcGEHYG8Y9+Lj6GBPhePC6vknPXaW9Yh+tbTJ4+bVxvJg@mail.gmail.com> <20141028160114.GC17213@localhost> <CADaq8je8GyUO2AbaWRshQ+dEagnEKFddYswJKUyUc9Q_pVjkkQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CADaq8je8GyUO2AbaWRshQ+dEagnEKFddYswJKUyUc9Q_pVjkkQ@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/nfsv4/NBlMXEAp9jxlialER1Zu2MOvtR0
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 19:32:07 -0000

On Tue, Oct 28, 2014 at 02:15:04PM -0400, David Noveck wrote:
> > 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.
> [...]

I spoke loosely.  I meant that the way numbers are allocated should be
first-come-first-served, but the policy should be Expert review.

> 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.

Because bitmap4 is just an uncompressed bit string.  That's sad, but not
too sad: this is what an Expert is for.  The expert can reject large
allocations, and they can be given this guidance.  For the kinds of
extensions we can expect, this seems like a non-problem.

It shouldn't be hard to negotiate a different interpretation of bimap4
if this ever did become a problem, incidentally.

Nico
--