Files
qemu-xteink/block
Anton Nefedov c8bb23cbdb qcow2: skip writing zero buffers to empty COW areas
If COW areas of the newly allocated clusters are zeroes on the backing
image, efficient bdrv_write_zeroes(flags=BDRV_REQ_NO_FALLBACK) can be
used on the whole cluster instead of writing explicit zero buffers later
in perform_cow().

iotest 060:
write to the discarded cluster does not trigger COW anymore.
Use a backing image instead.

Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com>
Message-id: 20190516142749.81019-2-anton.nefedov@virtuozzo.com
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
2019-05-28 20:30:55 +02:00
..
2018-08-31 16:28:33 +02:00
2016-10-07 14:14:06 +02:00
2019-01-04 11:15:09 +00:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:11:27 +01:00
2018-02-09 05:05:11 +01:00
2019-05-28 20:30:55 +02:00
2019-05-28 20:30:55 +02:00
2019-05-28 20:30:55 +02:00
2019-05-28 20:30:55 +02:00
2019-04-30 15:29:00 +02:00
2019-05-07 17:14:21 +02:00
2019-04-30 15:29:00 +02:00