On 04.11.2015 18:16, Kevin Wolf wrote:
> When searching for contiguous zero clusters, we only need to check the
> cluster type. Before this patch, an increasing offset (L2E_OFFSET_MASK)
> was expected, so that the function never returned more than a single
> zero cluster in practice. This patch fixes it to actually return as many
> contiguous zero clusters as it can.
> 
> Cc: qemu-sta...@nongnu.org
> Signed-off-by: Kevin Wolf <kw...@redhat.com>
> ---
>  block/qcow2-cluster.c | 15 +++++++++------
>  1 file changed, 9 insertions(+), 6 deletions(-)


Thanks, applied to my block tree:

https://github.com/XanClic/qemu/commits/block

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to