On 02/06/2013 05:32 AM, Benoît Canet wrote:
> ---
>  block/qcow2-dedup.c |    1 +
>  1 file changed, 1 insertion(+)

It wouldn't hurt to squash several of these one-liner patches into a
bigger patch that turns on collection of all stats in one go.

> 
> diff --git a/block/qcow2-dedup.c b/block/qcow2-dedup.c
> index e159e77..308b4f6 100644
> --- a/block/qcow2-dedup.c
> +++ b/block/qcow2-dedup.c
> @@ -1024,6 +1024,7 @@ void 
> qcow2_dedup_refcount_half_max_reached(BlockDriverState *bs,
>  
>      /* remove the QCowHashNode from ram so we won't use it anymore for dedup 
> */
>      qcow2_remove_hash_node(bs, hash_node);
> +    s->dedup_metrics.refcount_overflows++;
>  }
>  
>  bool qcow2_dedup_is_running(BlockDriverState *bs)
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to