drbd_rs_del_all(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 ⭐

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