__nfsd_file_cache_purge(9)
π
__nfsd_file_cache_purge(9) π
okay so this page is from the Kernel API Manual, and we're talking about __nfsd_file_cache_purge β yes bestie, we're doing kernel cache cleanup and it's lowkey iconic π«Ά
β¨ NAME β¨
__nfsd_file_cache_purge β clean out the cache for shutdown π
πΈ SYNOPSIS πΈ
void __nfsd_file_cache_purge (struct net *net );
π ARGUMENTS π
netβ the net-namespace whose cache we're shutting down, and yeah it may beNULLπ
π DESCRIPTION π
okay so __nfsd_file_cache_purge literally walks the nfsd_file cache and closes out any entries that match net β¨ if net is NULL, then it closes out everything β the whole cache, no cap π
this gets called when an nfsd instance is being shut down, and when the exports table is flushed π so it's very much the cleanup main character.
π¦ SEE ALSO π¦
the kernel file is ./fs/nfsd/filecache.c, and here are all the related besties:
nfsd_file_check_write_error(9)nfsd_file_put(9)nfsd_file_put_local(9)nfsd_file_file(9)nfsd_file_dispose_list_delayed(9)nfsd_file_net_dispose(9)nfsd_file_lru_cb(9)nfsd_file_cond_queue(9)nfsd_file_queue_for_close(9)nfsd_file_close_inode(9)nfsd_file_close_inode_sync(9)nfsd_file_close_export(9)nfsd_file_cache_purge(9)nfsd_file_is_cached(9)nfsd_file_acquire_gc(9)nfsd_file_acquire(9)nfsd_file_acquire_local(9)nfsd_file_acquire_opened(9)nfsd_file_acquire_dir(9)nfsd_fsnotify_recalc_mask(9)
cute sign-off tea β: this page came from ./fs/nfsd, dated October 2026, and the manual entry is __nfsd_file_cache_purge(9) β periodt π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms