iopen_go_callback(9)
π« iopen_go_callback(9) π«
okay bestie, welcome to the Kernel API Manual β this one's a lil function from the GFS2 filesystem world, and it's literally about queuing up a dcache entry for deletion. no cap. let's get into it π«Ά
β¨ NAME β¨
iopen_go_callback β schedule the dcache entry for the inode to be deleted. that's it, that's the whole job. it's giving cleanup crew energy π§Ήβ¨
πΈ SYNOPSIS πΈ
void iopen_go_callback (struct gfs2_glock *gl , bool remote );
yeah she takes two things and returns nothing. void queen, we stan a function that doesn't need to give anything back π
π ARGUMENTS π
glβ the glock π (that's the fancy GFS2 lock object, and yes we're just passing her along)remoteβ this one's abool, and it'strueif this came from a different cluster node π like, someone else in the cluster sent this over, not your local machine, iykyk
π¦ DESCRIPTION π¦
okay so here's the one (1) thing you gotta know: the gl_lockref.lock lock is held while calling this. that's the vibe check for this whole function, fr fr π₯
lowkey important: that lock is held when this gets called β it's not something you grab yourself, it's already yours when you're in here. don't go acting brand new about it π
π SEE ALSO π
like, go read these next, bestie β they're all hanging out in the kernel file ./fs/gfs2/glops.c:
__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)gfs2_inode_refresh(9)inode_go_instantiate(9)inode_go_dump(9)freeze_go_callback(9)freeze_go_xmote_bh(9)
πΈ mwah π this came from the source tree at ./fs/gfs2, dated October 2026 β main character documentation energy, periodt. go forth and schedule those dcache entries for deletion, icon πβ¨
π¦ 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