Add functions to probe whether a file or block device actually supports PUNCH_HOLE and ZERO_RANGE operations at runtime. The probe is performed at file open time by testing the operations at EOF with a zero-length range, which is a safe no-op. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com> |
||
|---|---|---|
| .. | ||
| qcow | ||
| vhdx | ||
| async_io.rs | ||
| fcntl.rs | ||
| fixed_vhd.rs | ||
| fixed_vhd_async.rs | ||
| fixed_vhd_sync.rs | ||
| lib.rs | ||
| qcow_sync.rs | ||
| raw_async.rs | ||
| raw_async_aio.rs | ||
| raw_sync.rs | ||
| vhd.rs | ||
| vhdx_sync.rs | ||