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

Vitaliy Gusev <gusev.vitaliy@gmail.com> Fri, 19 May 2017 21:07 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 B1ABD129B19 for <nfsv4@ietfa.amsl.com>; Fri, 19 May 2017 14:07:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.8
X-Spam-Level:
X-Spam-Status: No, score=-0.8 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, 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 pNTXilLd3gX6 for <nfsv4@ietfa.amsl.com>; Fri, 19 May 2017 14:07:35 -0700 (PDT)
Received: from mail-qk0-x22c.google.com (mail-qk0-x22c.google.com [IPv6:2607:f8b0:400d:c09::22c]) (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 3979C129488 for <nfsv4@ietf.org>; Fri, 19 May 2017 14:07:35 -0700 (PDT)
Received: by mail-qk0-x22c.google.com with SMTP id u75so70926321qka.3 for <nfsv4@ietf.org>; Fri, 19 May 2017 14:07:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:disposition-notification-to:mime-version:date:subject:to :message-id; bh=lTilmtju9SNEzD7HIauGObrwbhI4Ghw14hCFVMa0/8Q=; b=QnkXwAnaSkEVWLW3OZVlKnIxFQn/J275jwYGMWp1rBHgYF6eJuQb8WN5Y25X99c4s9 mpFgdwkkaeaEtKkLadSQLp+v8TDJGxPCLTU/dhKl+M1APyzdQW6CrbJzrfT7cvYYWCan GONk10cKyxYHGGH3Pt5zLU9S3jxf/W198DJvpfbkVc2yerU79pDRXeUkcmrfx1QdJ1Uh rBD3a4/Jcnku2ocp+ZydH1nI87tKX2cKJxjOpqKp7ISKqeJmpZYaBUBV583OTIGJTU7M Oh4LD+pQkmYDw9Ne6UOZ29VwkPGWvvcYVoFzBfcmckjm7Yb3C0PBVKCf67unhN7su7r/ a9/g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:disposition-notification-to:mime-version :date:subject:to:message-id; bh=lTilmtju9SNEzD7HIauGObrwbhI4Ghw14hCFVMa0/8Q=; b=VI/xyvj/VhlupDMGvwuKCj8YSo9b2G6rhX5w19aWxeha0MOPxpojKs2jJy+RXm/fwG LxCdmNB0twTx315uQBPIsQdWz2gYj/7ANWdoFr8uAQ/pjePJPxDnNuVMESlw7+n5Jx3K r5WlVW6hPIvhaA6iZ757tlytZFlnEzV3/vMXfXIBSNNxtJxLT1O8pvGQfRK4xZFenUz6 aV37XOEwZzxXkbugdOywKqdsDZy141p8Rga6HS0h7ZNMv3X12ZBapYALyD/3JPt+ZY+x 0969dQEXNbw8s+f++J2D6njv/1ouNGApqlBrNf5B5bdyUzh9unYHP9Lg40HHyxFvaQd3 NYDQ==
X-Gm-Message-State: AODbwcBAOL3F0E2IvbBpVcVewLhbE6prqpAEbXqF4pTVr2GtRjT6LTKN cqrdWHiUt+parg==
X-Received: by 10.55.18.141 with SMTP id 13mr11700293qks.135.1495228054392; Fri, 19 May 2017 14:07:34 -0700 (PDT)
Received: from [192.168.1.2] ([92.50.223.20]) by smtp.gmail.com with ESMTPSA id a126sm6818228qkc.15.2017.05.19.14.07.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 May 2017 14:07:33 -0700 (PDT)
From: Vitaliy Gusev <gusev.vitaliy@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_F34BDB21-7BA1-416A-BF3F-6F08E4939B20"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Sat, 20 May 2017 00:07:30 +0300
To: nfsv4@ietf.org
Message-Id: <03970226-9CF0-4493-9408-F7CBC19F3919@gmail.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/5I3yD3YFTEzn7zdx3epi_p_hiyM>
X-Mailman-Approved-At: Sat, 20 May 2017 12:58:31 -0700
Subject: [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: Fri, 19 May 2017 21:14:01 -0000

Hi!

During improving NFS v4 illumos server for READDIR operation I got question
about availability of attributes for READDIR in case of an absent filesystem.

RFC 7530 Section 8.3.2 “READDIR and Absent File Systems” says only about:
fs_locations
rdattr_error
and doesn’t specify other available attributes.

Section 8.3.1 specifies attributes for an absent filesystem but only for GETATTR operation:
fs_locations
fsid
mounted_on_fileid

Do I miss something or RFC 7530 and RFC 5661 don’t have full set of available attributes
for an absent filesystem that can be got in READDIR operation?

———
Thanks,
Vitaliy Gusev