diff --git a/core/src/util/direct_io.rs b/core/src/util/direct_io.rs index 67617c22c..31661149b 100644 --- a/core/src/util/direct_io.rs +++ b/core/src/util/direct_io.rs @@ -8,7 +8,7 @@ use tokio::io::AsyncWrite; use tokio::task::JoinHandle; const BLOCK_SIZE: usize = 4096; -const BUF_CAP: usize = 256 * 1024; // 256KB +const BUF_CAP: usize = 1024 * 1024; // 1MiB /// Aligned buffer for O_DIRECT I/O. struct AlignedBuf {