Add comprehensive tests for DISCARD and WRITE_ZEROES operations: QCOW2 zero flag test validates the complete workflow: allocate cluster, DISCARD it, verify reads return zeros, write new data, verify cluster reallocated. QcowSync tests verify punch_hole and write_zeroes with Arc<Mutex<>> sharing, including tests for cache consistency with multiple async I/O operations. RawFileSync tests verify punch_hole and write_zeroes using fallocate. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||