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

David Noveck <davenoveck@gmail.com> Fri, 02 June 2017 21:30 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 86707128B44 for <nfsv4@ietfa.amsl.com>; Fri, 2 Jun 2017 14:30:09 -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 yViQmmjcDvX6 for <nfsv4@ietfa.amsl.com>; Fri, 2 Jun 2017 14:30:08 -0700 (PDT)
Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (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 12F5B124217 for <nfsv4@ietf.org>; Fri, 2 Jun 2017 14:30:08 -0700 (PDT)
Received: by mail-it0-x236.google.com with SMTP id r63so31602263itc.1 for <nfsv4@ietf.org>; Fri, 02 Jun 2017 14:30:08 -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; bh=Cl/zPrRmUgAeBB9E5zCjXhrmhg4XwsZ3Kpy6kCe1hcc=; b=H62h8jqFDEKiuMmZJ33u/0dOj/qy7uqIt41r1M9L/VhSNUsPYhk0yu4Za9wMXUj51b /R7BYiGcJz/D+4CTpCKEUl9ijNnzvhalPvcDJQypmpoekNkbuZkIBjQAWVrSyhodbOA/ hMWQESNSbIvyaDUu1sJcFHpBbQpBb5rhbTx34QI2HxDnXakjtBmxmRSvP6xwHb6rL1/H 1ses3HFk8lY89DZFSPpiYxfeToGdlasHcNyEzICrcKgzMJ12ENTbK4HwbB00MaZjhKXC tPwsCTdDs2GcIQIi7Sv5LnOJD9tbCzLaPuIFlCtGlK1Xfc27eYwo3S0eeAl1WS6h05dK aRUg==
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; bh=Cl/zPrRmUgAeBB9E5zCjXhrmhg4XwsZ3Kpy6kCe1hcc=; b=T2qTq9p41LelNLkGq0przjh/7mzfkACittI1BIttimrPtQbkuS8Ww4yy3OpLifpDdB 4V1qDe6etgPbfRXHVbobDA+XnBPNXaLVy69MGvK54f/2v82/tL/bxX1ypZtBhRFYddeX I8PEG9nVHpjhtCwSQSuWYWoEqk552yo0+8/v5Y49AlpM3CTynjKg71xuwJ9zymRm4nle qNbrLiPlwwDXNLRbfD7r8LVC9/3YwAsBamwJoj2UJ+amGJ4YPMbmw6yXgXl+vC7HELKW r0Ofz7QjHsjTq1bB+r8jCk3g1BAe5TVDBiTcO+2Mk4bv9e36j9Nwuv9fEXvJeZHzFmDc 9RGw==
X-Gm-Message-State: AODbwcCBD9pL3TVssU+r4bXiprdna0a135Ty3S47vKfmQSkTe96S5kG7 vbRDQIlxJxLm61E4P4ZnXYgVi/z9xw==
X-Received: by 10.36.246.67 with SMTP id u64mr1506420ith.3.1496439007052; Fri, 02 Jun 2017 14:30:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.4.148 with HTTP; Fri, 2 Jun 2017 14:30:05 -0700 (PDT)
Received: by 10.107.4.148 with HTTP; Fri, 2 Jun 2017 14:30:05 -0700 (PDT)
In-Reply-To: <CADaq8jfu3kV=P6yF9Y_UQhKr_cQisX+wxivUuBd3BFvVXQLSMA@mail.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> <3FD9431E-7ADC-4F5E-9DBD-5DCF29B70F9F@gmail.com> <CADaq8jfu3kV=P6yF9Y_UQhKr_cQisX+wxivUuBd3BFvVXQLSMA@mail.gmail.com>
From: David Noveck <davenoveck@gmail.com>
Date: Fri, 02 Jun 2017 17:30:05 -0400
Message-ID: <CADaq8jebe_b5nU7Dh_5Uw9pGaLBDdH6oU4+W_1eBxpEfJdjnfg@mail.gmail.com>
To: nfsv4@ietf.org
Content-Type: multipart/alternative; boundary="94eb2c12c430718a4e055100db54"
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/jFcpHcRVlrtD8diUTVXpZXG9bq8>
Subject: [nfsv4] Fwd: Re: 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: Fri, 02 Jun 2017 21:30:09 -0000

---------- Forwarded message ----------
From: "David Noveck" <davenoveck@gmail.com>
Date: Jun 2, 2017 10:17 AM
Subject: Re: [nfsv4] RFC 7530: Available attributes for READDIR and Absent
File Systems
To: "Vitaliy Gusev" <gusev.vitaliy@gmail.com>
Cc:

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

I don't think so.  The spec is not incorrect and the lack that it fails to
outlaw one  case of
server behavior that you might find troubling is not a sufficient basis for
an errata.

If the issue was raised before RFC7530 was written, the results might have
been different,
but even in that case I'm not sure that the spec would have said that the
server
"SHOULD NOT" or "MUST NOT" do this.

On Thu, Jun 1, 2017 at 12:34 PM, Vitaliy Gusev <gusev.vitaliy@gmail.com>
wrote:

>
> On 22 May 2017, at 14:42, David Noveck <davenoveck@gmail.com> wrote:
>
> > In other words, can other attributes than fs_locations, fsid, mount
> ed_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
>