See patch 2 for the description of the bug fixed. v2: - Switched order of bs->total_sectors update and zero write [Vladimir] - Fixed coding style [Vladimir] - Changed the commit message to contain what was in the cover letter - Test all preallocation modes - Test allocation status with qemu-io 'map' [Vladimir]
Kevin Wolf (6): block: bdrv_co_do_pwrite_zeroes: 64 bit 'bytes' parameter block: truncate: Don't make backing file data visible iotests: Add qemu_io_log() iotests: Fix timeout in run_job() iotests: Support job-complete in run_job() iotests: Test committing to short backing file block/io.c | 38 +++++- tests/qemu-iotests/274 | 141 +++++++++++++++++++++ tests/qemu-iotests/274.out | 227 ++++++++++++++++++++++++++++++++++ tests/qemu-iotests/group | 1 + tests/qemu-iotests/iotests.py | 11 +- 5 files changed, 413 insertions(+), 5 deletions(-) create mode 100755 tests/qemu-iotests/274 create mode 100644 tests/qemu-iotests/274.out -- 2.20.1