[Devel] [PATCH hci-8.2 0/4] dm-qcow2: fix the revert of a failed L2 writeback

Konstantin Khorenko khorenko at virtuozzo.com
Thu Nov 19 19:33:57 MSK 2026


On Thu, 19 Nov 2026 02:08:50 +0100, Denis V. Lunev wrote:
> dm-qcow2: fix the revert of a failed L2 writeback
> 
> A failed L2 writeback reverts the page in memory, and the revert can
> leave entries that send I/O to the wrong place. An all-zeroes entry
> loses its flag and shows backing data again. On ext_l2 images,
> subclusters stay marked allocated with offset 0, so their I/O goes to
> cluster 0, where the image header lives. The last patch makes dm-qcow2
> refuse such entries already on disk.
> 
> [...]

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/4] dm-qcow2: keep the zero flag of an L2 entry when its writeback fails
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/8584282d4e93
[2/4] dm-qcow2: fix ext_l2 subclusters mapped to cluster 0 after a write error
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/6a3504deb5a3
[3/4] dm-qcow2: delay a backing-file COW while its L2 entry awaits writeback
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/aa7d9904e80d
[4/4] dm-qcow2: refuse an ext_l2 entry with allocated subclusters and no cluster
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/be4c890fb272

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team




More information about the Devel mailing list