diff --git a/block/src/raw_async_aio.rs b/block/src/raw_async_aio.rs index 6c1fe0aad..b12469312 100644 --- a/block/src/raw_async_aio.rs +++ b/block/src/raw_async_aio.rs @@ -101,6 +101,12 @@ impl disk_file::Geometry for RawFileDiskAio { } } +impl disk_file::SparseCapable for RawFileDiskAio { + fn supports_sparse_operations(&self) -> bool { + probe_sparse_support(&self.file) + } +} + pub struct RawFileAsyncAio { fd: RawFd, ctx: aio::IoContext,