(&self)
| 83 | |
| 84 | impl disk_file::AsyncDiskFile for FixedVhdDisk { |
| 85 | fn try_clone(&self) -> BlockResult<Box<dyn disk_file::AsyncDiskFile>> { |
| 86 | Ok(Box::new(FixedVhdDisk { |
| 87 | inner: self.inner.clone(), |
| 88 | use_io_uring: self.use_io_uring, |
| 89 | })) |
| 90 | } |
| 91 | |
| 92 | fn create_async_io(&self, ring_depth: u32) -> BlockResult<Box<dyn AsyncIo>> { |
| 93 | let size = self.logical_size()?; |