We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
eprintln!()
debug!()
1 parent 4678cbe commit a8cab33Copy full SHA for a8cab33
src/diskio/threaded.rs
@@ -12,6 +12,7 @@ use std::sync::Arc;
12
13
use enum_map::{enum_map, Enum, EnumMap};
14
use sharded_slab::pool::{OwnedRef, OwnedRefMut};
15
+use tracing::debug;
16
17
use super::{perform, CompletedIo, Executor, Item};
18
use crate::utils::notifications::Notification;
@@ -268,9 +269,8 @@ impl<'a> Executor for Threaded<'a> {
268
269
prev_files as u64,
270
));
271
}
- #[allow(clippy::print_stderr)]
272
if prev_files > 50 {
273
- eprintln!("{prev_files} deferred IO operations");
+ debug!("{prev_files} deferred IO operations");
274
275
let buf: Vec<u8> = vec![0; prev_files];
276
// Cheap wrap-around correctness check - we have 20k files, more than
0 commit comments