Linux NFS development
 help / color / mirror / Atom feed
* [PATCH] nfsd: update comment over __nfsd_file_cache_purge
@ 2023-01-26 17:21 Jeff Layton
  2023-01-26 21:32 ` Chuck Lever III
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Layton @ 2023-01-26 17:21 UTC (permalink / raw)
  To: chuck.lever; +Cc: linux-nfs

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
 fs/nfsd/filecache.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fs/nfsd/filecache.c b/fs/nfsd/filecache.c
index 348ef543c4dc..e232937fea8e 100644
--- a/fs/nfsd/filecache.c
+++ b/fs/nfsd/filecache.c
@@ -808,7 +808,8 @@ nfsd_file_cache_init(void)
  * @net: net-namespace to shut down the cache (may be NULL)
  *
  * Walk the nfsd_file cache and close out any that match @net. If @net is NULL,
- * then close out everything. Called when an nfsd instance is being shut down.
+ * then close out everything. Called when an nfsd instance is being shut down,
+ * and when the exports table is flushed.
  */
 static void
 __nfsd_file_cache_purge(struct net *net)
-- 
2.39.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] nfsd: update comment over __nfsd_file_cache_purge
  2023-01-26 17:21 [PATCH] nfsd: update comment over __nfsd_file_cache_purge Jeff Layton
@ 2023-01-26 21:32 ` Chuck Lever III
  0 siblings, 0 replies; 2+ messages in thread
From: Chuck Lever III @ 2023-01-26 21:32 UTC (permalink / raw)
  To: Jeff Layton; +Cc: Linux NFS Mailing List



> On Jan 26, 2023, at 12:21 PM, Jeff Layton <jlayton@kernel.org> wrote:
> 
> Signed-off-by: Jeff Layton <jlayton@kernel.org>

Applied and pushed to topic-filecache-cleanups. Thanks!

That branch now includes nfsd_file_cond_queue(). Can you check
to see that I merged it appropriately?


> ---
> fs/nfsd/filecache.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/fs/nfsd/filecache.c b/fs/nfsd/filecache.c
> index 348ef543c4dc..e232937fea8e 100644
> --- a/fs/nfsd/filecache.c
> +++ b/fs/nfsd/filecache.c
> @@ -808,7 +808,8 @@ nfsd_file_cache_init(void)
>  * @net: net-namespace to shut down the cache (may be NULL)
>  *
>  * Walk the nfsd_file cache and close out any that match @net. If @net is NULL,
> - * then close out everything. Called when an nfsd instance is being shut down.
> + * then close out everything. Called when an nfsd instance is being shut down,
> + * and when the exports table is flushed.
>  */
> static void
> __nfsd_file_cache_purge(struct net *net)
> -- 
> 2.39.1
> 

--
Chuck Lever




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-26 21:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-26 17:21 [PATCH] nfsd: update comment over __nfsd_file_cache_purge Jeff Layton
2023-01-26 21:32 ` Chuck Lever III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox