[PATCH] drbd: fix "LOGIC BUG" in drbd_al_begin_io_nonblock()

Jens Axboe axboe at kernel.dk
Thu Feb 19 16:22:19 CET 2026


On Thu, 19 Feb 2026 15:20:12 +0100, Christoph Böhmwalder wrote:
> Even though we check that we "should" be able to do lc_get_cumulative()
> while holding the device->al_lock spinlock, it may still fail,
> if some other code path decided to do lc_try_lock() with bad timing.
> 
> If that happened, we logged "LOGIC BUG for enr=...",
> but still did not return an error.
> 
> [...]

Applied, thanks!

[1/1] drbd: fix "LOGIC BUG" in drbd_al_begin_io_nonblock()
      commit: ab140365fb62c0bdab22b2f516aff563b2559e3b

Best regards,
-- 
Jens Axboe





More information about the drbd-dev mailing list