[Devel] [PATCH hci-8.1 v5 3/3] dm-qcow2: truncate unused tail of image on suspend
Denis V. Lunev
den at virtuozzo.com
Wed Oct 21 20:53:31 MSK 2026
On 10/21/26 18:42, Konstantin Khorenko wrote:
> I'd rather not truncate the image in the kernel at all. My comments
> below are for the case we keep it.
>
> The scan trusts the refcounts and never checks them against L1/L2. A
> wrong refcount or a wrong scan start then costs data on the first
> suspend: stop, snapshot or compact.
Wrong refcount already means data loss during ordinary cluster
allocation.
Den
More information about the Devel
mailing list