提交 86d2866a 编写于 作者: P Peter Krempa

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: NPeter Krempa <pkrempa@redhat.com>
Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
Reviewed-by: NEric Blake <eblake@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
上级 1b412fb7
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册