drbd_bm_mark_for_writeout(9)
π drbd_bm_mark_for_writeout(9) β like, the Kernel API Manual edition β¨
okay bestie, buckle up, because this one is a tiny little function from the drbd_bm_mark_for_writeout(9) page of the Kernel API Manual and it is lowkey iconic π
πΈ NAME πΈ
drbd_bm_mark_for_writeout β marks a page with a "hint" so it gets considered for writeout π
β¨ SYNOPSIS β¨
void drbd_bm_mark_for_writeout (struct drbd_device *device , int page_nr );
that's the whole signature, no cap. returns void, so it's giving "I do the thing and I don't even need to tell you about it" energy π
π¦ ARGUMENTS π¦
deviceβ the DRBD device. yes, that one. the main character π«Άpage_nrβ the bitmap page you're marking with the "hint" flag β
π DESCRIPTION π
okay so here's the vibe: from inside an activity log transaction, we mark a few pages with these hints. then we call drbd_bm_write_hinted, which will only write out changed pages that are flagged with this mark π₯
so likeβ¦ the hint isn't doing the writing, it's just the little sticky note that says "hey, maybe look at me later" and then drbd_bm_write_hinted does the actual vibe check β
no wasted writes, we love efficiency, periodt π
π SEE ALSO π
- Kernel file
./drivers/block/drbd/drbd_bitmap.cποΈ drbd_bm_write_lazy(9)π§
ok and one lil' note because I know you'd come for me: thatSEE ALSOreference really is literally spelleddrbd_bm_write_lazy(9)and the file really is literally./drivers/block/drbd/drbd_bitmap.cβ copy it exactly, don't get cute with it π
and that's the page, bestie!! mwah π this was written for the ./drivers/block/drbd section, dated October 2026, and it belongs to the drbd_bm_mark_for_writeout(9) page in the Kernel API Manual β go forth and mark those pages ππβ¨
π¦ 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