GC: improve task logs

Make it more clear that removed files are chunks (not indexes or
something like that, user cannot know that we do not touch them here)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-10-29 14:45:32 +01:00
parent 932390bd46
commit b6563f48ad
1 changed files with 2 additions and 2 deletions

View File

@ -559,11 +559,11 @@ impl DataStore {
); );
} }
if gc_status.removed_bad > 0 { if gc_status.removed_bad > 0 {
crate::task_log!(worker, "Removed bad files: {}", gc_status.removed_bad); crate::task_log!(worker, "Removed bad chunks: {}", gc_status.removed_bad);
} }
if gc_status.still_bad > 0 { if gc_status.still_bad > 0 {
crate::task_log!(worker, "Bad chunks: {}", gc_status.still_bad); crate::task_log!(worker, "Leftover bad chunks: {}", gc_status.still_bad);
} }
crate::task_log!( crate::task_log!(