inode_go_inval(9)
π inode_go_inval π
okay so bestie, this is inode_go_inval from the Kernel API Manual β and it's giving βprepare the glock, we're wrapping upβ energy. no cap, let's go π
πΈ NAME πΈ
inode_go_inval β prepare an inode glock to be released. like, get that glock ready to be let go π
β¨
π¦ SYNOPSIS π¦
void inode_go_inval (struct gfs2_glock *gl , int flags );
π ARGUMENTS π
glβ the glock πflagsβ the original page doesn't spell this one out, bestie, so I'm not gonna invent lore π
β¨ DESCRIPTION β¨
so normally? we invalidate everything β all of it, no crumbs π
but there's a little exception, and it's lowkey iconic: if we are moving into LM_ST_DEFERRED from LM_ST_SHARED or LM_ST_EXCLUSIVE, then we can keep hold of the metadata, since it won't have changed. periodt π«Ά
bestie, that's the whole vibe: invalidation usually goes brrr, but that one state move gets to keep the metadata because it hasn't changed. π§
π SEE ALSO π
the Kernel file is ./fs/gfs2/glops.c, and the whole squad is:
__gfs2_ail_flush(9)gfs2_rgrp_metasync(9)rgrp_go_sync(9)rgrp_go_inval(9)gfs2_inode_metasync(9)inode_go_sync(9)gfs2_inode_refresh(9)inode_go_instantiate(9)inode_go_dump(9)freeze_go_callback(9)freeze_go_xmote_bh(9)iopen_go_callback(9)
mwah π sign-off time: source is ./fs/gfs2, the date line is October 2026, and the page is inode_go_inval(9) β catch u in the kernel docs, bestie π«Άππ
π¦ 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