nfsd_get_dir_deleg(9)
π nfsd_get_dir_deleg β like, the Kernel API Manual one, section 9, bestie β¨
okay so picture this: it's a manpage, right, and it's called nfsd_get_dir_deleg, and it lives in section 9 of the Kernel API Manual. that's the whole vibe. now let's get into it π«Ά
πΈ NAME πΈ
nfsd_get_dir_deleg β the one where we attempt to get a directory delegation. attempt!! it's giving "we're gonna try, no promises" energy π
β¨ SYNOPSIS β¨
struct nfs4_delegation * nfsd_get_dir_deleg (struct nfsd4_compound_state
*cstate , struct nfsd4_get_dir_delegation *gdd , struct nfsd_file *nf );
three args, one function pointer return, literally iconic. copy it exactly, don't @ me π
π ARGUMENTS π
cstateβ the compound state. that's it, that's the whole description, and honestly? she said what she said.gddβ theGET_DIR_DELEGATIONarg/resp structure. arg and resp, she does both, main character energy fr fr πnfβ annfsd_filethat's been opened on the directory. like, the actual file handle for the dir in question ποΈ
π¦ DESCRIPTION π¦
so you hand her a GET_DIR_DELEGATION request β that's gdd β and she will attempt to acquire a delegation on the directory that nf refers to. that's the mission. that's the whole plot. no cap β¨
lowkey note the word "attempt" bestie β this is a try, not a guarantee, and i will not be elaborating because the original didn't π
π SEE ALSO π
okay so this is the part where she name-drops literally everyone in the group chat. the kernel file is ./fs/nfsd/nfs4state.c, and the whole squad is:
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)nfsd_slot_shrinker_scan(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_update_cmtime_attr(9)
twenty references, all with the (9) suffix, all slaying in their own way. iykyk π
that's the whole page, bestie, you ate that π and real quick, the cute little sign-off the original had tucked at the bottom: this one comes from ./fs/nfsd, dated October 2026, and it's filed under nfsd_get_dir_deleg(9). bye bestie, go read some kernel source π§π
π¦ 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