[pve-devel] [PATCH qemu 1/7] PVE backup: fleecing: properly set minimum cluster size

Fiona Ebner f.ebner at proxmox.com
Mon Jun 10 14:59:36 CEST 2024


While the current code doesn't care, prepare for future changes
relying on the flag being set as well.

Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---

To be squashed into "PVE backup: add fleecing option"

 pve-backup.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pve-backup.c b/pve-backup.c
index 07709aa350..4e80a9f283 100644
--- a/pve-backup.c
+++ b/pve-backup.c
@@ -630,6 +630,7 @@ static void create_backup_jobs_bh(void *opaque) {
             if (bdrv_get_info(di->fleecing.bs, &bdi) >= 0) {
                 perf.min_cluster_size = MAX(perf.min_cluster_size, bdi.cluster_size);
             }
+            perf.has_min_cluster_size = true;
         }
 
         BlockJob *job = backup_job_create(
-- 
2.39.2





More information about the pve-devel mailing list