mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-18 12:06:43 +00:00
[page_cache] Gap within one page should be filled with zeros in shrink case
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
0b8335c943
commit
b1cec501d8
@ -11,6 +11,7 @@ use crate::prelude::*;
|
||||
|
||||
/// Implements several commonly used APIs for the block device to conveniently
|
||||
/// read and write block(s).
|
||||
// TODO: Add API to submit bio with multiple segments in scatter/gather manner.
|
||||
impl dyn BlockDevice {
|
||||
/// Synchronously reads contiguous blocks starting from the `bid`.
|
||||
pub fn read_blocks_sync(
|
||||
|
Reference in New Issue
Block a user