gfs2_unstuffer_folio(9)
β¨ 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 operationdibhβ the dinode buffer (dibh= dinode buffer head, iykyk)blockβ the block number that was allocated π this is where the un-stuffing is headedfolioβ 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:
gfs2_unstuff_dinode(9)find_metapath(9)metaptr1(9)metapointer(9)lookup_metapath(9)fillup_metapath(9)gfs2_extent_length(9)gfs2_hole_size(9)__gfs2_iomap_alloc(9)gfs2_alloc_size(9)__gfs2_iomap_get(9)gfs2_block_map(9)gfs2_journaled_truncate(9)sweep_bh_for_rgrps(9)find_nonnull_ptr(9)punch_hole(9)do_shrink(9)do_grow(9)gfs2_setattr_size(9)gfs2_free_journal_extents(9)gfs2_add_jextent(9)gfs2_map_journal_extents(9)gfs2_write_alloc_required(9)
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
- 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