]> git.proxmox.com Git - proxmox-backup.git/commitdiff
garbage_collection: log bad chunks (still_bad value)
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 29 Oct 2020 09:24:31 +0000 (10:24 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 29 Oct 2020 09:24:31 +0000 (10:24 +0100)
src/backup/datastore.rs

index 485a10ff5be0a31b76c3db29fd9acad859aa45d5..77f838a42e5010915cc3359ca68f11318121ebd5 100644 (file)
@@ -562,6 +562,10 @@ impl DataStore {
                 crate::task_log!(worker, "Removed bad files: {}", gc_status.removed_bad);
             }
 
+            if gc_status.still_bad > 0 {
+                crate::task_log!(worker, "Bad chunks: {}", gc_status.removed_bad);
+            }
+
             crate::task_log!(
                 worker,
                 "Original data usage: {}",