Re: [nfsv4] RFC 8276 and minor versions

"Mkrtchyan, Tigran" <tigran.mkrtchyan@desy.de> Tue, 31 March 2020 13:49 UTC

Return-Path: <tigran.mkrtchyan@desy.de>
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 91EA43A2147 for <nfsv4@ietfa.amsl.com>; Tue, 31 Mar 2020 06:49:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.426
X-Spam-Level: *
X-Spam-Status: No, score=1.426 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HK_RANDOM_ENVFROM=0.626, HK_RANDOM_FROM=0.999, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=desy.de
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 Q7M_uEg-eVes for <nfsv4@ietfa.amsl.com>; Tue, 31 Mar 2020 06:49:44 -0700 (PDT)
Received: from smtp-o-2.desy.de (smtp-o-2.desy.de [131.169.56.155]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 760443A2144 for <nfsv4@ietf.org>; Tue, 31 Mar 2020 06:49:43 -0700 (PDT)
Received: from smtp-buf-2.desy.de (smtp-buf-2.desy.de [131.169.56.165]) by smtp-o-2.desy.de (Postfix) with ESMTP id 0759C1607F3 for <nfsv4@ietf.org>; Tue, 31 Mar 2020 15:49:42 +0200 (CEST)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp-o-2.desy.de 0759C1607F3
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=desy.de; s=default; t=1585662582; bh=3sWoJli5mVbqAu6oo6ijg9XDPBC9uijTJk8MU2smppc=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=dA3YqJ9zhRhZKRmt6xt3TWZjcg2wMLvnPAbAXnThJQx35KcwaodeC4RblBOfhenZE czr/d8rj+ioi0v7CuAkry7q7eG2f+gXTqd1PXri1BTgs+DVY/NxB3LykmOFDYaWuYP na1YYGBkXI9RAb9ZPoRhSLxBTUmcnonrnyBh/qt0=
Received: from smtp-m-2.desy.de (smtp-m-2.desy.de [131.169.56.130]) by smtp-buf-2.desy.de (Postfix) with ESMTP id 013081A00C4; Tue, 31 Mar 2020 15:49:42 +0200 (CEST)
X-Virus-Scanned: amavisd-new at desy.de
Received: from z-mbx-2.desy.de (z-mbx-2.desy.de [131.169.55.140]) by smtp-intra-1.desy.de (Postfix) with ESMTP id CFDA7C008A; Tue, 31 Mar 2020 15:49:41 +0200 (CEST)
Date: Tue, 31 Mar 2020 15:49:41 +0200
From: "Mkrtchyan, Tigran" <tigran.mkrtchyan@desy.de>
To: Dave Noveck <davenoveck@gmail.com>
Cc: "van der Linden, Frank" <fllinden=40amazon.com@dmarc.ietf.org>, NFSv4 <nfsv4@ietf.org>
Message-ID: <821084252.9353209.1585662581627.JavaMail.zimbra@desy.de>
In-Reply-To: <CADaq8jeLxN9JcXTF=TUQ9xT7-4GwkgVLA1THkN_cAQRn6jLvBQ@mail.gmail.com>
References: <D083B21B-7FDC-4678-9174-D67EC153999A@amazon.com> <CADaq8jeLxN9JcXTF=TUQ9xT7-4GwkgVLA1THkN_cAQRn6jLvBQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Mailer: Zimbra 8.8.15_GA_3901 (ZimbraWebClient - FF74 (Linux)/8.8.15_GA_3895)
Thread-Topic: RFC 8276 and minor versions
Thread-Index: e/fF9aRC+oDh35HeWRrvFgcnylj0Uw==
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/MryI9aYOt4fG2RjXAIXSMehsFek>
Subject: Re: [nfsv4] RFC 8276 and minor versions
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 31 Mar 2020 13:49:47 -0000

Hi Frank,

thanks for bringing this up.

----- Original Message -----
> From: "Dave Noveck" <davenoveck@gmail.com>
> To: "van der Linden, Frank" <fllinden=40amazon.com@dmarc.ietf.org>
> Cc: "NFSv4" <nfsv4@ietf.org>
> Sent: Sunday, March 29, 2020 10:09:02 PM
> Subject: Re: [nfsv4] RFC 8276 and minor versions

> On Fri, Mar 27, 2020 at 1:05 PM van der Linden, Frank <fllinden=
> 40amazon.com@dmarc.ietf.org> wrote:
> 
>> Hi everyone,
>>
>> Quick question:
>>
>> It's my reading of RFC 8276 and RFC 8178 that 8276 (user extended
>> attributes) extends the (then) current minor version - 4.2.
> 
> 
> Yes.
> 
> 
>> So 4.1 or 4.0 servers/clients can not use this functionality.
>>
> 
> A server or client that did that would not using or implementing 4.0 or
> 4.1.  It would be implementing its own private protocol.
> 
> Is that correct?
> 
> 
> It certainly was the intention when RFC8178 was written.
> 
> I'm not sure that the right decision was made but realistically, the
> concept of extendible versions was so new that it would have been hard to
> declare an existing minor versions extensible post facto.
> 
> The wording doesn't seem to be that clear,
> 
> 
> I think it is clear enough.  RFCs 5661 and 7530 are presented as fixed,
> with fixed sets of operations and fixed (in RFCs 5662 and 7531)  XDR files
> that defined them.   There is nothing in RFC8178 that changes that or calls
> it into question.
> 
> but I might have missed something, so hence my question.
>>
> 
> You didn't miss anything but it appears I did.   At the time, extensible
> versions were considered so weird/dubious that I never thought to
> clearly state that existing minor versions could not be extended.  At the
> time it seemed too *obvious *to state explicitly.
> 
> This came up because there's no technical issue with implementing 8276 on
>> top of 4.1 or even 4.0.
> 
> 
> True.
> 
> 
>> But my reading is that this would violate the RFCs.
>>
>> True, but RFCs can be changed if the working group feels it is worth the
> effort.
> 
> For v4.0, it woyld be a substantial effort which probably isn't worth it.
> 
> For v4.1, it is not worth it for a complementary reason.   It is easy to
> take a v4.1 server and turn it into a v4.2 server that does not support any
> of the v4.2 OPTIONAL extensions.   It just has to recognize them, parse the
> ops, and return NFS4ERR_NOTSUPP if the minor version is 2.   At that point
> it has become a v4.2 server and the ops within rfc8276 can be
> implemented within it in accord with RFC8178.


To me it's just looks weird for a server to claim to support 4.2 and respond with
NFS4ERR_NOTSUPP to all operations just to add a support for capability that is
independent of any 4.2 functionality. However, in did not a big deal.

Tigran.


> 
> Thanks,
>>
>> - Frank
>>
>> _______________________________________________
>> nfsv4 mailing list
>> nfsv4@ietf.org
>> https://www.ietf.org/mailman/listinfo/nfsv4
>>
> 
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4