From c253b593cada370fee3f4646255df0c6698f9c05 Mon Sep 17 00:00:00 2001 From: Flan's server Date: Fri, 26 Feb 2021 18:17:38 +0000 Subject: [PATCH] verbose message when prealloc write --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 11b2eef..ae62660 100644 --- a/src/main.rs +++ b/src/main.rs @@ -98,6 +98,7 @@ async fn write_graph(graph: Arc) -> eyre::Result<( .wrap_err(eyre!("Failed to open file for mapping")) .with_section(|| format!("{:?}", output_file).header("File was"))?; let mut file = file.into_std().await; + cfg_eprintln!(Verbose; cfg, "Opened file for prealloc-write"); tokio::task::spawn_blocking(move || { serial::write_sync_map(&mut file, graph.as_ref()) }).await.wrap_err(eyre!("Prealloc panicked while dumping"))