From nobody Sun Feb 8 20:53:50 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1575393738; cv=none; d=zohomail.com; s=zohoarc; b=oKxZeNqHLSs1Al1eHoYCLLcrkvAdpRIIv8z6pme6g3IWa4j65mo2LkKfvRD4wPh7RBU0UwXeJMNgo+GECJWGRwLEBgwvY/4tgxzK3fpRlCTtCOlcnhhAIcYiNQBZtTclRuUgE+HCjaIbkKF9xfSO9z4dositscWeeyFwfdf3TCQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575393738; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=yl7tFsP6ExLDZgpun9V8Bs6mwYISmDr80vKOWabSzq0=; b=TSq9oXh9A0TYq2FSbrMWV5RquPZscOz76nHXjr0Z7q5fX/E+NlXx1QgG0rFy7jKKatJkXKWEvYWrnJU/Ozs6bTZ3hIFocBVQFKBGWFKoMX941F12ufDTWyTdcscHIcW00sdRBrUpLvLnNj8NtY06s9MZGyoH/TvyitaAxZ7wmns= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1575393738299131.08421784957648; Tue, 3 Dec 2019 09:22:18 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-186-LQRjUALBNZGsAvo2lPAiow-1; Tue, 03 Dec 2019 12:18:24 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 546421005510; Tue, 3 Dec 2019 17:18:16 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2F1885D6B7; Tue, 3 Dec 2019 17:18:16 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id D88971803C33; Tue, 3 Dec 2019 17:18:15 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id xB3HIASr003023 for ; Tue, 3 Dec 2019 12:18:10 -0500 Received: by smtp.corp.redhat.com (Postfix) id 7E95F600D1; Tue, 3 Dec 2019 17:18:10 +0000 (UTC) Received: from angien.redhat.com (unknown [10.43.2.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id 075BE600CE for ; Tue, 3 Dec 2019 17:18:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575393737; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=yl7tFsP6ExLDZgpun9V8Bs6mwYISmDr80vKOWabSzq0=; b=M7LoufG/1IBp/0R0teFIb9HqdpfsKqBNKnlq5MpgY601RUmC/Ixk+Rrtn2AghopYVIfTik snz26aCmGix51AZRlUYDjPURBzH2GXm9++CpsffBExjEtOU5ltv/bMWqtPcQNxrDa4isi2 zJdtr6sFNtGNEvTWudSW5J6TFcJedls= From: Peter Krempa To: libvir-list@redhat.com Date: Tue, 3 Dec 2019 18:17:40 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH v2 18/25] conf: backup: Add fields for tracking stats of completed sub-jobs X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: LQRjUALBNZGsAvo2lPAiow-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" We need a place to store stats of completed sub-jobs so that we can later report accurate stats. Signed-off-by: Peter Krempa Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Eric Blake Reviewed-by: J=C3=A1n Tomko --- 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 */ + unsigned long long push_transferred; + unsigned long long push_total; + unsigned long long pull_tmp_used; + unsigned long long pull_tmp_total; }; typedef enum { --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list