nfsd4_vet_deleg_time(9)
β¨ nfsd4_vet_deleg_time β¨
ok so this is page nfsd4_vet_deleg_time(9) from the Kernel API Manual, and bestie it's literally the vibe-check function for delegated timestamps π
πΈ NAME πΈ
nfsd4_vet_deleg_time β the one that vets and sets the timespec when a delegated timestamp update comes through π
π¦ SYNOPSIS π¦
bool nfsd4_vet_deleg_time (struct timespec64 *req , const struct
timespec64 *orig , const struct timespec64 *now );
π ARGUMENTS π
reqβ the timestamp the client sent you, fr fr π¨origβ the original timestamp chillin' in the inodenowβ the current time, like, right now β°
π DESCRIPTION π
okay so picture this: you get a timestamp from the client response, and this function's whole job is to cross-check it against the current timestamp in the inode and against the current time. No cap, that's it. π
It returns true if the inode's timestamp actually needs to be updated, and false if it doesn't. Simple. Iconic. π«Ά
also β plot twist β req may also be changed if the timestamp needs to be clamped. so like, don't be surprised if it comes back a little different than it went in, bestie π
π SEE ALSO π
Kernel file ./fs/nfsd/nfs4state.c β plus this whole squad of related pages:
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_deleg_getattr_conflict(9)nfsd_get_dir_deleg(9)nfsd_update_cmtime_attr(9)
π reminder: this page lives under ./fs/nfsd and it's stamped October 2026. yes, the future. we stay ahead π
and that's the whole page, bestie β go forth and vet those timestamps π§β¨π
π¦ 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