nfs_force_lookup_revalidate(9)
okay bestie, welcome to nfs_force_lookup_revalidate(9) from the Kernel API Manual β this is the page that's literally about telling NFS βbestie, the directory changedβ π
β¨
π NAME π
nfs_force_lookup_revalidate β Mark the directory as having changed π
πΈ SYNOPSIS πΈ
void nfs_force_lookup_revalidate (struct inode *dir );
π¦ ARGUMENTS π¦
dirβ pointer to directory inode. That's the whole vibe: you hand it the directory inode and it does its thing π«Ά
β¨ DESCRIPTION β¨
So here's the tea: this function forces the revalidation code in nfs_lookup_revalidate to do a full lookup on all child dentries of dir whenever a change occurs on the server that might have invalidated our dcache. It's giving βserver said something shifted, so we gotta double-check the whole friend groupβ π₯
Also important, no cap: bit '0' is reserved as a tag to let us know when a dentry was revalidated while holding a delegation on its inode. Iconic little bookkeeping moment π
The caller should be holding dir->i_lock β fr fr, hold the lock before you call this, bestie π
π SEE ALSO π
- Kernel file
./fs/nfs/dir.c nfs_verify_change_attribute(9)nfs_set_verifier(9)nfs_clear_verifier_delegated(9)
cute sign-off: source/version ./fs/nfs, date October 2026, page nfs_force_lookup_revalidate(9) β k bye bestie, go revalidate those dentries πβ¨
π¦ 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