gfs2_write_cache_jdata(9)
π NAME π
gfs2_write_cache_jdata β Like write_cache_pages but different π
Okay bestie, welcome to the gfs2_write_cache_jdata(9) page from the Kernel API Manual β¨
β¨ SYNOPSIS β¨
int gfs2_write_cache_jdata (struct address_space *mapping , struct writeback_control *wbc );
π ARGUMENTS π
mappingβ the mapping to write π«Άwbcβ the writeback control πΈ
π¦ DESCRIPTION π¦
So the whole reason we use our own function here instead of just coasting on the generic one is that we need to start transactions before we grab page locks. Thatβs literally what lets us get the ordering right. periodt. π
π SEE ALSO π
- Kernel file:
./fs/gfs2/aops.cβ yes, thatβs the spot π§ 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_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)
xoxo, from gfs2_write_cache_jdata(9) living in source/version ./fs/gfs2, dated October 2026 πβ¨
π¦ 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