On 16/1/2018 7:11 PM, Alberto Garcia wrote:
On Tue 16 Jan 2018 02:04:29 PM CET, Anton Nefedov wrote:
iotest 060:
write to the discarded cluster does not trigger COW anymore.
so, break on write_aio event instead, will work for the test
(but write won't fail anymore, so update reference
On Tue 16 Jan 2018 02:04:29 PM CET, Anton Nefedov wrote:
> iotest 060:
> write to the discarded cluster does not trigger COW anymore.
> so, break on write_aio event instead, will work for the test
> (but write won't fail anymore, so update reference output)
I'm wondering about this. The reason
If COW areas of the newly allocated clusters are zeroes on the backing image,
efficient bdrv_write_zeroes(flags=BDRV_REQ_ALLOCATE) 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