Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp160959pxb; Thu, 2 Sep 2021 00:58:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxU2MdRI1TI8bar96dCYTZFi3BQpF97XWTWb7xB2FO/6k8EU39c/7+XGgL69Ps1YnXMz804 X-Received: by 2002:aa7:c2da:: with SMTP id m26mr2297777edp.351.1630569494910; Thu, 02 Sep 2021 00:58:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630569494; cv=none; d=google.com; s=arc-20160816; b=ss0HNng0Pdt8wcyyirOwtfs/NyY7mPvaAhSqPDhEtwq8+bxNkULsusYVDwpw/nrJlS RKl/7/n3heScZmltkyrpEZputBI9Vb58zlrErFglbRRFfLOM8lGUeAuLFpmJeDTQSjTI BMVlQOzMUsm95m4jqUbRRiAdTzEqOrkeGpkfWqL3sVnU4FW7ljmpUY0X8ArUXBEH5cEI vVEx4hQ0/04861ebrzTGW7C8Zb0roKzl/McFMpM4tnfYjntG/RJnG2Tg7S3LhffmRTJO eUS6zYNTesv9B680wY6PyOjwXBB29l41oNMSZyXK5C6OUOx51/rw7McFms8opa4qggNr Mbtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=8cXvSpYZuNaX1iPUSL6z/6TmQH+CSZ/JIxOOTFRXmG0=; b=mSuVPdBf/tMdAC+FyRahFl6oAkLEpAnuW9XmXmq2suV/DTp4TUqIqITFYFjLS/A5Cf Q7WWTc2jnD1c2j3SbkB4gOo9ZJAbM601CwA9bGS9HAY/AXqZa3M0QOB7ITdp3HJxvJA3 q7JA1Pjt7+eo+v+T4+LhFbxX21uSZrV/rAT2xTuykvAbWNLDW+soMORgLIzKFFKqhBBf IPO6I8kH8thRQ5J7L4Kb7ACPpQLceshs2mP+gNcpBM/R1FI+tX8DwSaPBHJkMu3jxTwU OUd2qMddUtO4ayfVtV0T8MEa9vFtOe9onliTNegRRDsT5iCCliqnK4pdi6quqGqHpPuQ sunQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=GhRToXsS; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp8si1307892ejc.325.2021.09.02.00.57.33; Thu, 02 Sep 2021 00:58:14 -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=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=GhRToXsS; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243877AbhIBHy5 (ORCPT + 99 others); Thu, 2 Sep 2021 03:54:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243180AbhIBHy4 (ORCPT ); Thu, 2 Sep 2021 03:54:56 -0400 Received: from mail-vk1-xa2b.google.com (mail-vk1-xa2b.google.com [IPv6:2607:f8b0:4864:20::a2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC199C061575 for ; Thu, 2 Sep 2021 00:53:58 -0700 (PDT) Received: by mail-vk1-xa2b.google.com with SMTP id k124so333732vke.5 for ; Thu, 02 Sep 2021 00:53:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8cXvSpYZuNaX1iPUSL6z/6TmQH+CSZ/JIxOOTFRXmG0=; b=GhRToXsSmVEnK8SWnx6tdamp7V2qkopiOAXwrJcy9ICE97uljjqARi0m/agRHpXYGf Yo44ka+hIiaopxrh/rBysUoiak2ymcy2spamIisV1AYmULDrxOOamhasYMd4/M9iW9W1 M/ptC5UOxqOt0VozcuaCuXp2OA6ECpYsPFspc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8cXvSpYZuNaX1iPUSL6z/6TmQH+CSZ/JIxOOTFRXmG0=; b=OnxKYAuBz/Z0fynFmM+fsfsH8VSN9xa8hQ0vjZ4eOxEZvRCOEO4Jq8zpXdBtSD0slm jyF8dXz0imfzGoc+G6H7sjEcdg7F+Q7J+kU7GQDYQ1BtuaM27SvD8QJSeGc3uhtrbpxG eXUox08Oucf0EyqFjTRl8MUhlB8zPCk8bCybPjeSGv5ax0nSImE2lc94QkD/Cx0B+B1Z RawafGzXd6pAppROHB8kwoSCc7jEsVLdvmZU+7d9Io0CdudsA5LzYGG1wjRS+edHOl0w KEQxYbr7lfh2+V1jqxYr4FXyBRFLQGYDVFokETiok4PV/MGis9KP7W5vh8Pns3GWBJ0X gDgA== X-Gm-Message-State: AOAM531klMZF5nbleb1G45GmuzPnMKDorQG3PofZbUfnRSB/XM1N3GwA WSnCMKBeaXcFE2hof/D/KE85TYqH+6CVxXCTC+yIqQ== X-Received: by 2002:a05:6122:8d4:: with SMTP id 20mr783887vkg.19.1630569238162; Thu, 02 Sep 2021 00:53:58 -0700 (PDT) MIME-Version: 1.0 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: From: Miklos Szeredi Date: Thu, 2 Sep 2021 09:53:47 +0200 Message-ID: Subject: Re: [PATCH v2] BTRFS/NFSD: provide more unique inode number for btrfs export To: Christoph Hellwig Cc: NeilBrown , "J. Bruce Fields" , Chuck Lever , Linux NFS list , Josef Bacik , linux-fsdevel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Thu, 2 Sept 2021 at 09:18, Christoph Hellwig wrote: > > Your attitude seems to be that this is a btrfs problem and must be > > fixed in btrfs. > > Yes. 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. 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... Thanks, Miklos