mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-26 10:53:25 +00:00
Modify the virtio-blk to async
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
2616335755
commit
b7131e721c
@ -74,10 +74,6 @@ mod test {
|
||||
}
|
||||
|
||||
impl BlockDevice for ExfatMemoryDisk {
|
||||
fn handle_irq(&self) {
|
||||
info!("ExfatMemoryDisk handle irq");
|
||||
}
|
||||
|
||||
fn enqueue(&self, bio: SubmittedBio) -> core::prelude::v1::Result<(), BioEnqueueError> {
|
||||
let start_device_ofs = bio.sid_range().start.to_raw() as usize * SECTOR_SIZE;
|
||||
let mut cur_device_ofs = start_device_ofs;
|
||||
|
Reference in New Issue
Block a user