(used to be 'qcow2: preallocation and COW improvements') v7: patch 8/9: - is_zero_cow() function reworked - blkdbg event added - write-zeroes errors handled - iotest 60 fixed properly
v6: http://lists.nongnu.org/archive/html/qemu-devel/2018-01/msg03463.html Anton Nefedov (9): mirror: inherit supported write/zero flags blkverify: set supported write/zero flags block: introduce BDRV_REQ_ALLOCATE flag block: treat BDRV_REQ_ALLOCATE as serialising file-posix: support BDRV_REQ_ALLOCATE block: support BDRV_REQ_ALLOCATE in passthrough drivers qcow2: move is_zero() up qcow2: skip writing zero buffers to empty COW areas iotest 134: test cluster-misaligned encrypted write qapi/block-core.json | 4 +- block/qcow2.h | 6 +++ include/block/block.h | 6 ++- include/block/block_int.h | 2 +- block/blkdebug.c | 3 +- block/blkverify.c | 9 ++++ block/file-posix.c | 8 ++++ block/io.c | 47 ++++++++++++++++----- block/mirror.c | 5 +++ block/qcow2-cluster.c | 2 +- block/qcow2.c | 101 ++++++++++++++++++++++++++++++++++++--------- block/raw-format.c | 3 +- block/trace-events | 1 + tests/qemu-iotests/060 | 26 +++++++----- tests/qemu-iotests/060.out | 5 ++- tests/qemu-iotests/066 | 2 +- tests/qemu-iotests/066.out | 4 +- tests/qemu-iotests/134 | 9 ++++ tests/qemu-iotests/134.out | 10 +++++ 19 files changed, 202 insertions(+), 51 deletions(-) -- 2.7.4