[Devel] [PATCH hci-8.1 v5 3/3] dm-qcow2: truncate unused tail of image on suspend
Alexander Ivanov
alexander.ivanov at virtuozzo.com
Thu Oct 22 11:35:03 MSK 2026
> 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.
By checking the refcounts, we only process the unused tail. If we were
to check the L1/L2 tables, we would have to process the entire image
from beginning to end.
I'll fix other issues.
More information about the Devel
mailing list