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> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||