gfs2_jdata_writepages(9)
β¨ gfs2_jdata_writepages(9) β¨
okay bestie so this is a page from the Kernel API Manual β yes, the kernel has its own manual, and yes, we're reading it for fun now π
π NAME π
gfs2_jdata_writepages β write a bunch of dirty pages back to disk πΎβ¨
Like, a bunch. Plural. We're not out here doing one page at a time, that's not the vibe.
πΈ SYNOPSIS πΈ
int gfs2_jdata_writepages (struct address_space *mapping , struct
writeback_control *wbc );
She takes two pointers and returns an int, no cap. π«Ά
π¦ ARGUMENTS π¦
mappingβ the mapping to write. this is the thing you're flushing, bestie β struct address_space energy.wbcβ the writeback control. the little control panel that tells the whole operation how to behave ποΈ
π SEE ALSO π
Kernel file ./fs/gfs2/aops.c β go read the source, iykyk π
gfs2_get_block_noalloc(9)gfs2_write_jdata_folio(9)__gfs2_jdata_write_folio(9)gfs2_jdata_writeback(9)gfs2_writepages(9)gfs2_write_jdata_batch(9)gfs2_write_cache_jdata(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)
that's the whole friend group right there, no cap π
ngl bestie, this page is short β the synopsis is the whole story. but every flag and every reference is here, so we ate and left no crumbs π
and that's a wrap! this one lives under ./fs/gfs2 and it's dated October 2026 β so mark your calendar, bestie, the kernel was feeling β¨futuristicβ¨ when it stamped this one ππ«Ά until next page! π
π¦ 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