garbage_collection: log bad chunks (still_bad value)

This commit is contained in:
Dietmar Maurer 2020-10-29 10:24:31 +01:00
parent 5499bd3dee
commit b4fb262335

View 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: {}",