nfs_post_op_...de_force_wcc(9)
π nfs_post_op_...de_force_wcc(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for nfs_post_op_...de_force_wcc(9) and honestly? it's a little baddie with a big job. buckle up π
πΈ NAME πΈ
nfs_post_op_update_inode_force_wcc β the function that literally tries to update the inode attribute cache π (yes, "tries" β she's doing her best, okay?!)
β¨ SYNOPSIS β¨
int nfs_post_op_update_inode_force_wcc (struct inode *inode , struct
nfs_fattr *fattr );
like, she takes two pointers and she returns an int. that's the whole vibe check. π¦
π«Ά ARGUMENTS π«Ά
inodeβ pointer to inode. the main character, lowkey. πfattrβ updated attributes. the glow-up data she's gonna work with. β¨
π DESCRIPTION π
so here's the tea, bestie π β after an operation that has changed the inode metadata, this function marks the attribute cache as being invalid, and then tries to update it. the way that it just... invalidates first and asks questions later π
and then! it fakes up weak cache consistency data, but only if none exist. no cap, that's literally what it does β fake it till you make it energy π§
this function is mainly designed to be used by the ->write_done functions. so if you're not in that lane, bestie, maybe she's not for you π
π₯ SEE ALSO π₯
kernel file ./fs/nfs/inode.c π and also these iconic siblings:
nfs_sync_mapping(9)nfs_vmtruncate(9)nfs_setattr_update_inode(9)nfs_close_context(9)nfs_revalidate_inode(9)nfs_clear_invalid_mapping(9)nfs_revalidate_mapping(9)nfs_check_inode_attributes(9)nfs_fattr_set_barrier(9)nfs_inode_attrs_cmp_generic(9)nfs_inode_attrs_cmp_monotonic(9)nfs_inode_attrs_cmp_strict_monotonic(9)nfs_inode_attrs_cmp(9)nfs_inode_finish_partial_attr_update(9)nfs_refresh_inode(9)nfs_post_op_update_inode(9)nfs_post_op_update_inode_force_wcc_locked(9)
alright bestie, that's the whole page β and as a lil sign-off π this one lives over in ./fs/nfs and it's dated October 2026, so like, future vibes only. periodt. ππ
π¦ 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