Re: [nfsv4] Spencer Dawkins' Yes on draft-ietf-nfsv4-versioning-09: (with COMMENT)

David Noveck <davenoveck@gmail.com> Fri, 26 May 2017 15:40 UTC

Return-Path: <davenoveck@gmail.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 AF3D512EA97; Fri, 26 May 2017 08:40:10 -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 autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 cq_Omm3b5rJp; Fri, 26 May 2017 08:40:08 -0700 (PDT)
Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4AD6012EAA9; Fri, 26 May 2017 08:39:51 -0700 (PDT)
Received: by mail-it0-x22b.google.com with SMTP id o5so75783726ith.1; Fri, 26 May 2017 08:39:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rtKlGqXk34O6M+a/Jev4ndPX9aVbBskDZehu+A24cWE=; b=OK+vkKNoOs1FEgDXTjM+mQXWsG1KMxKlwxk45qoUoVrtA12/OiBSEa4iq8RzIJfzr4 0EiblU+q1Bp4t+w+cU3Mt7mmDjIHcdjOlQmrHKGCBE2w9AtP+ONauM2hejKGLldJTF9T naJaICe0IJmfuK48jq4ckpUFoWKm+j2lXK6n0Q6DXoZL5OvWwE2utD81csg48Ap7oyGj Sn7p85cyTa2ETygmjc4VwSq9r5ZxFkfmNTu+cK8WOLuQl4YDdsnowShRBu8o7EpEzVmD B7CQyQlAy8RV1LeLhC+RrgGujgkqtFKZOeDu4wfo/XobwgpDGqI9Yi52tYydb1DRfuv3 V0oA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rtKlGqXk34O6M+a/Jev4ndPX9aVbBskDZehu+A24cWE=; b=HtMCyfNPu7tD+6LDEemEhF3RnqEp28g2dAE+sBMQmjub3DxQSni1gfKKcD+DbD517L PsTQ8gMahXWe7VUezImv/C0m43Kq0CMscL8Nj+rFnO6+spvJtQjsH0gEkmW8kIWzz8uC Y1ovss7RwR2LMqD2HVBcyjE5zsuQvwSbTxJxZ16QPobr9hlsb6Fkmo/4KtpkkNirnRsO gD9v8zTaUWXeY/D6OUemOHdboKVJo5CC4zMP0HxMl3KvJdKRhCFlOlnCiH6zCbav8rxc jWOd+/jGaHEeg+aAi8Jki2+T/F/W5eX+jaM6QeErqMvKAD5tC57SAkKS+6Q/bV9MlR61 7fMQ==
X-Gm-Message-State: AODbwcCBK0wYRgMkiQCNYLv3eW2A6migJrbPXLbJrdY95J0ChaFt5P7V eRVP7ggYvu9jyfk6BvQj5Ehuz0bcpA==
X-Received: by 10.36.135.70 with SMTP id f67mr3407981ite.3.1495813190624; Fri, 26 May 2017 08:39:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.4.148 with HTTP; Fri, 26 May 2017 08:39:50 -0700 (PDT)
In-Reply-To: <CAKKJt-fzBMPAcvubV7EecOfQLM_QLBKbc3uK_gc1dH=tU=nTPw@mail.gmail.com>
References: <149459980428.13464.2287524739238339362.idtracker@ietfa.amsl.com> <1494602246.10434.3.camel@gmail.com> <CAKKJt-c=K-V0OPX3gk1bFGG9qwKTYuULn-ANd=7=fy=sZ5r_mA@mail.gmail.com> <CAKKJt-fzBMPAcvubV7EecOfQLM_QLBKbc3uK_gc1dH=tU=nTPw@mail.gmail.com>
From: David Noveck <davenoveck@gmail.com>
Date: Fri, 26 May 2017 11:39:50 -0400
Message-ID: <CADaq8jc9JjaUCNeTrhKAWPoUpQzvaMp-sXXBtkUD0PeoP+GTbQ@mail.gmail.com>
To: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Cc: NFSv4 <nfsv4@ietf.org>, The IESG <iesg@ietf.org>, "nfsv4-chairs@ietf.org" <nfsv4-chairs@ietf.org>, draft-ietf-nfsv4-versioning@ietf.org
Content-Type: multipart/alternative; boundary="94eb2c054c82e0b4b905506f2512"
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/7nNzsCippZMmLRNNBILviful6pk>
Subject: Re: [nfsv4] Spencer Dawkins' Yes on draft-ietf-nfsv4-versioning-09: (with COMMENT)
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.22
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, 26 May 2017 15:40:11 -0000

