block: vhd: impl SparseCapable for FixedVhdDiskAsync

Fixed VHD does not support sparse operations.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
Anatol Belski
2026-03-24 17:09:47 +01:00
committed by Bo Chen
parent 1db64f511e
commit 0dece29fa8

View File

@@ -76,6 +76,8 @@ impl disk_file::DiskFd for FixedVhdDiskAsync {
impl disk_file::Geometry for FixedVhdDiskAsync {}
impl disk_file::SparseCapable for FixedVhdDiskAsync {}
pub struct FixedVhdAsync {
raw_file_async: RawFileAsync,
size: u64,