do_xmote(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, meet do_xmote(9) β€” this page is from the Kernel API Manual, and we’re folding that manual-name detail in right here near the top instead of copying the header line, because we’re iconic like that. do_xmote calls the DLM to change the state of a lock. That’s the assignment: DLM lock-state change realness, periodt.

🌸 SYNOPSIS 🌸

the function signature is giving exactly this, no edits, no vibes-based renaming:

void do_xmote (struct gfs2_glock *gl , struct gfs2_holder *gh , unsigned
int target , bool may_cancel );

πŸŽ€ ARGUMENTS πŸŽ€

  • gl β€” the lock state, bestie. That’s the lock whose state is getting the DLM treatment.
  • gh β€” the holder, and heads up: only for promotes, iykyk.
  • target β€” the target lock state. The state we’re aiming for.
  • may_cancel β€” Operation may be canceled. Yes, cancellation is allowed here.

πŸ¦‹ SEE ALSO πŸ¦‹

the Kernel file is ./fs/gfs2/glock.c, and the whole reference lineup is here β€” every single one, no skips:


πŸŽ€ final cute sign-off: source/version is ./fs/gfs2, the date is October 2026, and this page is do_xmote(9) from the Kernel API Manual. slay, go forth and xmote responsibly πŸ’…πŸ’–

πŸ“¦ where this page comes from