Re: [Qemu-block] [PATCH v12 08/10] qcow2: Optimize write zero of unaligned tail cluster

2017-05-05 Thread Eric Blake
On 05/05/2017 05:06 PM, Max Reitz wrote: > On 04.05.2017 05:07, Eric Blake wrote: >> We've already improved discards to operate efficiently on the tail >> of an unaligned qcow2 image; it's time to make a similar improvement >> to write zeroes. The special case is only valid at the tail >> cluster

Re: [Qemu-block] [PATCH v12 08/10] qcow2: Optimize write zero of unaligned tail cluster

2017-05-05 Thread Max Reitz
On 04.05.2017 05:07, Eric Blake wrote: > We've already improved discards to operate efficiently on the tail > of an unaligned qcow2 image; it's time to make a similar improvement > to write zeroes. The special case is only valid at the tail > cluster of a file, where we must recognize that any