proxmox-backup/src
Dominik Csapak dcd9c17fff tape/pool_writer: skip already backed up chunks in iterator
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)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2022-02-18 10:40:41 +01:00
..
acme tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
api2 ParallelHandler: avoid re-export (cleanup) 2022-02-14 14:12:39 +01:00
backup ParallelHandler: avoid re-export (cleanup) 2022-02-14 14:12:39 +01:00
bin rename cached_traffic_control.rs to traffic_control_cache.rs, improve dev docs 2022-02-14 13:45:44 +01:00
config node config: add english to translation enum for default-lang 2022-02-07 15:24:38 +01:00
server ParallelHandler: avoid re-export (cleanup) 2022-02-14 14:12:39 +01:00
tape tape/pool_writer: skip already backed up chunks in iterator 2022-02-18 10:40:41 +01:00
tools move src/shared_rate_limiter.rs to src/tools/shared_rate_limiter.rs 2022-02-14 14:57:56 +01:00
auth_helpers.rs update to proxmox-sys 0.2 crate 2021-11-24 10:32:27 +01:00
auth.rs update to proxmox-sys 0.2 crate 2021-11-24 10:32:27 +01:00
client_helpers.rs make pbs_tools::cert not depend on pbs-buildcfg 2021-09-29 14:11:26 +02:00
lib.rs move src/shared_rate_limiter.rs to src/tools/shared_rate_limiter.rs 2022-02-14 14:57:56 +01:00
rrd_cache.rs rrd_cache: add developer docs 2022-02-14 12:07:10 +01:00
traffic_control_cache.rs move src/shared_rate_limiter.rs to src/tools/shared_rate_limiter.rs 2022-02-14 14:57:56 +01:00