Re: [nfsv4] feedback on draft-ietf-nfsv4-versioning-07

Mike Kupfer <mike.kupfer@oracle.com> Fri, 28 October 2016 21:38 UTC

Return-Path: <mike.kupfer@oracle.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 998AD129500 for <nfsv4@ietfa.amsl.com>; Fri, 28 Oct 2016 14:38:21 -0700 (PDT)
X-Quarantine-ID: <wX91ZuiRxcup>
X-Virus-Scanned: amavisd-new at amsl.com
X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "Cc"
X-Spam-Flag: NO
X-Spam-Score: -4.632
X-Spam-Level:
X-Spam-Status: No, score=-4.632 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.431, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] 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 wX91ZuiRxcup for <nfsv4@ietfa.amsl.com>; Fri, 28 Oct 2016 14:38:19 -0700 (PDT)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 36B81129685 for <nfsv4@ietf.org>; Fri, 28 Oct 2016 14:38:19 -0700 (PDT)
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u9SLcH1h011045 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Oct 2016 21:38:17 GMT
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u9SLcHET013339 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Oct 2016 21:38:17 GMT
Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u9SLc43N028513; Fri, 28 Oct 2016 21:38:11 GMT
Received: from jurassic.us.oracle.com (/10.134.8.79) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 28 Oct 2016 14:38:01 -0700
From: Mike Kupfer <mike.kupfer@oracle.com>
To: David Noveck <davenoveck@gmail.com>
References: <ote01sz4f8tk.fsf@athyra-vm1.us.oracle.com> <CADaq8jcSUO5rkf-4+njbk-O0Fv5gTedTRZnceVJRdz1T4zyH1Q@mail.gmail.com> <ote0oa2668pg.fsf@jurassic.us.oracle.com> <CADaq8jcOwbdc8O7am+tSdpa9hFDFfc5ULkM1qhOt9HPn7m-Ujw@mail.gmail.com> <ote0a8dp8xel.fsf@jurassic.us.oracle.com> <CADaq8jdfjLQz2YxLAROmLK5V5-BMjuHaABeic7mKmfZDtWBn=g@mail.gmail.com>
Date: Fri, 28 Oct 2016 14:37:49 -0700
In-Reply-To: <CADaq8jdfjLQz2YxLAROmLK5V5-BMjuHaABeic7mKmfZDtWBn=g@mail.gmail.com> (David Noveck's message of "Fri, 28 Oct 2016 08:29:26 -0400")
Message-ID: <ote0d1ikf93m.fsf@jurassic.us.oracle.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (usg-unix-v)
MIME-Version: 1.0
Content-Type: text/plain
X-Source-IP: aserv0021.oracle.com [141.146.126.233]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/J7vb__s4GxTYV3etdwmF92utedE>
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] feedback on draft-ietf-nfsv4-versioning-07
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 28 Oct 2016 21:38:21 -0000

David Noveck <davenoveck@gmail.com> writes:

> l've looked at how bit flags are dealt with in -07 and believe that enum
> extensions can be dealt with similarly.

Okay.

>    - There is no discussion of adding bit flags in existing responses.
>    Instead, it should be made explicit that doing this would require a new
>    minor version.

Okay.

>    - There is no explicit discussion of the fact that, for these additions,
>    the interest cannot be distinguish between an unknown bit flag and one
>    which is known but unsupported.  This can have implication for how the
>    client and server decide on a common XDR variant.  I'd hope that this issue
>    can treated in a way that allows a future minor version to better address
>    the issue by  reorganizing error codes.  My preference would be for
>    preservng NFS4ERR_INVAL as indicating an unknown bit/enum, while allowing
>    future versions to address unsupported stuff in a way analogous that Tom
>    did for switches in v4.2, i.e. by creating NFS4ERR_FLAGBIT_NOTSUPP and
>    NFS4ERR_ENUMVAL_NOTSUPP.

Adding new "notsupp" error values sounds reasonable to me.

I'm less enthusiastic about using NFS4ERR_INVAL to mean either "unknown
enum/flag" or "understood but invalid request".  We discussed this back
in June, and I accept the argument for minor version 2 that allowing
either meaning matches current server behavior.  And it's probably
manageable as long as sufficient attention is given in an extension
specification to how the requester determines that the extension is
supported.  But in the long run, I still think it would be cleaner to
split those two meanings for NFS4ERR_INVAL into separate error codes.

mike