gfs2_glock_holder_ready(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… gfs2_glock_holder_ready

okay so real talk, this is a page from the Kernel API Manual (gfs2_glock_holder_ready(9)), and honestly? she's lowkey iconic for how much she does with so little. let's get into it 🫢


🌸 NAME 🌸

gfs2_glock_holder_ready β€” bestie, the holder is ready and its error code can be collected ✨


πŸŽ€ SYNOPSIS πŸŽ€

int gfs2_glock_holder_ready (struct gfs2_holder *gh );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gh β€” the glock holder. that's her. that's the main character πŸ’…

πŸ’– DESCRIPTION πŸ’–

okay so here's the vibe: you call gfs2_glock_holder_ready when a glock holder no longer needs to be waited for. why? because one of two things happened, and both of them are a whole mood:

  • it's now held β€” meaning HIF_HOLDER is set, and gh_error == 0 😌✨
  • or acquiring the lock has failed β€” meaning gh_error != 0 πŸ’€

either way, the waiting is over, so go ahead and collect that error code, no cap 🧚


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, fr fr β€” kernel file ./fs/gfs2/glock.c plus:

wake_up_glock(9), gfs2_glock_hold(9), gfs2_glock_put(9), may_grant(9), do_error(9), find_first_holder(9), do_promote(9), find_first_waiter(9), find_last_waiter(9), state_change(9), finish_xmote(9), do_xmote(9), run_queue(9), glock_set_object(9), glock_clear_object(9), gfs2_glock_get(9), __gfs2_holder_init(9), gfs2_holder_reinit(9), gfs2_holder_uninit(9), gfs2_glock_wait(9), gfs2_glock_async_wait(9), request_demote(9), add_to_queue(9), gfs2_glock_nq(9), gfs2_glock_poll(9), gfs2_glock_dq(9), gfs2_glock_dq_uninit(9), gfs2_glock_nq_num(9), glock_compare(9), nq_m_sync(9), gfs2_glock_nq_m(9), gfs2_glock_dq_m(9), gfs2_should_freeze(9), gfs2_glock_complete(9), glock_hash_walk(9), thaw_glock(9), gfs2_glock_thaw(9), gfs2_wait_glocks(9), dump_holder(9), gfs2_dump_glock(9)


ngl, that's a lot of cross-references. read them all. iykyk πŸ’€πŸ“š

k bye bestie!! this one's sourced from ./fs/gfs2, dated October 2026, and that's the whole gfs2_glock_holder_ready(9) moment β€” slay, periodt, go collect your error codes responsibly πŸ’œπŸŽ€

πŸ“¦ where this page comes from