mirror of
https://github.com/deepseek-ai/3FS
synced 2025-06-26 18:16:45 +00:00
Modify the direct io align size to 4K (#158)
Co-authored-by: dev <noreply@deepseek.com>
This commit is contained in:
parent
3a30c53bf2
commit
b71ffc5560
@ -77,7 +77,7 @@ enum class FeatureFlags : uint32_t {
|
||||
ALLOW_READ_UNCOMMITTED = 8,
|
||||
};
|
||||
|
||||
constexpr auto kAIOAlignSize = 512ul;
|
||||
constexpr auto kAIOAlignSize = 4096ul;
|
||||
|
||||
class ChunkId {
|
||||
public:
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
use super::super::Size;
|
||||
use std::alloc::Layout;
|
||||
|
||||
pub const ALIGN_SIZE: Size = Size::new(512);
|
||||
pub const ALIGN_SIZE: Size = Size::new(4096);
|
||||
|
||||
pub struct AlignedBuffer(&'static mut [u8]);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user