diff --git a/block/src/raw_async.rs b/block/src/raw_async.rs index e5ba96de3..86f23b1fa 100644 --- a/block/src/raw_async.rs +++ b/block/src/raw_async.rs @@ -105,6 +105,12 @@ impl disk_file::Geometry for RawFileDisk { } } +impl disk_file::SparseCapable for RawFileDisk { + fn supports_sparse_operations(&self) -> bool { + probe_sparse_support(&self.file) + } +} + pub struct RawFileAsync { fd: RawFd, io_uring: IoUring,