Skip to main content

fallocate

Function fallocate 

Source
pub(in pool::file) fn fallocate(
    file: &File,
    offset: u64,
    len: usize,
) -> Result<()>
Available on Linux and Unix and crate feature pool only.
Expand description

Allocates blocks for [offset, offset + len).