drbd_rs_del_all(9)
π drbd_rs_del_all π
okay so bestie, welcome to the Kernel API Manual β¨ β this little page is all about drbd_rs_del_all, bestie, and honestly it's giving cleanup era. πΈ
β¨ NAME β¨
drbd_rs_del_all β gracefully remove all extents from the resync LRU π§Ήπ
like, every single one. gracefully. we don't do chaotic deletions here, we do graceful ones. periodt. π
π SYNOPSIS π
int drbd_rs_del_all (struct drbd_device *device );
that's it, that's the whole vibe check. it takes a device and hands you back an int. simple, iconic, no notes. β¨
π¦ ARGUMENTS π¦
deviceβ DRBD device. that's the whole description bestie, the source material is literally just "DRBD device." and ngl we respect the brevity π
π₯ RETURN π₯
0β upon success π slay, it worked, all the extents are gone, main character energy confirmed.-EAGAINβ if at least one reference count was not zero π so like, something's still holding on. not a fail exactly, more of a "try again later" situation, iykyk. π«Ά
fr fr, keep an eye on those reference counts β if even one isn't zero, you're getting -EAGAIN back, no cap.
β SEE ALSO β
- Kernel file
./drivers/block/drbd/drbd_actlog.c drbd_al_shrink(9)drbd_rs_begin_io(9)drbd_try_rs_begin_io(9)drbd_rs_cancel_all(9)
go read the whole friend group bestie, they're all in their activity-log/resync bag and lowkey they all ate ππ
and that's the page! brought to you with love from the kernel file ./drivers/block/drbd, dated October 2026, and yes it's drbd_rs_del_all(9) the whole way through πβ¨ bye bestie, mwah ππ¦
π¦ 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