gfs2_dir_hash_inval(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual ✨ today's main character is gfs2_dir_hash_inval(9), and she's short but she has rules. πŸŽ€


✨ NAME ✨

gfs2_dir_hash_inval - Invalidate dir hash


🌸 SYNOPSIS 🌸

void gfs2_dir_hash_inval (struct gfs2_inode *ip );

πŸ’… ARGUMENTS πŸ’…

  • ip β€” the directory inode. that's the one this whole little function is about, bestie. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this is a tiny function but the rule is very real: Must be called with an exclusive glock, or during glock invalidation. no cap, that's the whole vibe check. πŸ”₯

technical bestie warning: don't just call this however you want β€” it needs an exclusive glock, or it needs to be happening during glock invalidation. periodt. πŸ’…

πŸŽ€ SEE ALSO πŸŽ€

the whole friend group, iykyk:


that's the whole page, bestie β€” footer says sourced from ./fs/gfs2, dated October 2026, and yes she's still gfs2_dir_hash_inval(9) from the Kernel API Manual. mwah πŸ’‹πŸŒ·

πŸ“¦ where this page comes from