gfs2_pin(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– gfs2_pin(9) πŸ’–

okay so bestie, welcome to gfs2_pin(9) β€” yes, straight from the Kernel API Manual πŸ’… this one is short but iconic, so let's get into it.


🌸 NAME 🌸

gfs2_pin β€” Pin a buffer in memory πŸŽ€

✨ SYNOPSIS ✨

void gfs2_pin (struct gfs2_sbd *sdp , struct buffer_head *bh );

πŸŽ€ ARGUMENTS πŸŽ€

  • sdp β€” The superblock πŸ‘‘ that's the main-character superblock right there.
  • bh β€” The buffer to be pinned 🫢 literally the buffer getting pinned, no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the one thing you cannot skip: the log lock must be held when calling this function. That's the whole vibe check, bestie. Log lock not held? Then don't call it. Periodt. πŸ’€

⚠️ caveat queen: the log lock must be held when calling this function β€” fr fr, don't forget.

πŸ’… SEE ALSO πŸ’…

Kernel file: ./fs/gfs2/lops.c β€” and these adjacent besties are all here too:


catch you later, bestie πŸ’– this page came from ./fs/gfs2, dated October 2026, and it's gfs2_pin(9) signing off β€” slay βœ¨πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from