drbd_rs_cancel_all(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drbd_rs_cancel_all(9) β€” like, the whole kernel API manual vibe ✨

okay so bestie, welcome to the drbd_rs_cancel_all(9) page from the Kernel API Manual β€” yes it's a kernel-internals thing, no it's not scary, i promise 🫢 stay with me.


✨ NAME ✨

drbd_rs_cancel_all β€” ngl this one's a total cleanup queen: it removes all extents from the resync LRU β€” and the way that it does it even for BME_LOCKED ones?? iconic. no cap, it does not care about your locks, everything goes 😭πŸ”₯


🌸 SYNOPSIS 🌸

void drbd_rs_cancel_all (struct drbd_device *device );

that's it. that's the whole signature. void return, one arg, chef's kiss πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • device β€” the DRBD device. literally just the DRBD device πŸ’– that's the whole vibe check on this parameter.

πŸ‘‘ SEE ALSO πŸ‘‘

peep these, bestie, they're all in the kernel file ./drivers/block/drbd/drbd_actlog.c:

iykyk β€” if you're deep in the drbd actlog lore, you already know these are the main characters too 🌈⭐


lowkey reminder: this is the LRU-clearing one, and it does not spare the BME_LOCKED extents. it's giving "no survivors" energy πŸ’€ do with that info what you will, bestie.

and that's the page!! πŸŽ€ brought to you by ./drivers/block/drbd, dated October 2026 β€” slay, periodt, see u in the next manpage πŸ’œπŸ§šπŸŒ·

πŸ“¦ where this page comes from