From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 864843B1025 for ; Fri, 22 May 2026 13:24:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779456284; cv=none; b=Y9wBjRPL51m+Mm6hXlJ+l4ABZ0xj6JAezsL6dFXHziHuo/tRw+aqn2ibfmEHEZag2aABMMFf8jwZ9eUqH3jIeBj5G5zndVUrgsQmCoxZghH/9esQr7ZY8PZ8e2HQtkqE6O2D5T1rMY3vYxa75ViwMDq08vVLEUTnZDRxCCnHXLI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779456284; c=relaxed/simple; bh=S0TQlTS9Waa8R50WM3+GqCpY+opXgwoEVdhYPjKC2Mg=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=qDmgSO5joKqyNNJdX66YOIWNHomSrb3q+31w1/6qHOmm/sowmkveqHLxGFJW+eCdT7Ezj940v4Xfvf/+boNrLate2AMIcf1ZcDxLcg8PuCfmlWVqwPq1LxBO4oa2WeT+HYqfrf5Y87J0Srtga4zlvV18kJnf3DCWOLfLan36Qlw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IJ7GjmfQ; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IJ7GjmfQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCE111F000E9; Fri, 22 May 2026 13:24:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1779456282; bh=djYZO7B6j5qfNS44WlyM0vd6bnxsw4yR0MQCeW99vcQ=; h=Date:From:To:Cc:In-Reply-To:References:Subject; b=IJ7GjmfQxiYksrTt6Hl3/nRvGK+Qi3ACGJhjImBtJ77w+nNR7Htzhtb7uzM3qiZH+ 3QC5qg3tUM0KpVqlyg7rLslBKa9wNGoifpQvog5x1+FASI1PpaL1Sdp/OwOML30Cb8 sp5/I1Bo4NKP0JYG2v0O2d1bOmwQceDroHH906hhvm2+TeXvJWRhdtX6s4zWyE9rzp OMm52flYER0TYAPD2bxYDH+MQPzdVAkvq8UW7uCBj88d9E+FIO7/q/UVQCH+TnCrec AjZRPlhVBAkMPapjSQ+V3U5H86nmIw7w6//aoHlUngPmXZjfBjV/UGclfAo4ZNOBUu gxnBmxUtaVnKQ== Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfauth.phl.internal (Postfix) with ESMTP id E829BF40078; Fri, 22 May 2026 09:24:40 -0400 (EDT) Received: from phl-imap-15 ([10.202.2.104]) by phl-compute-10.internal (MEProxy); Fri, 22 May 2026 09:24:40 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdduhedtvdekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepofggfffhvfevkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedfvehhuhgt khcunfgvvhgvrhdfuceotggvlheskhgvrhhnvghlrdhorhhgqeenucggtffrrghtthgvrh hnpefhffekffeftdfgheeiveekudeuhfdvjedvfedvueduvdegleekgeetgfduhfefleen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegthhhutg hklhgvvhgvrhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqudeifeegleel leehledqfedvleekgeegvdefqdgtvghlpeepkhgvrhhnvghlrdhorhhgsehfrghsthhmrg hilhdrtghomhdpnhgspghrtghpthhtohepudejpdhmohguvgepshhmthhpohhuthdprhgt phhtthhopehnvghilhessghrohifnhdrnhgrmhgvpdhrtghpthhtoheprghlvgigrdgrrh hinhhgsehgmhgrihhlrdgtohhmpdhrtghpthhtoheprghmihhrjeefihhlsehgmhgrihhl rdgtohhmpdhrtghpthhtoheprghnnhgrsehkvghrnhgvlhdrohhrghdprhgtphhtthhope gsrhgruhhnvghrsehkvghrnhgvlhdrohhrghdprhgtphhtthhopehjlhgrhihtohhnsehk vghrnhgvlhdrohhrghdprhgtphhtthhopehtrhhonhgumhihsehkvghrnhgvlhdrohhrgh dprhgtphhtthhopegurghirdhnghhosehorhgrtghlvgdrtghomhdprhgtphhtthhopegt rghluhhmrdhmrggtkhgrhiesohhrrggtlhgvrdgtohhm X-ME-Proxy: Feedback-ID: ifa6e4810:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 9D081780070; Fri, 22 May 2026 09:24:40 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: AfCo-GjsFSDg Date: Fri, 22 May 2026 09:24:20 -0400 From: "Chuck Lever" To: "Jeff Layton" , "Chuck Lever" , NeilBrown , "Olga Kornievskaia" , "Dai Ngo" , "Tom Talpey" , "Trond Myklebust" , "Anna Schumaker" Cc: "Alexander Aring" , "Amir Goldstein" , "Jan Kara" , "Alexander Viro" , "Christian Brauner" , "Calum Mackay" , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-nfs@vger.kernel.org Message-Id: In-Reply-To: <20260522-dir-deleg-v4-20-2acb883ac6bc@kernel.org> References: <20260522-dir-deleg-v4-0-2acb883ac6bc@kernel.org> <20260522-dir-deleg-v4-20-2acb883ac6bc@kernel.org> Subject: Re: [PATCH v4 20/21] nfsd: track requested dir attributes Content-Type: text/plain Content-Transfer-Encoding: 7bit On Fri, May 22, 2026, at 8:29 AM, Jeff Layton wrote: > Track the union of requested and supported dir attributes in the > delegation, and only encode the attributes in that union when sending > add/remove/rename updates. Nit: The encode-time use of dl_notify_mask for NOTIFY4_CHANGE_DIR_ATTRS is wired up in 21/21. This patch adds only the tracking; the per-event encoder change lives in the subsequent patch. > Signed-off-by: Jeff Layton > --- > fs/nfsd/nfs4proc.c | 9 ++++++--- > fs/nfsd/nfs4state.c | 14 +++++++++++++- > fs/nfsd/state.h | 2 ++ > 3 files changed, 21 insertions(+), 4 deletions(-) -- Chuck Lever