Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC16FF9C0 for ; Sun, 22 Feb 2026 17:53:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771782816; cv=none; b=rrBP37xXeyK20cDfl6k05Fo9TLdny+rRVjc0mL4/E02baadN4tgKml7a36EB4qWoeH1dnhxAp2agrWs3Zll3U8VUgenZ6BZNcHNuVBA39Do4Kemy1wOd95r/LF3mHfAA4tuMvtVsb2BB/BkKZEJmK449h/YMXQ266JL+cGMerRU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771782816; c=relaxed/simple; bh=oLyeAfryiImeAdfOjyARYanN/L1iEqBAaO1aiDO5AdA=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=lIXGuX9MG2Tv+SGORg1YPw7F4EYH4Pi8YYMBt7qxJc3LpY6VvWDpvHN8loqJmJfBaDZS+kmTw77ZQ/sk6Qxfg0T2urcSJ/yduR1whuGIKDP00jFI0jZmy0PnsH+hNrVFi5xHHZBh0mvgx8VOcDBLdfnwEh++quO+R04nJ1ojrPI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oI/L9AXW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oI/L9AXW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24D3BC116D0; Sun, 22 Feb 2026 17:53:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771782816; bh=oLyeAfryiImeAdfOjyARYanN/L1iEqBAaO1aiDO5AdA=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=oI/L9AXWIPf7ArIQMI/e4+/yp9YjwEr4u+PrR5osfd+TEwJV2cZm7psm8f3QBbxIs MrOfYetDN3huEokAH9l3F5PYJiA8kAxJ9r7zQLO1nsGCYZAemexP8N69tckVGvMtgx 52MWC4XhqpsFLhD5iM6IBzQ1Ivh02oH4ijkiF7iQXAYUEELAZagwvQ9tRT0G2Vk7II BR5qfL8Xfg3WPNuC7zocCfV7ZMgFgROE9IYkDgZKXOaTC0EGie3Q5PSQ1gZAh2Saml 9GMhXVq9g9WFS33y0NxS2iSAVWtru5QkXgY/4zUMtl27DHIjr/zBbao59wj3bylVaI oporCfrRS2kJA== Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfauth.phl.internal (Postfix) with ESMTP id 07457F40069; Sun, 22 Feb 2026 12:53:35 -0500 (EST) Received: from phl-imap-15 ([10.202.2.104]) by phl-compute-10.internal (MEProxy); Sun, 22 Feb 2026 12:53:35 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvfeegleeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepofggfffhvfevkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedfvehhuhgt khcunfgvvhgvrhdfuceotggvlheskhgvrhhnvghlrdhorhhgqeenucggtffrrghtthgvrh hnpefhffekffeftdfgheeiveekudeuhfdvjedvfedvueduvdegleekgeetgfduhfefleen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegthhhutg hklhgvvhgvrhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqudeifeegleel leehledqfedvleekgeegvdefqdgtvghlpeepkhgvrhhnvghlrdhorhhgsehfrghsthhmrg hilhdrtghomhdpnhgspghrtghpthhtohepiedpmhhouggvpehsmhhtphhouhhtpdhrtghp thhtohepthhrohhnugdrmhihkhhlvggsuhhstheshhgrmhhmvghrshhprggtvgdrtghomh dprhgtphhtthhopehjlhgrhihtohhnsehkvghrnhgvlhdrohhrghdprhgtphhtthhopehs nhhithiivghrsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegrnhhnrgdrshgthhhumh grkhgvrhesohhrrggtlhgvrdgtohhmpdhrtghpthhtoheptghhuhgtkhdrlhgvvhgvrhes ohhrrggtlhgvrdgtohhmpdhrtghpthhtoheplhhinhhugidqnhhfshesvhhgvghrrdhkvg hrnhgvlhdrohhrgh X-ME-Proxy: Feedback-ID: ifa6e4810:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id CF7DA780077; Sun, 22 Feb 2026 12:53:34 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: AlLi9g6u_Xmg Date: Sun, 22 Feb 2026 12:53:14 -0500 From: "Chuck Lever" To: "Mike Snitzer" , "Chuck Lever" , "Jeff Layton" , "Trond Myklebust" , "Anna Schumaker" Cc: linux-nfs@vger.kernel.org Message-Id: In-Reply-To: <20260219221352.40554-1-snitzer@kernel.org> References: <20260219221352.40554-1-snitzer@kernel.org> Subject: Re: [RFC PATCH 00/11] NFS/NFSD: nfs4_acl passthru for NFSv4 reexport Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, Feb 19, 2026, at 5:13 PM, Mike Snitzer wrote: > Hi, > > This patchset aims to enable NFS v4.1 ACLs to be fully supported from > an NFS v4.1 client to an NFSD v4.1 export that reexports NFS v4.2 > filesystem which has full support for NFS v4.1 ACLs (DACL and SACL). > > The first 6 patches focus on nfs4_acl passthru enablement (primarily > for NFSD), patch 7 adds 4.1 nfs4_acl passthru support (DACL and SACL), > patch 8 optimizes particular nfs4_acl passthru implementation in NFSD > to skip memcpy if nfs4_acl passthru isn't needed, patches 9-11 offer > the corresponding required NFSv4 client changes. > > This work is based on the NFS and NFSD code that has been merged > during the 7.0 merge window. Hey Mike, do you have a particular commit hash on which this series applies? I've tried Torvalds master and nfsd-testing, and patch 3/11 fails to apply to either of them. > This patchset is marked as RFC because I expect there will be > suggestions for possible NFSD implementation improvements. I think I understand the purpose of the series, and agree there is an issue here. It doesn't look intractable to resolve. Wondering, though, if plumbing .setacl and .getacl through the export ops is the right way to go. These seem like inode ops to me, not export ops. Shouldn't they work like an inode's existing POSIX ACL ops? Second, I see this in one of the patch descriptions: "This 4.1 DACL and SACL support is confined to NFSD's NFS reexport case (e.g. when NFSD 4.1 reexports NFS 4.2)." It made me wonder -- is re-exporting NFSv4.2 on an NFSv4.1 mount the only configuration that we want NFSD to support? I would think that any combination of NFSv4 minor versions could be supported. And if only a few combinations can be supported, the cover letter or Documentation/ should explain why. But really, I expect any file system type might be able to implement NFSv4 ACLs (eg, ZFS does, but it's out-of-tree). I would like to think about this in terms of "native file system NFSv4 ACL support" rather than "NFSD pass through". So, the NFS client's NFSv4 inodes have it, and this series doesn't need to add it anywhere else for now. -- Chuck Lever