[pbs-devel] [RFC proxmox-backup] fix #5710: api: backup: stat known chunks during backup

Christian Ebner c.ebner at proxmox.com
Tue Sep 17 09:19:22 CEST 2024


On 9/13/24 17:23, Dietmar Maurer wrote:
> 
>> Known chunks are expected to be present on the datastore a-priori,
>> allowing clients to only re-index these chunks without uploading the
>> raw chunk data. The list of reusable known chunks is send to the
>> client by the server, deduced from the indexed chunks of the previous
>> backup snapshot of the group.
> 
> Is it possible to only stat actually reused chunks at the end?

Yes, as is all the chunks, even not reused but indexed by the previous 
backup snapshot are stat'ed.

I can add an additional flag to the hashmap's value storing known chunks
to differentiate and only stat these.

Will send a new version of the patch.




More information about the pbs-devel mailing list