Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp430931pxb; Thu, 2 Sep 2021 07:21:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQXg8dAziMjfcgiptI+8x+FkTW1Way/9EAAF4F8uUcpWj7em8G+K9x1shfzedSf5e9nj5P X-Received: by 2002:a17:906:1913:: with SMTP id a19mr4178089eje.390.1630592479578; Thu, 02 Sep 2021 07:21:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630592479; cv=none; d=google.com; s=arc-20160816; b=vCGXQnU88RYGa1NYopZ3SZJOBhqVwEHLyDcn5Vwip43lyNZHF7PA8CxPqGBb0/Wxwh vR+czceqGnr8TufdDCcymIAPItUBRbhJX/NELzQmH3MDIJfP4VGJ1AAUSIp7yjbvX+q5 uB3/0nLbgUl0+Lw+8h3XaNTePx7m1mKpbxmPoO7oaB9VVp6WlL6oV7kYxIQOM6EQSHKI mNNwHgTt9QpBBzFrDRSf0VUJ49MFabGXgrzthZ+TXWrIZLA5B6QqMKLB83IFOTLMnTsJ DnbOCqo5lFqycnrHKi1RnnnPczaWUHs1NCXdyzyI9YriKgX0sqhQHWdHUk4gNDvFlfkt kXXA== 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=0znQ0bZJnEmWup+geyVO0VNC/rch+QaShXhPsFRITrw=; b=lKT38yBJwuziHfbG2DP08szpEl9JqQqvpZAJh1O0ZbsaCPHo9PB7oc6b3ig3YiX2uq KbxtZT2Tz4HNF5nfO4K21CIpCMHDnKI8CRmitiPhc7YQvBzN39Gw8M66S187RBIyxni7 YIjnRGaPgc0UbOR2g0VVFX6sWsZHmpfdjQK+Z149WSF1kPOwUwcBJ7pdGevwRGmTuUaV GB8nIhPHIu8Vj93+gjzHbqiph4ahqLOPmu8XgAOnDdLL5ewNGpsx13bzkrB8LzB2xXOy SHxuEyt0bvTXdx15ftLp3l1LKqGh2HFiND4t0QkAAHUpvBU2PCHHR+W6gDxVCsCgeeKj mx9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@earthlink.net header.s=dk12062016 header.b=WLdI8UGR; 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 df1si2218887edb.268.2021.09.02.07.19.59; Thu, 02 Sep 2021 07:21:19 -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=WLdI8UGR; 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 S1345455AbhIBOUj (ORCPT + 99 others); Thu, 2 Sep 2021 10:20:39 -0400 Received: from mta-202a.oxsus-vadesecure.net ([51.81.232.240]:52685 "EHLO mta-202a.oxsus-vadesecure.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345437AbhIBOUe (ORCPT ); Thu, 2 Sep 2021 10:20:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; bh=0znQ0bZJnEmWup+geyVO0VNC/rch+QaShXhPsF RITrw=; 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=1630592181; x=1631196981; b=WLdI8UGRB+XHZiDg/kGw2Et3f6J7ygDCeJ663aqkdy13p64uflmUWCw huUsS+YFW4sp6aMFUFUrKP055Xaqka04eYyMGOuU9TEcfVakjy/LexdyyJp6LMe+KDroYrb fe7QNED1q85rhb6HNX2x15szteFqkiT0JQc1F+mQqfbgKkwMVa/qGkY9LORBGdQjHFpwykt DOnWNBeB+9AYUKWtRgod3UaWE2CF8HcoUVXj5YLmmB9OxotZchqHK491Vka7q6/G+pRRZFf EB5QqH97EzYE4crrExRl+QcnvMCqgr/3K8DG5XBILN32YkfraT++2klt2EBCH7s4e6z8RGA muw== Received: from FRANKSTHINKPAD ([76.105.143.216]) by smtp.oxsus-vadesecure.net ESMTP oxsus2nmtao02p with ngmta id 7b29f58e-16a106f312cff353; Thu, 02 Sep 2021 14:16:21 +0000 From: "Frank Filz" To: "'Miklos Szeredi'" , "'Christoph Hellwig'" Cc: "'NeilBrown'" , "'J. Bruce Fields'" , "'Chuck Lever'" , "'Linux NFS list'" , "'Josef Bacik'" , References: <162995209561.7591.4202079352301963089@noble.neil.brown.name> <162995778427.7591.11743795294299207756@noble.neil.brown.name> <163010550851.7591.9342822614202739406@noble.neil.brown.name> <163038594541.7591.11109978693705593957@noble.neil.brown.name> <163055561473.24419.12486186372497472066@noble.neil.brown.name> In-Reply-To: Subject: RE: [PATCH v2] BTRFS/NFSD: provide more unique inode number for btrfs export Date: Thu, 2 Sep 2021 07:16:21 -0700 Message-ID: <024601d7a005$1b3863c0$51a92b40$@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: AQIrHUOuRItKwhPpv5iuHWFXVceYzwFdY2wGAe8fACcBhmh95QIesfONAO3IHPoCbGx/fAGLnZteAStbb/8CEbYDYapxJ5Xg Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org > On Thu, 2 Sept 2021 at 09:18, Christoph Hellwig = wrote: >=20 > > > Your attitude seems to be that this is a btrfs problem and must = be > > > fixed in btrfs. > > > > Yes. >=20 > st_ino space issues affect overlayfs as well. The two problems are > not the same, but do share some characteristics. And this limitation = will likely > come up again in the future. >=20 > I suspect the long term solution would involve introducing new = userspace API > (variable length inode numbers) and deprecating st_ino. > E.g. make stat return an error if the inode number doesn't fit into = st_ino and add > a statx extension to return the full number. But this would be a long = process... But then what do we do where fileid in NFS is only 64 bits? The solution of giving each subvol a separate fsid is the only real = solution to enlarging the NFS fileid space, however that has downsides = on the client side. Frank