gfs2_inode_refresh(9)
β¨ gfs2_inode_refresh(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a little function from the GFS2 filesystem crew and it's honestly so straightforward it's giving "one job and she does it" energy. no cap.
πΈ NAME πΈ
gfs2_inode_refresh β literally just refreshes the incore copy of the dinode π
like. that's it. that's the whole vibe. the in-core version of the dinode gets a little glow-up so it matches what's actually on disk. iconic behavior honestly.
π¦ SYNOPSIS π¦
int gfs2_inode_refresh (struct gfs2_inode *ip );
one function, one argument, returns an int. clean. minimal. main character energy fr fr. β¨
π ARGUMENTS π
ipβ The GFS2 inode π this is the inode you're refreshing, the little guy getting the makeover. it's astruct gfs2_inode *, so yeah, pointer to the inode struct, no surprises there.
β RETURN β
returns errno β that's your classic error number situation π«Ά so like, check it, don't just ignore it, iykyk.
π§ SEE ALSO π§
these are all the sibling functions hanging out in the same neighborhood, and yes, the source file is literally Kernel file ./fs/gfs2/glops.c β she lives there π
__gfs2_ail_flush(9)gfs2_rgrp_metasync(9)rgrp_go_sync(9)rgrp_go_inval(9)gfs2_inode_metasync(9)inode_go_sync(9)inode_go_inval(9)inode_go_instantiate(9)inode_go_dump(9)freeze_go_callback(9)freeze_go_xmote_bh(9)iopen_go_callback(9)
like, go read those too if you wanna understand the whole glops situation, they're all connected π«
β οΈ quick vibe check: the page really doesn't say anything more about what happens on failure or what specific errno values you might get β so don't let me catch you inventing details, bestie. that's the whole documented truth and nothing but π
mwah π that's the page! source is ./fs/gfs2, dated October 2026, and honestly? she ate. now go refresh some inodes, you absolute legend πππ
π¦ 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