[libvirt] [PATCH v2 18/25] conf: backup: Add fields for tracking stats of completed sub-jobs

Eric Blake eblake at redhat.com
Wed Dec 4 22:04:42 UTC 2019


On 12/3/19 11:17 AM, Peter Krempa wrote:
> 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 at redhat.com>
> ---
>   src/conf/backup_conf.h | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/src/conf/backup_conf.h b/src/conf/backup_conf.h
> index c970e01920..5dfc42e297 100644
> --- a/src/conf/backup_conf.h
> +++ b/src/conf/backup_conf.h
> @@ -70,6 +70,13 @@ struct _virDomainBackupDef {
> 
>       size_t ndisks; /* should not exceed dom->ndisks */
>       virDomainBackupDiskDef *disks;
> +
> +    /* internal data */
> +    /* statistic totals for completed diks */

disks

With typo fix,
Reviewed-by: Eric Blake <eblake at redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list