From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AD884C44502 for ; Wed, 21 Jan 2026 10:00:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Qrjzo+g9a8oQrKj4xd3fE1lTfwInepfj9YksCChEhz0=; b=htiNmNsVDg7kNN k5r7ffPwkF9y1OYMF5K2PKCbtkD9ess17BSquPj8rN8Cwepr+vMWWc7/sFwYWO2kpgK9gkYBbuK+m DaseG6UROkYH1/qryucbMUIk2ku+QcNp2t7IaqrVepZPdAtj+0b5462FVrdCp2wWDCqWEHRF6u2xq vszLcAHoCo089yhxlI940eOB6CmC/vaeQ3KKq5bwT+1L2NBbM9c4InrWEqbTqZYV2jnCiVcZIjGtM 8HS3i2R/dkFzFlJXsU9TVjSA8rET9++3wTlotVvj6TC4lG/yYNWmNIoSkFAnsPVKLzRtbiPrvBUdR el9/emGDHgCAahac8dvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1viV0e-00000005EMu-4357; Wed, 21 Jan 2026 10:00:20 +0000 Received: from hch by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1viV0b-00000005EMZ-1e4Z; Wed, 21 Jan 2026 10:00:17 +0000 Date: Wed, 21 Jan 2026 02:00:17 -0800 From: Christoph Hellwig To: Jeff Layton Cc: Christian Brauner , NeilBrown , Christoph Hellwig , Amir Goldstein , Alexander Viro , Chuck Lever , Olga Kornievskaia , Dai Ngo , Tom Talpey , Hugh Dickins , Baolin Wang , Andrew Morton , Theodore Ts'o , Andreas Dilger , Jan Kara , Gao Xiang , Chao Yu , Yue Hu , Jeffle Xu , Sandeep Dhavale , Hongbo Li , Chunhai Guo , Carlos Maiolino , Ilya Dryomov , Alex Markuze , Viacheslav Dubeyko , Chris Mason , David Sterba , Luis de Bethencourt , Salah Triki , Phillip Lougher , Steve French , Paulo Alcantara , Ronnie Sahlberg , Shyam Prasad N , Bharath SM , Miklos Szeredi , Mike Marshall , Martin Brandenburg , Mark Fasheh , Joel Becker , Joseph Qi , Konstantin Komarov , Ryusuke Konishi , Trond Myklebust , Anna Schumaker , Dave Kleikamp , David Woodhouse , Richard Weinberger , Jan Kara , Andreas Gruenbacher , OGAWA Hirofumi , Jaegeuk Kim , linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-ext4@vger.kernel.org, linux-erofs@lists.ozlabs.org, linux-xfs@vger.kernel.org, ceph-devel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-cifs@vger.kernel.org, linux-unionfs@vger.kernel.org, devel@lists.orangefs.org, ocfs2-devel@lists.linux.dev, ntfs3@lists.linux.dev, linux-nilfs@vger.kernel.org, jfs-discussion@lists.sourceforge.net, linux-mtd@lists.infradead.org, gfs2@lists.linux.dev, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [PATCH 00/29] fs: require filesystems to explicitly opt-in to nfsd export support Message-ID: References: <9c99197dde2eafa55a1b55dce2f0d4d02c77340a.camel@kernel.org> <176877859306.16766.15009835437490907207@noble.neil.brown.name> <176880736225.16766.4203157325432990313@noble.neil.brown.name> <20260119-kanufahren-meerjungfrau-775048806544@brauner> <176885553525.16766.291581709413217562@noble.neil.brown.name> <20260120-entmilitarisieren-wanken-afd04b910897@brauner> <176890211061.16766.16354247063052030403@noble.neil.brown.name> <20260120-hacken-revision-88209121ac2c@brauner> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On Tue, Jan 20, 2026 at 07:50:32AM -0500, Jeff Layton wrote: > > > and it DOES provide stable filehandles. > > > > Across reboot? Not really. > > It's quite possible that we may end up with the same "id" numbers in > cgroupfs on a new incarnation of the filesystem after a reboot. The > files in there are not the same ones as the ones before, but their > filehandles may match because kernfs doesn't factor in an i_generation > number. > > Could we fix it by adding a random i_generation value or something? > Possibly, but there really isn't a good use-case that I can see for > allowing cgroupfs to be exported via nfsd. Best to disallow it until > someone comes up with one. Yeah. And I'm pretty sure everyone here will push back hard on any such use case. ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/