gfs2_should_freeze(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… gfs2_should_freeze(9) β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual page for gfs2_should_freeze(9). yes we're in the kernel, yes we're being cute about it, and yes it's still very serious business. ✨


🌸 NAME 🌸

gfs2_should_freeze β€” figure out if a glock should be frozen. that's it, that's the whole vibe check 🧊


✨ SYNOPSIS ✨

int gfs2_should_freeze (const struct gfs2_glock *gl );

πŸŽ€ ARGUMENTS πŸŽ€

  • gl β€” the glock in question πŸ’… like, the glock we're all here to gossip about.

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜•: glocks do NOT get frozen if any of these three little situations is happening. read them carefully bestie, there's only three:

  • (a) the result of the dlm operation is an error 😭
  • (b) the locking operation was an unlock operation πŸ”“
  • (c) there is a "recover" flagged request anywhere in the queue πŸ‘€ β€” anywhere!! not just up front, anywhere.

if none of those pop up, then yeah, freezing is on the table. slay.

ngl the "anywhere in the queue" part is the one people forget, so like… don't forget it. 🫢

πŸ‘‘ RETURN πŸ‘‘

  • 1 β†’ freezing should occur βœ…
  • 0 β†’ otherwise πŸ™ˆ

🌈 SEE ALSO 🌈

kernel file ./fs/gfs2/glock.c has the whole friend group, and honestly they're all icons:

like… forty whole functions. ate and left no crumbs πŸ’€πŸ“


and that's the whole page bestie!! πŸŽ‰ this little baddie lives in ./fs/gfs2 and was dated October 2026, filed under gfs2_should_freeze(9) β€” mwah, go freeze some glocks (or don't, per the rules above) πŸ’–πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from