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 6C28ECA5FEE for ; Mon, 19 Jan 2026 06:41:18 +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=ebwo84GBw8HT5IlwFthKGr2sYCfQpPqAejE5awgWcXQ=; b=avGRA3raRST/rJ 18Ryk0PSPBz1zpHzhZP06irUHmbiPl8w319P5gZfyZZjtcy1YMHSaCUQbjLHHqi8fF1L0NfD1UUXY H1WuaHYSm81CRv9rEzhXd3aMtw6qWAd6rk5+C546kDwEPU2JF98M9Vx+ytsWg7Ks+joNI9wybe0hR FKG6chFUkC3i1N7QOz1Z+w2BjDIXCKZkQN+msxcgbIzX7G0LHMWoivYPyJodbEdJdEEQdmFeLbLgE oN+cjWkVlXsOrc1Jr+FDderoftvXtNM1Ot1WLFcZpIZIyAyp4e5fwRu4pXVPmOCr9TDwVg2eDKDF/ pnZeoXvSGo8Sp5vfJnSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vhiwo-00000001Pq3-3k6w; Mon, 19 Jan 2026 06:41:10 +0000 Received: from hch by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1vhiwi-00000001PpP-1B5K; Mon, 19 Jan 2026 06:41:04 +0000 Date: Sun, 18 Jan 2026 22:41:04 -0800 From: Christoph Hellwig To: NeilBrown Cc: Jeff Layton , Amir Goldstein , Christian Brauner , 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 , Christoph Hellwig , 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, samba-technical@lists.samba.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: <20260115-exportfs-nfsd-v1-0-8e80160e3c0c@kernel.org> <9c99197dde2eafa55a1b55dce2f0d4d02c77340a.camel@kernel.org> <176877859306.16766.15009835437490907207@noble.neil.brown.name> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <176877859306.16766.15009835437490907207@noble.neil.brown.name> 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 Mon, Jan 19, 2026 at 10:23:13AM +1100, NeilBrown wrote: > > This was Chuck's suggested name. His point was that STABLE means that > > the FH's don't change during the lifetime of the file. > > > > I don't much care about the flag name, so if everyone likes PERSISTENT > > better I'll roll with that. > > I don't like PERSISTENT. > I'd rather call a spade a spade. > > EXPORT_OP_SUPPORTS_NFS_EXPORT > or > EXPORT_OP_NOT_NFS_COMPATIBLE > > The issue here is NFS export and indirection doesn't bring any benefits. No, it absolutely is not. And the whole concept of calling something after the initial or main use is a recipe for a mess. Pick a name that conveys what the flag is about, and document those semantics well. This flag is about the fact that for a given file, as long as that file exists in the file system the handle is stable. Both stable and persistent are suitable for that, nfs is everything but. Remember nfs also support volatile file handles, and other applications might rely on this (I know of quite a few user space applications that do, but they are kinda hardwired to xfs anyway). ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/