[PATCH 0/4] drbd: assorted fixes for discard limits, bitmap IO and resize
From: Christoph Böhmwalder
Date: Thu Nov 26 2026 - 09:53:13 EST
Hi Jens,
a few DRBD fixes for for-7.5/block:
- Assume a capable peer for the discard limit before the first handshake,
so devices stacked on top of DRBD don't latch the 4 MiB limit.
- Fix a lost bitmap-work wakeup on weakly ordered CPUs (seen on aarch64)
that froze application IO until the connection timed out.
- Two resize fixes: don't silently truncate the device after rejecting a
too small peer, and refuse implicit shrinks on resize unless an explicit
size is given.
Lars Ellenberg (4):
drbd: assume a capable peer for the discard limit before the handshake
drbd: fix lost bitmap-work wakeup on weakly ordered CPUs
drbd: resize: do not silently "truncate" the effective size
drbd: refuse to shrink on resize unless an explicit size is requested
drivers/block/drbd/drbd_int.h | 3 +++
drivers/block/drbd/drbd_main.c | 8 ++++++++
drivers/block/drbd/drbd_nl.c | 22 ++++++++++++----------
drivers/block/drbd/drbd_receiver.c | 5 +++++
4 files changed, 28 insertions(+), 10 deletions(-)
base-commit: 64e3fd6772bd8621a751fb916274be2f2dee3a16
--
2.56.0