[Devel] [PATCH hci-8.2 v2 0/2] dm-qcow2: fix a read livelock at EOF of a read-only image

Konstantin Khorenko khorenko at virtuozzo.com
Thu Nov 19 19:38:32 MSK 2026


On Thu, 19 Nov 2026 13:51:19 +0100, Denis V. Lunev wrote:
> dm-qcow2: fix a read livelock at EOF of a read-only image
> 
> A read-only image whose file ends mid-page, such as a lower image made
> by qemu-img convert -c, livelocks the dm-qcow2 worker on the first read
> of its last compressed cluster. The fix zeroes the missing tail in the
> read completion, so the zeroing helper first stops using kmap(), which
> may sleep.
> 
> [...]

Applied to branch-rh10-6.12.0-211.75.1.26.x.vz10-ovz, will be released in rh10-6.12.0-211.75.1.26.4.vz10, thanks!

[1/2] dm-qcow2: zero qio pages with memzero_page() instead of kmap()
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/f126ffac5d5f
[2/2] dm-qcow2: fix a read livelock at EOF of a read-only image
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/3426123235f7

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team




More information about the Devel mailing list