[Devel] [PATCH hci-8.1 v7 10/10] dm-ploop: truncate unused tail of top delta on suspend
Alexander Ivanov
alexander.ivanov at virtuozzo.com
Wed Nov 18 12:26:38 MSK 2026
On 11/17/26 19:23, Konstantin Khorenko wrote:
>> Also skip it if the file size differs from top->file_size. Then another
>> ploop on the same images writes to the top delta (e.g. a live one left
>> by libploop error path), and on-disk BAT may miss clusters it has just
>> allocated, so the truncation would cut its data.
> Item 7 of the cover letter reply: another ploop that preallocated
> before our last reload does not change the size, so the check does
> not see it; say the check is best effort. Item 4: the "only place to
> change file_size" comment.
Fixed.
More information about the Devel
mailing list