mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-27 03:13:23 +00:00
Limit the number of segments in single bio request
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
a883b65187
commit
c6aa9f9ee8
@ -95,6 +95,10 @@ mod test {
|
||||
bio.complete(BioStatus::Complete);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn max_nr_segments_per_bio(&self) -> usize {
|
||||
usize::MAX
|
||||
}
|
||||
}
|
||||
/// Exfat disk image
|
||||
static EXFAT_IMAGE: &[u8] = include_bytes!("../../../../../regression/build/exfat.img");
|
||||
|
Reference in New Issue
Block a user