Re: [Qemu-devel] [PATCH 4/5] qemu-img: add compressed clusters to BlockFragInfo

2013-02-06 Thread Kevin Wolf
Am 06.02.2013 14:40, schrieb Eric Blake: > On 02/06/2013 04:43 AM, Kevin Wolf wrote: >> >> Instead of getting a longer and longer output line for each new number >> we add, maybe we could use the chance to introduce multiline output: >> >> Total number of clusters: 1000 >> - allocated

Re: [Qemu-devel] [PATCH 4/5] qemu-img: add compressed clusters to BlockFragInfo

2013-02-06 Thread Eric Blake
On 02/06/2013 04:43 AM, Kevin Wolf wrote: > > Instead of getting a longer and longer output line for each new number > we add, maybe we could use the chance to introduce multiline output: > > Total number of clusters: 1000 > - allocated 427 (42.7%) > - fragmented

Re: [Qemu-devel] [PATCH 4/5] qemu-img: add compressed clusters to BlockFragInfo

2013-02-06 Thread Kevin Wolf
Am 05.02.2013 19:54, schrieb Stefan Hajnoczi: > Show how many clusters are compressed. This can be used to monitor how > many compressed clusters remain and whether to recompress the image. > > Suggested-by: Cole Robinson > Signed-off-by: Stefan Hajnoczi > diff --git a/qemu-img.c b/qemu-img.c

Re: [Qemu-devel] [PATCH 4/5] qemu-img: add compressed clusters to BlockFragInfo

2013-02-06 Thread Stefan Hajnoczi
On Tue, Feb 05, 2013 at 03:27:10PM -0700, Eric Blake wrote: > On 02/05/2013 11:54 AM, Stefan Hajnoczi wrote: > > Show how many clusters are compressed. This can be used to monitor how > > many compressed clusters remain and whether to recompress the image. > > > > Suggested-by: Cole Robinson > >

Re: [Qemu-devel] [PATCH 4/5] qemu-img: add compressed clusters to BlockFragInfo

2013-02-05 Thread Eric Blake
On 02/05/2013 11:54 AM, Stefan Hajnoczi wrote: > Show how many clusters are compressed. This can be used to monitor how > many compressed clusters remain and whether to recompress the image. > > Suggested-by: Cole Robinson > Signed-off-by: Stefan Hajnoczi > --- > +++ b/qemu-img.c > @@ -471,10

[Qemu-devel] [PATCH 4/5] qemu-img: add compressed clusters to BlockFragInfo

2013-02-05 Thread Stefan Hajnoczi
Show how many clusters are compressed. This can be used to monitor how many compressed clusters remain and whether to recompress the image. Suggested-by: Cole Robinson Signed-off-by: Stefan Hajnoczi --- include/block/block.h| 1 + qemu-img.c | 5 +++-- tests/qemu-iote