nfsd4_force_end_grace(9)
π nfsd4_force_end_grace β bestie's guide to the manual page
okay so real talk: this is nfsd4_force_end_grace(9), straight out of the Kernel API Manual, and it's lowkey iconic. sit down, grab a strawberry π, and let me tell you about the function that forcibly ends the NFSv4 grace period. yes, forcibly. main character energy fr fr.
β¨ NAME β¨
nfsd4_force_end_grace β forcibly end the NFSv4 grace period π
like, no waiting, no negotiating, the grace period is over. periodt.
π SYNOPSIS π
bool nfsd4_force_end_grace (struct nfsd_net *nn );
that's it. one argument, returns a bool. clean, simple, slay.
π¦ ARGUMENTS π¦
nnβ the network namespace for the server instance that's getting updated. your target. the one we're doing all this for. π«Ά
π₯ DESCRIPTION π₯
so here's the vibe check: this function forces a bypass of normal grace period completion, and then it schedules the laundromat to end the grace period immediately. iconic behaviour honestly.
the way that it does not wait for the grace period to fully terminate before returning? yeah. it schedules and dips. don't @ me. π
Return values β keep these straight, bestie:
trueβ grace termination was scheduled. we're so back. β¨falseβ no action was taken. nothing happened. it's giving "read at 4:47 PM". π
π SEE ALSO π
the Kernel file ./fs/nfsd/nfs4state.c, plus this whole friend group right here:
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)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)
ngl the sheer number of deleg-related manpages in that list is giving "the whole friend group showed up to the function's birthday party" π
and that's the page, bestie! π§ this one lives in ./fs/nfsd and it's dated October 2026 β so yeah, she's from the future, we stan a timeless queen. π
π¦ 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