On Tue, 10 Nov 2026 08:51:28 +0100, Alexander Ivanov wrote:
> dm-qcow2: truncate unused tail of image on suspend
>
> Discard punches holes in place of freed clusters, but doesn't change
> the file size. On postsuspend dm-qcow2 truncates the image file only
> down to file_preallocated_area_start, so if clusters at the end of the
> file are freed, the file never shrinks.
>
> [...]
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.20.vz10, thanks!
[01/12] dm-qcow2: add qcow2_md_page_read_sync() helper
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/424f96b846c6
[02/12] dm-qcow2: drop duplicate prefix from QC_ERR/QC_INFO messages
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/aab68837199d
[03/12] dm-qcow2: extend the file for a new refblock in allocate_cluster()
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/da5c9dc5a036
[04/12] dm-qcow2: complete wbd before ending the data qio
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/ea70f57c04d8
[05/12] dm-qcow2: flush lower md before clearing dirty bit on merge failure
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/7416f7aa1472
[06/12] dm-qcow2: keep the dirty bit of an image that needs check
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/d36c0c7a0923
[07/12] dm-qcow2: flag the image for check if reftable relocation fails late
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/2ba8da09eb4b
[08/12] dm-qcow2: fail the L2 table allocation request on L1 writeback error
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/e5014ff7b2e3
[09/12] dm-qcow2: leak clusters allocated for a failed L1/L2 writeback
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/5b1f91c85436
[10/12] dm-qcow2: retry R1/R2 writeback that failed with ENOSPC
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/1946985fee9d
[11/12] dm-qcow2: truncate unused tail of image on suspend
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/eed0d96e6c09
[12/12] dm-qcow2: fix WARN in qrq_endio() on flush failing with ENOSPC
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/f4e3ac242fb8
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel