pub fn map_data_extents(
fd: RawFd,
file_size: u64,
) -> Result<Vec<(u64, u64)>, FxcpError>Expand description
Map allocated data extents in a file using SEEK_DATA/SEEK_HOLE. Returns Vec of (offset, length) pairs for data regions. Returns Err if the filesystem doesn’t support SEEK_HOLE.