nfsd_reply_cache_scan(9)
okay bestie, welcome to the Kernel API Manual β the icon of the hour is nfsd_reply_cache_scan(9) π
β¨
πΈ NAME πΈ
nfsd_reply_cache_scan β the scan_objects method for the DRC shrinker π§Ήπ
β¨ SYNOPSIS β¨
unsigned long nfsd_reply_cache_scan (struct shrinker *shrink , struct
shrink_control *sc );
π ARGUMENTS π
shrinkβ our registered shrinker context. literally our own little shrinker passport π«Άscβ garbage collection parameters. the vibe-check settings for GC ποΈβ¨
π¦ DESCRIPTION π¦
okay so the job is: free expired entries on each bucket's LRU list until we've released nr_to_scan freed objects. that's the whole mission π
nothing gets released if the cache has not exceeded its max_drc_entries limit β like, the cache has to actually be over the limit before this starts letting things go π«π¦
Returns the number of entries released by this call. that's the receipt π§Ύβ¨
π SEE ALSO π
- Kernel file
./fs/nfsd/nfscache.cπ nfsd_reply_cache_count(9)nfsd_cache_csum(9)nfsd_cache_lookup(9)nfsd_cache_update(9)
okay bye bestie π cute sign-off: this page is from source/version ./fs/nfsd, dated October 2026, and it's nfsd_reply_cache_scan(9) in the Kernel API Manual. slay and stay hydrated π«Άβ¨
π¦ 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