remove os restriction for IoMode::Direct

Signed-off-by: Yuchen Liang <yuchen@neon.tech>
This commit is contained in:
Yuchen Liang
2024-11-14 19:01:40 +00:00
parent b4a26e32ed
commit e2faf9a457

View File

@@ -146,7 +146,6 @@ impl VirtualFile {
_mode: IoMode::Buffered,
}
}
#[cfg(target_os = "linux")]
IoMode::Direct => {
let inner = VirtualFileInner::open_with_options(
path,