From: "Christoph Böhmwalder" <christoph.boehmwalder@linbit.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: "Philipp Reisner" <philipp.reisner@linbit.com>,
"Lars Ellenberg" <lars.ellenberg@linbit.com>,
drbd-dev@lists.linux.dev, linux-block@vger.kernel.org,
linux-kernel@vger.kernel.org,
"Christoph Böhmwalder" <christoph.boehmwalder@linbit.com>
Subject: [PATCH 0/4] drbd: assorted fixes for discard limits, bitmap IO and resize
Date: Thu, 26 Nov 2026 15:52:53 +0100 [thread overview]
Message-ID: <20261126145257.592085-1-christoph.boehmwalder@linbit.com> (raw)
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
next reply other threads:[~2026-11-26 14:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 14:52 Christoph Böhmwalder [this message]
2026-11-26 14:52 ` [PATCH 1/4] drbd: assume a capable peer for the discard limit before the handshake Christoph Böhmwalder
2026-11-26 14:52 ` [PATCH 2/4] drbd: fix lost bitmap-work wakeup on weakly ordered CPUs Christoph Böhmwalder
2026-11-26 14:52 ` [PATCH 3/4] drbd: resize: do not silently "truncate" the effective size Christoph Böhmwalder
2026-11-26 14:52 ` [PATCH 4/4] drbd: refuse to shrink on resize unless an explicit size is requested Christoph Böhmwalder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261126145257.592085-1-christoph.boehmwalder@linbit.com \
--to=christoph.boehmwalder@linbit.com \
--cc=axboe@kernel.dk \
--cc=drbd-dev@lists.linux.dev \
--cc=lars.ellenberg@linbit.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=philipp.reisner@linbit.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®