Skip to main content

drop_cache

Function drop_cache 

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

Drops the clean pages of [offset, offset + len) from the page cache.