mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-21 00:06:34 +00:00
Add readahead for pagecache
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
053f8d416e
commit
1b22267a87
@ -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 {
|
||||
|
Reference in New Issue
Block a user