mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +00:00
conf: backup: Add fields for tracking stats of completed sub-jobs
We need a place to store stats of completed sub-jobs so that we can later report accurate stats. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
1b412fb7bf
commit
86d2866a90
@ -70,6 +70,13 @@ struct _virDomainBackupDef {
|
||||
|
||||
size_t ndisks; /* should not exceed dom->ndisks */
|
||||
virDomainBackupDiskDef *disks;
|
||||
|
||||
/* internal data */
|
||||
/* statistic totals for completed disks */
|
||||
unsigned long long push_transferred;
|
||||
unsigned long long push_total;
|
||||
unsigned long long pull_tmp_used;
|
||||
unsigned long long pull_tmp_total;
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
|
Loading…
x
Reference in New Issue
Block a user