public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup 0/4] pull/verify unified progress
@ 2020-11-30 15:27 Fabian Grünbichler
  2020-11-30 15:27 ` [pbs-devel] [PATCH proxmox-backup 1/4] remove BackupGroup::list_groups Fabian Grünbichler
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Fabian Grünbichler @ 2020-11-30 15:27 UTC (permalink / raw)
  To: pbs-devel

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-12-01  5:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-30 15:27 [pbs-devel] [PATCH proxmox-backup 0/4] pull/verify unified progress Fabian Grünbichler
2020-11-30 15:27 ` [pbs-devel] [PATCH proxmox-backup 1/4] remove BackupGroup::list_groups Fabian Grünbichler
2020-11-30 15:27 ` [pbs-devel] [PATCH proxmox-backup 2/4] pull: factor out interpolated progress Fabian Grünbichler
2020-12-01  5:21   ` Dietmar Maurer
2020-11-30 15:27 ` [pbs-devel] [PATCH proxmox-backup 3/4] progress: add format variants Fabian Grünbichler
2020-11-30 15:27 ` [pbs-devel] [PATCH proxmox-backup 4/4] verify: use same progress as pull Fabian Grünbichler
2020-12-01  5:40 ` [pbs-devel] applied: [PATCH proxmox-backup 0/4] pull/verify unified progress Dietmar Maurer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal