qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] qemu-img: avoid unaligned read requests during convert


From: Peter Lieven
Subject: Re: [PATCH] qemu-img: avoid unaligned read requests during convert
Date: Thu, 10 Sep 2020 22:03:24 +0200


> Am 10.09.2020 um 18:58 schrieb Max Reitz <mreitz@redhat.com>:
> 
> On 01.09.20 14:51, Peter Lieven wrote:
>> in case of large continous areas that share the same allocation status
>> it happens that the value of s->sector_next_status is unaligned to the
>> cluster size or even request alignment of the source. Avoid this by
>> stripping down the s->sector_next_status position to cluster boundaries.
>> 
>> Signed-off-by: Peter Lieven <pl@kamp.de>
>> ---
>> qemu-img.c | 22 ++++++++++++++++++++++
>> 1 file changed, 22 insertions(+)
> 
> I've just noticed that with this patch, the iotest 251 fails for vhdx.
> Would you be OK with squashing this in?

Sure, squash it in.

Thanks
Peter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]