[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 2/9] qcow2: Factor out refcount accounting fo
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v2 2/9] qcow2: Factor out refcount accounting for check |
Date: |
Fri, 22 Aug 2014 09:48:16 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 |
On 08/22/2014 09:44 AM, Max Reitz wrote:
> This is not a consequence of the extracted functions moving up, but
> because of check_refblocks() preceding calculate_refcounts(). Splitting
> the check won't help; and I know that Eric dislikes
> (forward-)declarations of static functions (which I have to do if I pull
> calculate_refcounts() before check_refblocks()).
I may not like them in the end result, but they are perfectly fine for
an intermediate patch that is refactoring things, when coupled with a
followup patch that moves the refactored code into topological order.
Anything we can do to make reviewing easier, even if it requires going
through more commits and more lines of churn to get there, pays off in
the long run.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v2 1/9] qcow2: Fix leaks in dirty images, (continued)
- [Qemu-devel] [PATCH v2 1/9] qcow2: Fix leaks in dirty images, Max Reitz, 2014/08/15
- [Qemu-devel] [PATCH v2 2/9] qcow2: Factor out refcount accounting for check, Max Reitz, 2014/08/15
- Re: [Qemu-devel] [PATCH v2 2/9] qcow2: Factor out refcount accounting for check, Benoît Canet, 2014/08/21
- Re: [Qemu-devel] [PATCH v2 2/9] qcow2: Factor out refcount accounting for check, Benoît Canet, 2014/08/21
- Re: [Qemu-devel] [PATCH v2 2/9] qcow2: Factor out refcount accounting for check, Eric Blake, 2014/08/21
- Re: [Qemu-devel] [PATCH v2 2/9] qcow2: Factor out refcount accounting for check, Benoît Canet, 2014/08/21
- Re: [Qemu-devel] [PATCH v2 2/9] qcow2: Factor out refcount accounting for check, Max Reitz, 2014/08/22
- Re: [Qemu-devel] [PATCH v2 2/9] qcow2: Factor out refcount accounting for check, Benoît Canet, 2014/08/22
- Re: [Qemu-devel] [PATCH v2 2/9] qcow2: Factor out refcount accounting for check, Max Reitz, 2014/08/22
- Re: [Qemu-devel] [PATCH v2 2/9] qcow2: Factor out refcount accounting for check, Max Reitz, 2014/08/22
- Re: [Qemu-devel] [PATCH v2 2/9] qcow2: Factor out refcount accounting for check,
Eric Blake <=
[Qemu-devel] [PATCH v2 3/9] qcow2: Factor out refcount comparison for check, Max Reitz, 2014/08/15
[Qemu-devel] [PATCH v2 4/9] qcow2: Fix refcount blocks beyond image end, Max Reitz, 2014/08/15
[Qemu-devel] [PATCH v2 5/9] qcow2: Do not perform potentially damaging repairs, Max Reitz, 2014/08/15
[Qemu-devel] [PATCH v2 6/9] qcow2: Rebuild refcount structure during check, Max Reitz, 2014/08/15
[Qemu-devel] [PATCH v2 8/9] iotests: Fix test outputs, Max Reitz, 2014/08/15
[Qemu-devel] [PATCH v2 9/9] iotests: Add test for potentially damaging repairs, Max Reitz, 2014/08/15
[Qemu-devel] [PATCH v2 7/9] qcow2: Clean up after refcount rebuild, Max Reitz, 2014/08/15