From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: andrey.zhadchenko@virtuozzo.com,
Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.1 v12 00/12] dm-qcow2: truncate unused tail of image on suspend
Date: Tue, 10 Nov 2026 12:43:10 +0100 [thread overview]
Message-ID: <179431099007.3475721.18276619942648110531.b4-ty@b4> (raw)
In-Reply-To: <20261110075140.1475607-1-alexander.ivanov@virtuozzo.com>
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
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
prev parent reply other threads:[~2026-11-10 11:44 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-10 7:51 Alexander Ivanov
2026-11-10 7:51 ` [Devel] [PATCH hci-8.1 v12 01/12] dm-qcow2: add qcow2_md_page_read_sync() helper Alexander Ivanov
2026-11-10 7:55 ` no-reply
2026-11-10 7:51 ` [Devel] [PATCH hci-8.1 v12 02/12] dm-qcow2: drop duplicate prefix from QC_ERR/QC_INFO messages Alexander Ivanov
2026-11-10 7:55 ` no-reply
2026-11-10 7:51 ` [Devel] [PATCH hci-8.1 v12 03/12] dm-qcow2: extend the file for a new refblock in allocate_cluster() Alexander Ivanov
2026-11-10 7:56 ` no-reply
2026-11-10 7:51 ` [Devel] [PATCH hci-8.1 v12 04/12] dm-qcow2: complete wbd before ending the data qio Alexander Ivanov
2026-11-10 7:58 ` no-reply
2026-11-10 7:51 ` [Devel] [PATCH hci-8.1 v12 05/12] dm-qcow2: flush lower md before clearing dirty bit on merge failure Alexander Ivanov
2026-11-10 7:58 ` no-reply
2026-11-10 7:51 ` [Devel] [PATCH hci-8.1 v12 06/12] dm-qcow2: keep the dirty bit of an image that needs check Alexander Ivanov
2026-11-10 7:59 ` no-reply
2026-11-10 7:51 ` [Devel] [PATCH hci-8.1 v12 07/12] dm-qcow2: flag the image for check if reftable relocation fails late Alexander Ivanov
2026-11-10 8:00 ` no-reply
2026-11-10 7:51 ` [Devel] [PATCH hci-8.1 v12 08/12] dm-qcow2: fail the L2 table allocation request on L1 writeback error Alexander Ivanov
2026-11-10 8:01 ` no-reply
2026-11-10 7:51 ` [Devel] [PATCH hci-8.1 v12 09/12] dm-qcow2: leak clusters allocated for a failed L1/L2 writeback Alexander Ivanov
2026-11-10 8:04 ` no-reply
2026-11-10 8:25 ` Alexander Ivanov
2026-11-10 7:51 ` [Devel] [PATCH hci-8.1 v12 10/12] dm-qcow2: retry R1/R2 writeback that failed with ENOSPC Alexander Ivanov
2026-11-10 8:06 ` no-reply
2026-11-10 8:31 ` Alexander Ivanov
2026-11-10 7:51 ` [Devel] [PATCH hci-8.1 v12 11/12] dm-qcow2: truncate unused tail of image on suspend Alexander Ivanov
2026-11-10 8:07 ` no-reply
2026-11-10 7:51 ` [Devel] [PATCH hci-8.1 v12 12/12] dm-qcow2: fix WARN in qrq_endio() on flush failing with ENOSPC Alexander Ivanov
2026-11-10 8:07 ` no-reply
2026-11-10 8:35 ` Alexander Ivanov
2026-11-10 11:42 ` [Devel] [PATCH hci-8.1 v12 00/12] dm-qcow2: truncate unused tail of image on suspend Konstantin Khorenko
2026-11-10 11:43 ` Konstantin Khorenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179431099007.3475721.18276619942648110531.b4-ty@b4 \
--to=khorenko@virtuozzo.com \
--cc=alexander.ivanov@virtuozzo.com \
--cc=andrey.zhadchenko@virtuozzo.com \
--cc=devel@openvz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox