[Devel] [PATCH hci-8.2] dm-qcow2: truncate the unused tail of an image after backward merge
Konstantin Khorenko
khorenko at virtuozzo.com
Thu Nov 19 20:57:50 MSK 2026
Applying with these fixes on my side:
- The commit the used end comes from is now cited with its hash:
commit 84a5574eef14 ("dm-qcow2: truncate unused tail of image on
suspend").
- As Alexander asked, "Can't truncate unused tail" prints the error
code, and qcow2_merge_backward_complete() checks the result and logs
"Can't truncate merged img (%d)", so the two callers can be told
apart in the log.
On Thu, 19 Nov 2026 15:31:03 +0100, Denis V. Lunev wrote:
> The used end comes from "dm-qcow2: truncate unused tail of image on
> suspend"; the preallocated tail has been left behind since the driver
A subject alone is hard to find in the history.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
More information about the Devel
mailing list