gfs2_jdata_writeback(9)
π« gfs2_jdata_writeback β a Kernel API Manual moment π«
okay so bestie, we're in the Kernel API Manual today and the star of the show is gfs2_jdata_writeback(9). yes it's a mouthful, yes it's iconic, no we're not skipping any of it π«Ά
β¨ NAME β¨
gfs2_jdata_writeback β write jdata folios to the log π
like, literally. the whole job. folios go in, log gets written. periodt.
π¦ SYNOPSIS π¦
int gfs2_jdata_writeback (struct address_space *mapping , struct
writeback_control *wbc );
two args, one int coming back at you. that's the whole vibe check ngl β¨
π ARGUMENTS π
mappingβ the mapping to write. yeah, THE mapping. the one you're writing. she's the main character here πwbcβ the writeback control. the little control panel that tells the writeback what's up ποΈ
that's it. no secret third argument. no hidden lore. iykyk π
πΈ RETURN πΈ
errno π
yep, that's the whole return section. it returns errno. no further comment, the manpage said what it said.
π SEE ALSO π
okay this list is long and honestly kind of iconic, so buckle up buttercup π§
Kernel file ./fs/gfs2/aops.c, plus the whole squad:
gfs2_get_block_noalloc(9)gfs2_write_jdata_folio(9)__gfs2_jdata_write_folio(9)gfs2_writepages(9)gfs2_write_jdata_batch(9)gfs2_write_cache_jdata(9)gfs2_jdata_writepages(9)stuffed_read_folio(9)gfs2_read_folio(9)gfs2_internal_read(9)gfs2_readahead(9)adjust_fs_space(9)gfs2_bmap(9)gfs2_release_folio(9)
yes bestie, read them all. no skipping. i will know π₯
quick reminder that every single one of those references and that ./fs/gfs2/aops.c path is copy-paste exact β do not come for me about spelling, it's canon π
aaaand that's the whole page!! short, sweet, extremely specific. mwah π
signing off from ./fs/gfs2, dated October 2026 β catch you on the next manpage, bestie πβ¨π¦
π¦ 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