[Devel] [PATCH hci-8.1 v2 0/3] dm-ploop: fix flip_upper_deltas panicking the host in its pre-flip check
Konstantin Khorenko
khorenko at virtuozzo.com
Thu Nov 5 21:19:24 MSK 2026
On Thu, 05 Nov 2026 15:57:46 +0100, Denis V. Lunev wrote:
> dm-ploop: fix flip_upper_deltas panicking the host in its pre-flip check
>
> ploop_check_delta_before_flip() runs on every flip_upper_deltas, as
> PLOOP_DEBUG is always defined in dm-ploop-cmd.c, and has three bugs
> (VSTOR-153445):
>
> - patch 1: when it finds a cluster both deltas map, it returns -EEXIST
> with two md_locks held and interrupts disabled. The next pio on that
> BAT page spins on the lock forever, and the host panics on a hard
> lockup;
>
> [...]
Applied to branch-rh10-6.12.0-211.52.1.22.x.vz10-ovz, will be released in rh10-6.12.0-211.52.1.22.19.vz10, thanks!
[1/3] dm-ploop: fix flip_upper_deltas returning with two md_locks held
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/e47cf5cfc4c9
[2/3] dm-ploop: refuse flip_upper_deltas onto a lower delta smaller than the device
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/18c4383f77c9
[3/3] dm-ploop: fix the flip_upper_deltas check skipping the last BAT entry
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/f0cff9cebdb0
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
More information about the Devel
mailing list