Struct io_uring::opcode::Fallocate64
source · pub struct Fallocate64 { /* private fields */ }
Expand description
Preallocate or deallocate space to a file, equivalent to fallocate(2)
.
Implementations§
source§impl Fallocate64
impl Fallocate64
pub fn new(fd: impl UseFixed, len: off64_t) -> Self
sourcepub const CODE: u8 = 17u8
pub const CODE: u8 = 17u8
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.