gc: shorten progress messages

we have messages starting the phases anyway, and limit the number of
progress updates so that context remains available at all times.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2020-11-30 16:22:17 +01:00 committed by Dietmar Maurer
parent 2241c6795f
commit 7956877f14
2 changed files with 2 additions and 2 deletions

View File

@ -301,7 +301,7 @@ impl ChunkStore {
last_percentage = percentage;
crate::task_log!(
worker,
"percentage done: phase2 {}% (processed {} chunks)",
"processed {}% ({} chunks)",
percentage,
chunk_count,
);

View File

@ -505,7 +505,7 @@ impl DataStore {
if percentage > last_percentage {
crate::task_log!(
worker,
"percentage done: phase1 {}% ({} of {} index files)",
"marked {}% ({} of {} index files)",
percentage,
done,
image_count,