From patchwork Wed Jan 16 15:48:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [RFC,V5,45/62] qcow2: Count deduplication refcount overflow metric. Date: Wed, 16 Jan 2013 05:48:24 -0000 From: =?utf-8?q?Beno=C3=AEt_Canet?= X-Patchwork-Id: 212844 Message-Id: <1358351321-4891-46-git-send-email-benoit@irqsave.net> To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Beno=C3=AEt=20Canet?= , stefanha@redhat.com --- block/qcow2-dedup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/block/qcow2-dedup.c b/block/qcow2-dedup.c index 4a1b184..db23b71 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)