diff --git a/cli/input.rs b/cli/input.rs index e352899c9..eac5312dc 100644 --- a/cli/input.rs +++ b/cli/input.rs @@ -43,7 +43,7 @@ impl Default for Io { true => { #[cfg(all(target_os = "linux", feature = "io_uring"))] { - Io::IoUring + Io::Syscall // FIXME: make io_uring faster so it can be the default } #[cfg(any( not(target_os = "linux"), diff --git a/core/ext/mod.rs b/core/ext/mod.rs index 270bee682..939fe3e05 100644 --- a/core/ext/mod.rs +++ b/core/ext/mod.rs @@ -89,12 +89,12 @@ impl Database { path: &str, vfs: &str, ) -> crate::Result<(Arc, Arc)> { - use crate::{MemoryIO, PlatformIO}; + use crate::{MemoryIO, SyscallIO}; use dynamic::get_vfs_modules; let io: Arc = match vfs { "memory" => Arc::new(MemoryIO::new()), - "syscall" => Arc::new(PlatformIO::new()?), + "syscall" => Arc::new(SyscallIO::new()?), #[cfg(all(target_os = "linux", feature = "io_uring"))] "io_uring" => Arc::new(UringIO::new()?), other => match get_vfs_modules().iter().find(|v| v.0 == vfs) { diff --git a/core/io/mod.rs b/core/io/mod.rs index 1d3223128..1cda42380 100644 --- a/core/io/mod.rs +++ b/core/io/mod.rs @@ -190,7 +190,7 @@ cfg_block! { #[cfg(feature = "fs")] pub use unix::UnixIO; pub use unix::UnixIO as SyscallIO; - pub use io_uring::UringIO as PlatformIO; + pub use unix::UnixIO as PlatformIO; } #[cfg(any(all(target_os = "linux",not(feature = "io_uring")), target_os = "macos"))] {