Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1688490pxy; Mon, 2 Aug 2021 07:56:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywmetqOYlz1hhCfuGtQl1y5q7I4Ly73sVX9PN8pHXE1Uy3cKrEcaLzwMZlfUMNgo6brr4D X-Received: by 2002:a92:c549:: with SMTP id a9mr3701021ilj.248.1627916217780; Mon, 02 Aug 2021 07:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627916217; cv=none; d=google.com; s=arc-20160816; b=qb+QfhQ51vW4mUk5u/Ry0XJZ9e93irRZulDlLEbbm0Bi2hdKpnFNnlS3m59TR+qCzx tN+N+fz707KBK8y8BL1j+cSOtaDdhgHY/hNs/k0nSU0J2Z2q7lMZhd8VJi3rYYDmLL9D +n7+tXUiIFoXEZIIX1vl5o2UU0sS6vWFo0tA2wLhlX9cYZbpGdJ9y7/lFkkeOnyO2Xhv xHDRSHAr7qg0vvUv6jC0Q9jECbEdzK02zhC14di+cFGy2rGblF6UDjpjt9mUE9+KqYTn crhOnXHraV+dJH/YeCQ33Ojz9Wwe5DWTBLCHLh8DnGtkRmYAk66kCAQcsr+Zbkv33nte D8AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:content-language :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:dkim-signature; bh=kOYgkgt1Eovr4+CuMMxXz1DZVQXHQDhi+reUiDH50Qk=; b=xReKyYnECTO19JE04oFHHV7Q+b/gwtZqbq8coxDU6JdCXZl0OuYG2z6svFOp93hcx4 TMvCdbOPt/wNHRTp+HN+Q9dmAFKt5yswVXVvR1i95F8FMSrVdOe6pndlHKkmZhh+O0yz DapXsV8LpBO6VZgItt3HwbQQT30rIFgvGH1pxrHqNLgRTCtSFlt5PD3VCdHQGyCQc2nt 2qB6kcbgLP0mXxWaTnkmXpSsgZHwzkwSILWWz48JVbeR6Hfv1MXP/tr2DS5J4y/LR+xV Gf9SNDzuilgcqWdzZrKBmYLJCfnsOM9FiIVabI72/g7dozyl1udVaqB+Gh7atTal/x9e YMiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@earthlink.net header.s=dk12062016 header.b="k5hQVO/S"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mindspring.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l6si12993202ios.26.2021.08.02.07.56.37; Mon, 02 Aug 2021 07:56:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@earthlink.net header.s=dk12062016 header.b="k5hQVO/S"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mindspring.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234417AbhHBOzO (ORCPT + 99 others); Mon, 2 Aug 2021 10:55:14 -0400 Received: from mta-102a.oxsus-vadesecure.net ([51.81.61.66]:33925 "EHLO mta-102a.oxsus-vadesecure.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233981AbhHBOzN (ORCPT ); Mon, 2 Aug 2021 10:55:13 -0400 X-Greylist: delayed 447 seconds by postgrey-1.27 at vger.kernel.org; Mon, 02 Aug 2021 10:55:13 EDT DKIM-Signature: v=1; a=rsa-sha256; bh=kOYgkgt1Eovr4+CuMMxXz1DZVQXHQDhi+reUiD H50Qk=; c=relaxed/relaxed; d=earthlink.net; h=from:reply-to:subject: date:to:cc:resent-date:resent-from:resent-to:resent-cc:in-reply-to: references:list-id:list-help:list-unsubscribe:list-subscribe:list-post: list-owner:list-archive; q=dns/txt; s=dk12062016; t=1627915653; x=1628520453; b=k5hQVO/SHE5D98YVr+2IwaENw1BGVaPvd798Bvz8noqJFOrQHrwQvVd acbkXb+GuUdFmtD7Im7xt5N3I3dDUjx2MMuH6wUFjkTcpQEi3tXU0YMZpM8MgNPjmEK6wXX 7n66vUEYcA1iSZCaAltdccPBuqKqIoX8gGFuzWfhGRj97mc1UnsfIpcv75bNhoafaxxIPs1 4VmdXE7SLVp2Lngptvwwwy1hsokE4TtY0QO2xHns8t07DsqzckT2tfcQPjY3pbdnA+vIcke NKw7QwjOjrrsYbxqE8TXLjuLhi7L41SA+6xJHUGBtYowQI4hEuS9yH7rV3XVDCedWJwuSxH 2pg== Received: from FRANKSTHINKPAD ([76.105.143.216]) by smtp.oxsus-vadesecure.net ESMTP oxsus1nmtao02p with ngmta id af69139b-169784a9170c7b41; Mon, 02 Aug 2021 14:47:33 +0000 From: "Frank Filz" To: "'Amir Goldstein'" , "'NeilBrown'" Cc: "'Al Viro'" , "'Miklos Szeredi'" , "'Christoph Hellwig'" , "'Josef Bacik'" , "'J. Bruce Fields'" , "'Chuck Lever'" , "'Chris Mason'" , "'David Sterba'" , "'linux-fsdevel'" , "'Linux NFS list'" , "'Btrfs BTRFS'" References: <162742539595.32498.13687924366155737575.stgit@noble.brown> <162742546548.32498.10889023150565429936.stgit@noble.brown> <162762290067.21659.4783063641244045179@noble.neil.brown.name> <162762562934.21659.18227858730706293633@noble.neil.brown.name> <162763043341.21659.15645923585962859662@noble.neil.brown.name> <162787790940.32159.14588617595952736785@noble.neil.brown.name> <162788285645.32159.12666247391785546590@noble.neil.brown.name> In-Reply-To: Subject: RE: A Third perspective on BTRFS nfsd subvol dev/inode number issues. Date: Mon, 2 Aug 2021 07:47:31 -0700 Message-ID: <02d201d787ad$53dfd930$fb9f8b90$@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Content-Language: en-us Thread-Index: AQGsQ4rocC8JdciffDlk4WCbcNd5JAH9XzyyAdavEn8CATAmtQHAf3kAAq0/zdEChfj1cAJ+oSVgAZcNCFgCKp+e3AHI9mimAhJ4xdwCcfkHUqrsHG6A Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org > In any case, instead of changing st_dev and st_ino or changing the = world to > work with file handles, why not add inode generation (and maybe subvol = id) to > statx(). > filesystem that care enough will provide this information and tools = that care > enough will use it. And how is NFS (especially V2 and V3 - V4.2 at least can add attributes) = going to provide these values for statx if applications are going to = start depending on them, and especially, will this work for those = applications that need to distinguish inodes that are working on an NFS = exported btrfs filesystem? Frank