gfs2_log_alloc_bio(9)
β¨ gfs2_log_alloc_bio(9) β aka "the bio-birthday function" β¨
okay so bestie, this one's from the Kernel API Manual and it's lowkey iconic β we're in the gfs2 family, ./fs/gfs2 girlies rise π«Ά
πΈ NAME πΈ
gfs2_log_alloc_bio β Allocate a bio π
π SYNOPSIS π
struct bio * gfs2_log_alloc_bio (struct gfs2_sbd *sdp , u64 blkno ,
bio_end_io_t *end_io , blk_opf_t opf );
π¦ ARGUMENTS π¦
sdpβ The super block. main character energy, honestly πblknoβ The device block number we want to write to. it's giving "destination: this block, no cap" π―end_ioβ Thebi_end_iocallback. the little "we're done here" moment πopfβREQ_OP | op_flags. yes, both. together. slay β¨
π DESCRIPTION π
Allocate a new bio, initialize it with the given parameters and return it. that's it, that's the whole vibe β born, initialized, handed back to you, fresh out of the wrapper π
π RETURN π
The newly allocated bio π« (not me handing you a whole bio and expecting you to be normal about it π)
β SEE ALSO β
- Kernel file
./fs/gfs2/lops.c gfs2_pin(9)gfs2_unpin(9)gfs2_end_log_write_bh(9)gfs2_end_log_write(9)gfs2_log_submit_write(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)
bestie the whole reading list is right there, go off and click through them, iykyk ππ₯
and that's the page, periodt π β it lives in ./fs/gfs2, dated October 2026, and it's the gfs2_log_alloc_bio(9) manual entry, so you literally cannot miss it. mwah, go allocate something π§π
π¦ 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