v2 -> v3: * Patch 2: modify test case. Increase number of requests from 1024 to 2048; make odd requests write actual data, while even requests cause write_zeroes operation;
* Add patch 3: add scripts/filev2p.py for mapping of virtual file offsets to physical block device offsets. The script was used to initially track down the data corruption problem, so it's included here. v2: https://lists.nongnu.org/archive/html/qemu-block/2024-07/msg00413.html Andrey Drobyshev (2): iotests/298: add testcase for async writes with preallocation filter scripts: add filev2p.py script for mapping virtual file offsets mapping Denis V. Lunev (1): block: zero data data corruption using prealloc-filter block/preallocate.c | 8 +- scripts/filev2p.py | 311 +++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/298 | 49 ++++++ tests/qemu-iotests/298.out | 4 +- 4 files changed, 369 insertions(+), 3 deletions(-) create mode 100755 scripts/filev2p.py -- 2.39.3