[pbs-devel] applied: [PATCH proxmox-backup] tape/pool_writer: skip already backed up chunks in iterator

Dietmar Maurer dietmar at proxmox.com
Fri Feb 18 10:45:09 CET 2022


applied with minor cleanups..

On 2/17/22 14:50, Dominik Csapak wrote:
> currently, the iterator goes over *all* chunks of the index, even
> those already backed up by a previous snapshots in the same tape
> backup. this is bad since for each iterator, we stat each chunk to
> sort by inode number. so to avoid stat'ing the same chunks over
> and over for consecutive snapshots, add a 'skip_fn' to the iterator
> and in the pool writer and check the catalog_set if we can skip it
>
> this means we can drop the later check for the catalog_set
> (since we don't modify that here)





More information about the pbs-devel mailing list