[pbs-devel] [PATCH proxmox-backup 0/4] pull/verify unified progress

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon Nov 30 16:27:17 CET 2020


this series factors out and reuses the progress calculcation used by
sync/pull for verification tasks, since the progress characteristics are
rather similar:
- we often skip big parts of groups (already synced/recently verified)
- adding more snapshots within a group is usually fast (because of
  deduplication/chunk reuse)

Fabian Grünbichler (4):
  remove BackupGroup::list_groups
  pull: factor out interpolated progress
  progress: add format variants
  verify: use same progress as pull

 src/api2/admin/datastore.rs |  4 +--
 src/backup/backup_info.rs   | 14 --------
 src/backup/datastore.rs     | 65 +++++++++++++++++++++++++++++++++++++
 src/backup/verify.rs        | 61 +++++++++++++++-------------------
 src/client/pull.rs          | 29 +++++++----------
 src/server/prune_job.rs     |  4 +--
 6 files changed, 108 insertions(+), 69 deletions(-)

-- 
2.20.1






More information about the pbs-devel mailing list