From a568da8c71da08d939a2922694f72b506c06b85c Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Tue, 19 Oct 2021 15:23:17 +0100 Subject: [PATCH] [tests/thin_dump] remove some extraneous output to stderr --- src/thin/dump.rs | 3 --- src/thin/metadata.rs | 1 - 2 files changed, 4 deletions(-) diff --git a/src/thin/dump.rs b/src/thin/dump.rs index 3371996..a647ed1 100644 --- a/src/thin/dump.rs +++ b/src/thin/dump.rs @@ -326,9 +326,6 @@ pub fn dump(opts: ThinDumpOptions) -> Result<()> { sb = read_superblock(ctx.engine.as_ref(), SUPERBLOCK_LOCATION)?; } let md = build_metadata(ctx.engine.clone(), &sb)?; - - ctx.report - .set_title("Optimising metadata to improve leaf packing"); let md = optimise_metadata(md)?; let writer: Box; diff --git a/src/thin/metadata.rs b/src/thin/metadata.rs index 2972448..010de8e 100644 --- a/src/thin/metadata.rs +++ b/src/thin/metadata.rs @@ -214,7 +214,6 @@ fn build_defs(runs: BTreeMap>) -> Vec { // FIXME: I think this may be better done as part of restore. pub fn optimise_metadata(md: Metadata) -> Result { let runs = build_runs(&md.devs); - eprintln!("{} runs", runs.len()); // Expand old devs to use the new atomic runs let mut devs = Vec::new();