qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 09/10] iotests: Fix test outputs


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH v3 09/10] iotests: Fix test outputs
Date: Tue, 26 Aug 2014 20:03:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

On 26.08.2014 15:09, Eric Blake wrote:
On 08/22/2014 10:31 AM, Max Reitz wrote:
039, 060 and 061 all create images with referenced clusters having a
refcount of 0. Because previous commits changed handling of such errors,
these tests now have a different output. Fix it.

Furthermore, 060 created a refblock with a refcount greater than one
which now results in having to rebuild the refcount structure as well.
For bisection purposes, should these test tweaks be made in the same
patch that causes the improved behavior?

We could do that, but patch 6 changed the behavior to "Report an error instead of trying to fix it", 7 then changed it to "Fix it, but leave leaks behind" and finally 8 changed it to "Fix it and fix the leaks". It would be possible to add these changes to each of these patches, but it would look pretty strange in my opinion.

Benoît commented on this in patch 5 in v1 (which is patch 6 here). I replied to this in the cover letter of v2: I don't think it really breaks bisects because the tests were kind of faulty before this series anyway. They assumed qcow2's repair function would repair blocks with a refcount of 0 by simply increasing the refcount through the standard qcow2 functions, which, as this patch 10 shows, will not always work as intended.

Max



reply via email to

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