Re: [nfsv4] RFC 7530: Available attributes for READDIR and Absent File Systems

Vitaliy Gusev <gusev.vitaliy@gmail.com> Mon, 22 May 2017 12:27 UTC

Return-Path: <gusev.vitaliy@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 C525E12AF6E for <nfsv4@ietfa.amsl.com>; Mon, 22 May 2017 05:27:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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, RCVD_IN_DNSWL_LOW=-0.7, 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 M_ZMlsV9q_QI for <nfsv4@ietfa.amsl.com>; Mon, 22 May 2017 05:27:49 -0700 (PDT)
Received: from mail-lf0-x22e.google.com (mail-lf0-x22e.google.com [IPv6:2a00:1450:4010:c07::22e]) (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 2936E129C71 for <nfsv4@ietf.org>; Mon, 22 May 2017 05:27:49 -0700 (PDT)
Received: by mail-lf0-x22e.google.com with SMTP id a5so16647687lfh.2 for <nfsv4@ietf.org>; Mon, 22 May 2017 05:27:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:disposition-notification-to:from:in-reply-to :date:cc:message-id:references:to; bh=BgFWy34wVGpHu5cHl9Vmeg04qExKsz8mCEEtoGWKjj8=; b=kFZAKs65NDCeHAYUB/EDw8Vbe/Z6AsxnXCDmPG6DPyIXfyduNbMmjV848eX25sF0AZ 3K2pGm+81HWsG4XgxEWjXOjjWpkfE374yiCkHXCFEgWOJaRlb5FJ+JXmQsT62Xfkfp7U YmYqwfF2kQ2ZYBaOaDLgQitGfTynzAzVy6u2xksVgaWAt3UR2+HHgbuKW+auJCAuFbwm X5EZixiqJVSf99ocww/L0C4P1Ejx62ifq3uV7RY7WGHaLSPl06FoE9t7EWP2cS/JLI3D DmnggZRU1z96t0MSO77lQ2VIeHjCkad9Yue7K2/jeu8xyxAIfxzBzjmPbbnCj/8SEf0r z5oA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:disposition-notification-to :from:in-reply-to:date:cc:message-id:references:to; bh=BgFWy34wVGpHu5cHl9Vmeg04qExKsz8mCEEtoGWKjj8=; b=L7LkGX0fwu79IefSTFOdBm9ngKEZfi0w9aLsCOQVjMksx130LoO0Gl2nXuZh66vlSr UUrLxXVqaRbEIDw9DbFK9Mt6P+8eSJLTdcfs0B9lZ9/gyfckahoMytjneVZEG5IHACCX 2XBWxAy+HzT2LoEVJghr+LzsGcMyVCPmkqw0x/Ch4HC9k9uIBEEUmXasmOXRn4rLbqKq FG2IP9PsG/uFqdEwMlQrFaCJMMVlA7lTrwF3kflq5LnDkPhK9LRQc3Dxiz2gPPoYcM4u Gv+xMGZZjaWm+vVauo83XfeKguACnCY+Wk3MSSGt6UnpSHU2+r1R9kVJ9HrGipILDeBg A9MQ==
X-Gm-Message-State: AODbwcAYH/1Obrx2o0M94d/6PaT2nFjzgQcXzDNeQgKJuh3zCv073A2o MSBJmJSLzyQ59w==
X-Received: by 10.46.87.4 with SMTP id l4mr4625785ljb.1.1495456067449; Mon, 22 May 2017 05:27:47 -0700 (PDT)
Received: from [192.168.1.2] ([62.183.125.141]) by smtp.gmail.com with ESMTPSA id 190sm3140329ljj.4.2017.05.22.05.27.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 May 2017 05:27:46 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_091E5970-4470-4617-BC7F-EDCDADAF3C62"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Vitaliy Gusev <gusev.vitaliy@gmail.com>
In-Reply-To: <CADaq8jeYK8xPFb3kBUnSQ-2k=E53NfmJ6f6sBVTYifa6PXja7Q@mail.gmail.com>
Date: Mon, 22 May 2017 15:27:42 +0300
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Message-Id: <9B34378D-59E4-4D48-86A1-4DDE5DE77BBC@gmail.com>
References: <03970226-9CF0-4493-9408-F7CBC19F3919@gmail.com> <CADaq8jdttJ=2Ej-vsi6go2puPec5=pyf5aC60URaEgFzOA=daA@mail.gmail.com> <E8E85727-DF56-4BC4-9B1D-8BFC5139B5A1@gmail.com> <CADaq8jeYK8xPFb3kBUnSQ-2k=E53NfmJ6f6sBVTYifa6PXja7Q@mail.gmail.com>
To: David Noveck <davenoveck@gmail.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/2QIBlHkAcJ65ldtyicZ_DPCP6WU>
Subject: Re: [nfsv4] RFC 7530: Available attributes for READDIR and Absent File Systems
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: Mon, 22 May 2017 12:27:51 -0000

> On 22 May 2017, at 14:42, David Noveck <davenoveck@gmail.com> wrote:
> 
> > In other words, can other attributes than fs_locations, fsid, mounted_on_fileid, rdattr_error
> > be available for a root of absent filesystem in READDIR reply?
> 
> According to the spec. yes.  Realistically, it is hard to come up with a case where the server would have this information or in which a client would be prepared to do anything with it.

It may introduce double-meaning because in this case some attributes might be
obtained only via READDIR but not via GETATTR.

Is it worth preparing Errata for RFC 7530 Section 16.24.4 or Section 8.3.2 with
description that READDIR for an entry cannot return more attributes (except rdattr_error)
than GEATTR returns?

———
Vitaliy Gusev