Re: [Qemu-devel] [PATCH 06/13] qcow2: Convert to bdrv_co_pwrite_zeroes()

2016-05-25 Thread Kevin Wolf
Am 25.05.2016 um 00:25 hat Eric Blake geschrieben: > Another step on our continuing quest to switch to byte-based > interfaces. > > There are still opportunities to optimize the qcow2 handling > of zero clusters. For example, if the backing file only has > non-zero data in the portion about to

[Qemu-devel] [PATCH 06/13] qcow2: Convert to bdrv_co_pwrite_zeroes()

2016-05-24 Thread Eric Blake
Another step on our continuing quest to switch to byte-based interfaces. There are still opportunities to optimize the qcow2 handling of zero clusters. For example, if the backing file only has non-zero data in the portion about to be overwritten, then we could widen the request and make the