chore: bump direct_io buffer from 256KiB to 1MiB

This commit is contained in:
Aiden McClelland
2026-03-24 19:26:31 -06:00
parent fd502cfb99
commit 9fddcb957f

View File

@@ -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 {