[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Qemu-block] [PATCH] vmdk: Fix next_cluster_sector for
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [Qemu-block] [PATCH] vmdk: Fix next_cluster_sector for compressed write |
Date: |
Fri, 8 May 2015 12:49:43 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 06.05.2015 um 20:01 hat Max Reitz geschrieben:
> On 06.05.2015 14:23, Fam Zheng wrote:
> >This fixes the bug introduced by commit c6ac36e (vmdk: Optimize cluster
> >allocation).
> >
> >Sometimes, write_len could be larger than cluster size, because it
> >contains both data and marker. We must advance next_cluster_sector in
> >this case, otherwise the image gets corrupted.
> >
> >Reported-by: Antoni Villalonga <address@hidden>
> >Signed-off-by: Fam Zheng <address@hidden>
>
> Reviewed-by: Max Reitz <address@hidden>
Thanks, added a "Cc: address@hidden" line to the commit message
and applied to the block branch.
Kevin