Skip to main content

kernel_supports_splice

Function kernel_supports_splice 

Source
pub fn kernel_supports_splice() -> bool
Expand description

Check whether the running kernel supports IORING_OP_SPLICE (≥5.19).

The probe runs once and caches the result. On non-Linux or pre-5.19 kernels this returns false and callers should fall back to the portable path.