MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / io_uring_supported

Function io_uring_supported

block/src/factory.rs:61–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59/// The result is cached so the probe runs at most once per process.
60#[cfg(feature = "io_uring")]
61fn io_uring_supported() -> bool {
62 static SUPPORTED: OnceLock<bool> = OnceLock::new();
63 *SUPPORTED.get_or_init(block_io_uring_is_supported)
64}
65
66/// Returns true when Linux AIO is supported on the running kernel.
67///

Callers 3

open_fixed_vhdFunction · 0.85
open_rawFunction · 0.85
open_qcow2Function · 0.85

Calls 1

newFunction · 0.85

Tested by

no test coverage detected