Re: [Qemu-devel] [PATCH v6 09/11] qcow2: Clean up after refcount rebuild

2014-10-21 Thread Max Reitz
On 2014-10-21 at 17:11, Kevin Wolf wrote: Am 21.10.2014 um 16:55 hat Max Reitz geschrieben: On 2014-10-21 at 12:16, Max Reitz wrote: On 2014-10-21 at 11:59, Kevin Wolf wrote: Am 20.10.2014 um 16:35 hat Max Reitz geschrieben: Because the old refcount structure will be leaked after having rebui

Re: [Qemu-devel] [PATCH v6 09/11] qcow2: Clean up after refcount rebuild

2014-10-21 Thread Kevin Wolf
Am 21.10.2014 um 16:55 hat Max Reitz geschrieben: > On 2014-10-21 at 12:16, Max Reitz wrote: > >On 2014-10-21 at 11:59, Kevin Wolf wrote: > >>Am 20.10.2014 um 16:35 hat Max Reitz geschrieben: > >>>Because the old refcount structure will be leaked after having rebuilt > >>>it, we need to recalculate

Re: [Qemu-devel] [PATCH v6 09/11] qcow2: Clean up after refcount rebuild

2014-10-21 Thread Max Reitz
On 2014-10-21 at 12:16, Max Reitz wrote: On 2014-10-21 at 11:59, Kevin Wolf wrote: Am 20.10.2014 um 16:35 hat Max Reitz geschrieben: Because the old refcount structure will be leaked after having rebuilt it, we need to recalculate the refcounts and run a leak-fixing operation afterwards (if l

Re: [Qemu-devel] [PATCH v6 09/11] qcow2: Clean up after refcount rebuild

2014-10-21 Thread Max Reitz
On 2014-10-21 at 11:59, Kevin Wolf wrote: Am 20.10.2014 um 16:35 hat Max Reitz geschrieben: Because the old refcount structure will be leaked after having rebuilt it, we need to recalculate the refcounts and run a leak-fixing operation afterwards (if leaks should be fixed at all). Signed-off-by

Re: [Qemu-devel] [PATCH v6 09/11] qcow2: Clean up after refcount rebuild

2014-10-21 Thread Kevin Wolf
Am 20.10.2014 um 16:35 hat Max Reitz geschrieben: > Because the old refcount structure will be leaked after having rebuilt > it, we need to recalculate the refcounts and run a leak-fixing operation > afterwards (if leaks should be fixed at all). > > Signed-off-by: Max Reitz > Reviewed-by: Benoît

[Qemu-devel] [PATCH v6 09/11] qcow2: Clean up after refcount rebuild

2014-10-20 Thread Max Reitz
Because the old refcount structure will be leaked after having rebuilt it, we need to recalculate the refcounts and run a leak-fixing operation afterwards (if leaks should be fixed at all). Signed-off-by: Max Reitz Reviewed-by: Benoît Canet --- block/qcow2-refcount.c | 35 ++