Add readahead for pagecache

This commit is contained in:
Shaocong Sun
2024-05-15 21:13:57 +08:00
committed by Tate, Hongliang Tian
parent 053f8d416e
commit 1b22267a87
2 changed files with 245 additions and 18 deletions

View File

@ -220,6 +220,11 @@ impl BioWaiter {
ret
}
/// Clears all `Bio` requests in this waiter.
pub fn clear(&mut self) {
self.bios.clear();
}
}
impl Default for BioWaiter {