gfs2_glock_wait(9)
π gfs2_glock_wait(9) β the kernel api manual page you've been waiting for (see what I did there)
okay so bestie, welcome to the gfs2_glock_wait page from the Kernel API Manual β¨ this one is short and sweet, but she's important, so pay attention π«Ά
πΈ NAME πΈ
gfs2_glock_wait β literally just: wait on a glock acquisition. that's it. that's the whole vibe π
π¦ SYNOPSIS π¦
int gfs2_glock_wait (struct gfs2_holder *gh );
no cap, that's the entire signature π
π ARGUMENTS π
ghβ the glock holder. yes, that glock holder. she's the main character here π
π RETURN π
0 on success β¨ nothing more, nothing less. short king behavior fr fr.
π₯ SEE ALSO π₯
bestie there are so many friends on this list, and i want you to meet every single one of them π«Ά no skipping, we're not doing that π
this all lives in the kernel file ./fs/gfs2/glock.c, and the squad is:
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_holder_ready(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)
like i said. the whole group chat. iykyk π
and that's the page!! mwah π this one came from ./fs/gfs2, dated October 2026, and it's filed under gfs2_glock_wait(9) β go wait on a glock, bestie, you've got this πβ¨
π¦ 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