pub trait FileAllocate { // Required method fn allocate(&self, offset: u64, len: u64) -> Result<()>; }
A trait for allocating disk space in a sparse file. This is equivalent to fallocate() with no special flags.
Allocate storage for the region of the file starting at offset and extending len bytes.
offset
len