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 lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (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 5018ED2ECF9 for ; Tue, 20 Jan 2026 07:50:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Subject:In-Reply-To:MIME-Version:References:Message-ID:To:From:Date:Sender: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jqvcJrCjs/Edw0P/Ah+unt5nqBmbiNhQh4S7z9rXyVs=; b=IcPuNYhWKGyiUO6Sst9GvNupcK 9tBGMKi4cu1WlWlkn9T9ZlVHk/FnMwGm+k4eF0jMB4fAKFRg3ncrhTTfpMXWFI8xwtnH3DUeT5Pbi FcDPybiTd5/VeyxD5q4ZgzYqE4Go3V1P3L/GlX8tjv3FYOcsVK8GPb9EYReurtT56jtM=; Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1vi6Vj-0004mX-Tk; Tue, 20 Jan 2026 07:50:48 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1vi6Vi-0004m8-Cp; Tue, 20 Jan 2026 07:50:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=haSfZvoEvPhBBZDnUW3y3BhJEQ36mgFSvpNiOqhvJvI=; b=ObgatRlM7g4dVSrX98nCzoJ14y Xf8FT+WgLFg+pLAagIFB5MjcOptcr+Kv5AaDuHD21vtWYbe7tT00nMpLW+SUojRG6NKyWb+lLoRi9 yThnN6rvN3rIzAfbnuIuzvnlJxqrkUG3iZl5wLITURy2NnpbvQgzU2PrfcZJ0P5Xz1Rw=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=haSfZvoEvPhBBZDnUW3y3BhJEQ36mgFSvpNiOqhvJvI=; b=PVkifm+jEKp7mPKmdJMjBzW5TW 9+tA5iD+ZG8sbD5jVnOxfFByFJZTMgVWg6sBxiUFTADObYqVYbMGrD5O4hdlAOuNlI2GN3KnHEkm4 ISBX9uh7RULsG3OrfekP4bTePETUfjKU+vXj5Pz3+cp7B9i4jppwKByOS9JuwgA6VbHo=; Received: from bombadil.infradead.org ([198.137.202.133]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1vi6Vi-0000Qb-Q9; Tue, 20 Jan 2026 07:50:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=haSfZvoEvPhBBZDnUW3y3BhJEQ36mgFSvpNiOqhvJvI=; b=N18Lfx2l0cTzfa3HEHbSStwRPv iyXHar7+IL8UusFL6sjIudxhuirPKAhJMeBNA+7JTaSgRPwHzsN72C9/ED13gd4R3bzZoK6cN15el 2OOL3ox9rvwKCy+jqAl20MM1KOQeI06m0Nqc7qZlyinWokSDH6OADy7uwk70GRUXw1dKPRbjqr1Mx G0x+S1U8gEmAS0uHHMxQqMK+KDGwlJXyI4/nRqaD3y/MPBEQbIe1RJKnMGnpCsJCrYQkezP6l13YD Bk/y5So46wc2umpZT0PCIQ7tT9Ms4VQ/Y3zVPPZ8bLDLhE9SURfv9f85/RpFqttM9TA+n04nUeD09 UJSC4XRw==; Received: from hch by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1vi6VB-00000003NIK-3jXc; Tue, 20 Jan 2026 07:50:15 +0000 Date: Mon, 19 Jan 2026 23:50:13 -0800 From: Christoph Hellwig To: Jeff Layton Message-ID: References: <20260119-exportfs-nfsd-v2-0-d93368f903bd@kernel.org> <20260119-exportfs-nfsd-v2-2-d93368f903bd@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20260119-exportfs-nfsd-v2-2-d93368f903bd@kernel.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Headers-End: 1vi6Vi-0000Qb-Q9 Subject: Re: [f2fs-dev] [PATCH v2 02/31] exportfs: add new EXPORT_OP_STABLE_HANDLES flag X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Brandenburg , jfs-discussion@lists.sourceforge.net, Jan Kara , Paulo Alcantara , Alex Markuze , Sandeep Dhavale , linux-btrfs@vger.kernel.org, Carlos Maiolino , Amir Goldstein , Dave Chinner , linux-unionfs@vger.kernel.org, Konstantin Komarov , Chris Mason , Andreas Dilger , Chunhai Guo , Ronnie Sahlberg , linux-mtd@lists.infradead.org, Mike Marshall , linux-xfs@vger.kernel.org, linux-nilfs@vger.kernel.org, Yue Hu , Miklos Szeredi , Richard Weinberger , Mark Fasheh , linux-doc@vger.kernel.org, Hugh Dickins , Dai Ngo , Ryusuke Konishi , Christoph Hellwig , Viacheslav Dubeyko , NeilBrown , Gao Xiang , linux-ext4@vger.kernel.org, Salah Triki , linux-mm@kvack.org, devel@lists.orangefs.org, Shyam Prasad N , Olga Kornievskaia , linux-cifs@vger.kernel.org, Dave Kleikamp , linux-nfs@vger.kernel.org, Tom Talpey , ocfs2-devel@lists.linux.dev, Bharath SM , David Sterba , Alexander Viro , Baolin Wang , Jeffle Xu , Jaegeuk Kim , ceph-devel@vger.kernel.org, Ilya Dryomov , OGAWA Hirofumi , Andreas Gruenbacher , gfs2@lists.linux.dev, Christian Brauner , Theodore Ts'o , Luis de Bethencourt , Joseph Qi , linux-erofs@lists.ozlabs.org, Jonathan Corbet , samba-technical@lists.samba.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, Steve French , Chuck Lever , Hongbo Li , Anna Schumaker , Jan Kara , linux-fsdevel@vger.kernel.org, Phillip Lougher , Andrew Morton , ntfs3@lists.linux.dev, David Woodhouse , David Laight , Trond Myklebust , Joel Becker Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On Mon, Jan 19, 2026 at 11:26:19AM -0500, Jeff Layton wrote: > + EXPORT_OP_STABLE_HANDLES - This filesystem provides filehandles that are > + stable across the lifetime of a file. This is a hard requirement for export > + via nfsd. Any filesystem that is eligible to be exported via nfsd must > + indicate this guarantee by setting this flag. Most disk-based filesystems > + can do this naturally. Pseudofilesystems that are for local reporting and > + control (e.g. kernfs, pidfs, nsfs) usually can't support this. Suggested rewording, taking some of the ideas from Dave Chinners earlier comments into account: EXPORT_OP_STABLE_HANDLES - This filesystem provides filehandles that are stable across the lifetime of a file. A file in this context is an instantiated inode reachable by one or more file names, or still open after the last name has been unlinked. Reuses of the same on-disk inode structure are considered new files and must provide different file handles from the previous incarnation. Most file systems designed to store user data naturally provide this capability. Pseudofilesystems that are for local reporting and control (e.g. kernfs, pidfs, nsfs) usually can't support this. This flags is a hard requirement for export via nfsd. Any filesystem that is eligible to be exported via nfsd must indicate this guarantee by setting this flag. _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel