pub fn release_file_cache(
file: &File,
offset: u64,
bytes: u64,
) -> Result<FileCacheReleaseOutcome>Expand description
Release one clean file range from the operating-system page cache.
Callers writing the file must synchronize the range before calling this
primitive. Prefer DurableFileCacheWriter for write paths because it
structurally enforces synchronization before release.
ยงErrors
Returns an error when a supported operating-system release request fails.