nfsd_slot_shrinker_scan(9)
hiii bestie π welcome to nfsd_slot_shrinker_scan(9) from the Kernel API Manual β section 9, kernel edition, no cap β¨. This page is all about reclaiming DRC slots under memory pressure, and it's honestly a short little icon, so let's go π«Ά.
β¨ NAME β¨
nfsd_slot_shrinker_scan β reclaim DRC slots under memory pressure π
π«Ά SYNOPSIS π«Ά
okay so the signature is literally right here, bestie β copy it exactly, no edits:
unsigned long nfsd_slot_shrinker_scan (struct shrinker *s , struct
shrink_control *sc );
π ARGUMENTS π
sβ shrinker descriptor. It's unused here, so it's just vibing in the function signature π.scβ shrink control;sc->nr_to_scanbounds the sessions visited, andsc->nr_scannedreports how many were visited. The way this struct is doing the actual tracking is iconic π.
π RETURN π
The return value is the number of session slots NFSD will release. That's the count, periodt π.
π SEE ALSO π
Kernel file ./fs/nfsd/nfs4state.c is the home base, and these are the SEE ALSO cuties β all of them, no skips:
nfs4_delegation_exists(9)hash_delegation_locked(9)revoke_delegation(9)nfs4_replay_free_cache(9)nfsd4_revoke_states(9)nfsd4_revoke_export_states(9)nfsd_slot_shrinker_count(9)nfsd4_put_client(9)nfsd_wait_for_delegreturn(9)nfsd_breaker_owns_lease(9)nfsd4_deleg_lm_open_conflict(9)nfsd4_process_open2(9)nfsd4_force_end_grace(9)nfs4_preprocess_stateid_op(9)nfs4_preprocess_seqid_op(9)nfsd4_release_lockowner(9)nfsd4_vet_deleg_time(9)nfsd4_deleg_getattr_conflict(9)nfsd_get_dir_deleg(9)nfsd_update_cmtime_attr(9)
okay that's the whole page, bestie π«Ά sourced from ./fs/nfsd, page nfsd_slot_shrinker_scan(9), dated October 2026 β catch you in the next manpage, mwah πβ¨
π¦ 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