drbd_rs_begin_io(9)
πΈ drbd_rs_begin_io(9) πΈ
okay so bestie, welcome to the Kernel API Manual β this one's a little kernel function called drbd_rs_begin_io, and it's literally the moment a resync extent gets pulled into the resync LRU cache and marked as BME_LOCKED. locked in, literally. π
β¨ NAME β¨
drbd_rs_begin_io β gets an extent in the resync LRU cache and sets it to BME_LOCKED. that's the whole vibe. it grabs the extent, it locks it, it's done. π
β¨ SYNOPSIS β¨
int drbd_rs_begin_io(struct drbd_device *device, sector_t sector);
β¨ ARGUMENTS β¨
deviceβ the DRBD device. your main character. π«Άsectorβ the sector number. the address of the drama, iykyk. π
β¨ DESCRIPTION β¨
so what actually happens? this function sleeps on al_wait. that's it, that's the tea. it goes night-night waiting on al_wait, no cap. π΄π€
β¨ RETURN β¨
0β success, we ate. πβ¨-EINTRβ interrupted. rude, honestly. π
β¨ SEE ALSO β¨
peep the kernel file ./drivers/block/drbd/drbd_actlog.c for the lore, plus these iconic siblings:
go read them, they're giving family reunion. π
ok that's the whole page bestie, no gatekeeping here β./drivers/block/drbd, dated October 2026, thedrbd_rs_begin_io(9)era. mwah ππ¦ stay hydrated and don't forget to check your return values π§π
π¦ 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