Thanks. I will give a new version in v3 of qcow2 shrink.
Jun Li
2014-9-3 上午1:12于 "Greg Kurz" 写道:
> On Mon, 1 Sep 2014 18:52:48 +0800
> Jun Li wrote:
>
> > When every item of refcount block is NULL, free refcount block and reset
> the
> > corresponding item of refcount table with NULL.
> >
> > S
On Sat, Sep 13, 2014 at 11:53:58PM +0800, Jun Li wrote:
> On Fri, 09/05 16:33, Stefan Hajnoczi wrote:
> > On Mon, Sep 01, 2014 at 06:52:48PM +0800, Jun Li wrote:
> >
> > How does this patch handle self-describing refcount blocks? I think
> > they will keep the refcount block alive forever because
On Fri, 09/05 16:33, Stefan Hajnoczi wrote:
> On Mon, Sep 01, 2014 at 06:52:48PM +0800, Jun Li wrote:
>
> How does this patch handle self-describing refcount blocks? I think
> they will keep the refcount block alive forever because your code will
> not decide to free them.
>
Sorry, I have ignor
On Tue, 09/09 10:21, Kevin Wolf wrote:
> Am 09.09.2014 um 04:52 hat Jun Li geschrieben:
> > On Fri, 09/05 12:21, Kevin Wolf wrote:
> > > Am 01.09.2014 um 12:52 hat Jun Li geschrieben:
> > > > When every item of refcount block is NULL, free refcount block and
> > > > reset the
> > > > corresponding
Am 09.09.2014 um 04:52 hat Jun Li geschrieben:
> On Fri, 09/05 12:21, Kevin Wolf wrote:
> > Am 01.09.2014 um 12:52 hat Jun Li geschrieben:
> > > When every item of refcount block is NULL, free refcount block and reset
> > > the
> > > corresponding item of refcount table with NULL.
> > >
> > > Sig
On Fri, 09/05 12:21, Kevin Wolf wrote:
> Am 01.09.2014 um 12:52 hat Jun Li geschrieben:
> > When every item of refcount block is NULL, free refcount block and reset the
> > corresponding item of refcount table with NULL.
> >
> > Signed-off-by: Jun Li
>
> The commit message should also describe w
On Mon, Sep 01, 2014 at 06:52:48PM +0800, Jun Li wrote:
> When every item of refcount block is NULL, free refcount block and reset the
> corresponding item of refcount table with NULL.
>
> Signed-off-by: Jun Li
> ---
By the way, test cases are definitely needed for this change. See
tests/qemu-i
On Mon, Sep 01, 2014 at 06:52:48PM +0800, Jun Li wrote:
How does this patch handle self-describing refcount blocks? I think
they will keep the refcount block alive forever because your code will
not decide to free them.
This patch should also discard the refcount block if we decide to free
it (i
Am 01.09.2014 um 12:52 hat Jun Li geschrieben:
> When every item of refcount block is NULL, free refcount block and reset the
> corresponding item of refcount table with NULL.
>
> Signed-off-by: Jun Li
The commit message should also describe why this is a relevant
improvement for some use case.
On Mon, 1 Sep 2014 18:52:48 +0800
Jun Li wrote:
> When every item of refcount block is NULL, free refcount block and reset the
> corresponding item of refcount table with NULL.
>
> Signed-off-by: Jun Li
> ---
>
> The v2 do following change to modify some potential issue.
>
> +--
The Tuesday 02 Sep 2014 à 00:04:08 (+0800), Jun Li wrote :
> On Mon, 09/01 13:11, Benoît Canet wrote:
> > The Monday 01 Sep 2014 à 18:52:48 (+0800), Jun Li wrote :
> > > When every item of refcount block is NULL, free refcount block and reset
> > > the
> > > corresponding item of refcount table wi
On Mon, 09/01 13:11, Benoît Canet wrote:
> The Monday 01 Sep 2014 à 18:52:48 (+0800), Jun Li wrote :
> > When every item of refcount block is NULL, free refcount block and reset the
> > corresponding item of refcount table with NULL.
> >
> > Signed-off-by: Jun Li
> > ---
> >
> > The v2 do follow
The Monday 01 Sep 2014 à 18:52:48 (+0800), Jun Li wrote :
> When every item of refcount block is NULL, free refcount block and reset the
> corresponding item of refcount table with NULL.
>
> Signed-off-by: Jun Li
> ---
>
> The v2 do following change to modify some potential issue.
>
>
When every item of refcount block is NULL, free refcount block and reset the
corresponding item of refcount table with NULL.
Signed-off-by: Jun Li
---
The v2 do following change to modify some potential issue.
+--- Here should start from "0".
|
for (k = 0; k <
14 matches
Mail list logo