mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
chore: bump direct_io buffer from 256KiB to 1MiB
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user