gfs2_end_log_write(9)
π« gfs2_end_log_write(9) π«
okay so bestie, welcome to the gfs2_end_log_write(9) page β it lives in the Kernel API Manual and it's literally all about wrapping up i/o to the log. yes, that log. the gfs2 one. we're in the kernel, we're doing kernel things, and it's giving very much "last one out turns off the lights" energy. π
β¨ NAME β¨
gfs2_end_log_write β end of i/o to the log π«Ά
πΈ SYNOPSIS πΈ
void gfs2_end_log_write (struct bio *bio );
π¦ ARGUMENTS π¦
bioβ The bio π (yes bestie, that's the whole description, it's short and iconic and we respect it)
π DESCRIPTION π
okay so here's the vibe: each bio_vec contains either data from the pagecache or data relating to the log itself. two kinds of data, one array, no cap. π§
so what we do here is iterate over the bio_vec array and process both kinds of data. that's it, that's the function, and honestly? she ate. π₯
π SEE ALSO π
Kernel file ./fs/gfs2/lops.c β go read her, she's the main character fr fr πβ¨
gfs2_pin(9)gfs2_unpin(9)gfs2_end_log_write_bh(9)gfs2_log_submit_write(9)gfs2_log_alloc_bio(9)gfs2_log_get_bio(9)gfs2_log_write(9)gfs2_log_write_bh(9)gfs2_log_write_page(9)gfs2_end_log_read(9)gfs2_jhead_folio_search(9)gfs2_jhead_process_page(9)gfs2_find_jhead(9)databuf_lo_before_commit(9)
aaaand that's the whole page, bestie, you understood it perfectly, i'm so proud of you π₯Ήπ
cute little sign-off: this one comes from the source tree at ./fs/gfs2 and it's dated October 2026 β so like, future manpage, very ahead of its time, we stan. bye pookie, go process some bio_vecs ππ¦π·
π¦ 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