gfs2_unstuffer_folio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ gfs2_unstuffer_folio(9) ✨

okay bestie, buckle up πŸ’– this one's from the Kernel API Manual and it's all about unstuffer-ing a stuffed inode and shoving it into a block that's cached by a folio. it's giving "un-cramming your overstuffed carry-on at the gate" energy, and honestly? iconic. πŸŽ€


🌸 NAME 🌸

gfs2_unstuffer_folio β€” unstuff a stuffed inode into a block cached by a folio ✨

like, the inode was stuffed (all its data crammed inline, no cap), and now we're getting it out of there and into a real block that a folio has cached. the glow-up is real. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int gfs2_unstuffer_folio (struct gfs2_inode *ip , struct buffer_head
*dibh , u64 block , struct folio *folio );

that signature is exactly as it appears in the original β€” don't come for me about the line break, that's canon. 🌈


🫢 ARGUMENTS 🫢

  • ip β€” the inode πŸ’œ like, the whole main character of this operation
  • dibh β€” the dinode buffer (dibh = dinode buffer head, iykyk)
  • block β€” the block number that was allocated πŸ‘‘ this is where the un-stuffing is headed
  • folio β€” The folio. πŸ“ that's it. that's the description. she needs no further introduction.

⭐ RETURN ⭐

errno β€” yes, just errno. return vibes: error-number flavored. 😭


🧚 SEE ALSO 🧚

the Kernel file ./fs/gfs2/bmap.c and its whole friend group β€” literally the entire bmap.c squad, all here, all slaying:

fr fr, that's the whole list β€” i didn't drop a single one, because dropping references is not the move. πŸ™ˆ

okay that's the page!! source and version tea: this one lives under ./fs/gfs2, dated October 2026, and it's the gfs2_unstuffer_folio(9) page β€” periodt. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«ΆπŸ˜­πŸ”₯πŸ‘‘πŸŒˆβ­πŸ’€πŸ“πŸ§šπŸ’œ

πŸ“¦ where this page comes from