>  David has submitted a -10 version of this draft, that does not discuss
idioms about detecting support
>  (that I can find).

It was lost in the update process.  Anyway the following is what I intended
to add:

 <t>
      In some cases extensions will contain elements such as new operations
      or previously invalid switch cases.  Although it is possible to
      determine whether these OPTIONAL elements are supported using the
      rules described above, those defining extensions containing such
      elements have the option of defining new attributes that specify
      whether the feature is present and supported.  Since it is easy to
      determine whether a new attribute is supported using the
      supported_attrs attribute, this can make it simple and
      convenient for clients to determine whether support is present,
      particularly when a feature involves support for multiple
      such elements.
    </t>

On Fri, May 26, 2017 at 11:24 AM, Spencer Dawkins at IETF <
spencerdawkins.ietf@gmail.com> wrote:

> Dear NFSv4,
>
> On Thu, May 25, 2017 at 12:13 PM, Spencer Dawkins at IETF <
> spencerdawkins.ietf@gmail.com> wrote:
>
>> Dear -versioning- folk,
>>
>> On Fri, May 12, 2017 at 11:17 AM, Trond Myklebust <trondmy@gmail.com>
>> wrote:
>>
>>> On Fri, 2017-05-12 at 07:36 -0700, Spencer Dawkins wrote:
>>> >
>>> > I did have one question that came up during AD Evaluation that I
>>> > wanted
>>> > to mention.
>>> >
>>> > The first two drafts that used this mechanism (umask and xattrs) used
>>> > two
>>> > different idioms for discovering support. The xaddrs draft defines an
>>> > xaddr_support attribute, while umask does not.
>>> >
>>> > In conversations with the working group, the reasoning was that
>>> > xattrs
>>> > defines a number of operations, so discovering that the complete
>>> > mechanism is supported before you start trying to use the attributes
>>> > makes sense, while umask defines only one attribute, and for any
>>> > attribute, you can find out if it is supported within a given file
>>> > system
>>> > by interrogating the appropriate bit position in the REQUIRED
>>> > attribute
>>> > supported_attrs, so there is no advantage to adding a umask_support
>>> > attribute.
>>> >
>>> > That all made perfect sense to me, but the explanation was helpful
>>> > enough
>>> > to me that I wonder if it's worth a sentence or two, pointing out
>>> > that
>>> > some protocol designers may choose one idiom, while other protocol
>>> > designers choose the other, and saying that's not a problem.
>>> >
>>>
>>> It's an extra mechanism that could be a convenience, but is not
>>> something that a client can or should rely on. The only reliable
>>> mechanism for verifying that the feature is available is to try it, and
>>> handle the resulting NFS4ERR_NOTSUPP and/or NFS4ERR_OP_ILLEGAL error.
>>>
>>> This is how the Linux client handles all the other NFSv4.x optional
>>> features as well.
>>
>>
>> This draft was approved on today's telechat, but the secretariat is
>> holding off sending the approval announcement until I let them know that
>> all the comments have been addressed.
>>
>> It looked like David had a plan for this specific comment on idioms for
>> detecting support, and Trond had a response, so if others have thoughts
>> that would affect the text that appears in the RFC, it would be great to
>> hear that, Real Soon Now.
>>
>
> David has submitted a -10 version of this draft, that does not discuss
> idioms about detecting support (that I can find).
>
> I don't think that's a problem for this document, so I won't hold this
> document up. I would, of course, appreciate the working group thinking
> about comments in this thread, and discussing whether it would be helpful
> to say something in a future draft (or, potentially, a revision to the RFC
> this draft will become).
>
> And thanks for the explanations.
>
> Spencer
>
>>
>> Thanks!
>>
>> Spencer (D)
>>
>
>