nfsd_reply_cache_scan(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 🌈


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