[Devel] [PATCH hci-8.1 v3 0/5] dm-qcow2: fix merges not stopping the users of the images they change

Konstantin Khorenko khorenko at virtuozzo.com
Wed Nov 4 21:30:07 MSK 2026


On Wed, 04 Nov 2026 19:01:00 +0100, Denis V. Lunev wrote:
> dm-qcow2: fix merges not stopping the users of the images they change
> 
> Checking dm-qcow2 for the same problem showed that a merge does not
> stop everything using the images it changes (VSTOR-153049,
> VSTOR-153050):
> 
> - a backward merge of an inner image starts without pausing anything,
>   while reads enter through the top image. A read reaching the inner
>   image as the merge starts oopses on a NULL qio->ext (patch 2);
> 
> [...]

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.18.vz10, thanks!

[1/5] dm-qcow2: fix a failed refcount table relocation leaking md pages
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/beada5e3721a
[2/5] dm-qcow2: fix backward merge of an inner image racing its reads
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/917b0f940acc
[3/5] dm-qcow2: fix SEEK_HOLE/SEEK_DATA using an image freed by a merge
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/5400a597e4d6
[4/5] dm-qcow2: fix SEEK_HOLE/SEEK_DATA hanging after a failed metadata read
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/334bce6208ed
[5/5] dm-qcow2: fix a refcount table relocation failing on a valid image
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/6f2dd6d659e1

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team




More information about the Devel mailing list