---
block/qcow2-dedup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/block/qcow2-dedup.c b/block/qcow2-dedup.c
index e96ab00..e159e77 100644
--- a/block/qcow2-dedup.c
+++ b/block/qcow2-dedup.c
@@ -991,6 +991,7 @@ void qcow2_dedup_refcount_zero_reached(BlockDriverState *bs,
/* remove from ram if present so we won't dedup with it anymore */
qcow2_remove_hash_node_by_sector(bs, physical_sect);
+ s->dedup_metrics.deleted_clusters++;
}
/* Force to use a new physical cluster and QCowHashNode when the refcount pass
--
1.7.10.4- [Qemu-devel] [RFC V2 00/16] QCOW2 deduplication metrics Benoît Canet
- [Qemu-devel] [RFC V2 14/16] qcow2: Add qcow2_dedup_upda... Benoît Canet
- [Qemu-devel] [RFC V2 10/16] qcow2: Count cluster delete... Benoît Canet
- [Qemu-devel] [RFC V2 03/16] qcow2: Add deduplication me... Benoît Canet
- [Qemu-devel] [RFC V2 11/16] qcow2: Count deduplication ... Benoît Canet
- [Qemu-devel] [RFC V2 05/16] qcow2: Collect unaligned wr... Benoît Canet
- [Qemu-devel] [RFC V2 01/16] qcow2: Add qcow2_co_dedup_r... Benoît Canet
- [Qemu-devel] [RFC V2 07/16] qcow2: Collect undeduplicat... Benoît Canet
- [Qemu-devel] [RFC V2 15/16] qcow2: returns deduplicatio... Benoît Canet
- [Qemu-devel] [RFC V2 02/16] qcow2: Enable the deduplica... Benoît Canet
- [Qemu-devel] [RFC V2 06/16] qcow2: Collect deduplicated... Benoît Canet
- [Qemu-devel] [RFC V2 04/16] qcow2: Initialize deduplica... Benoît Canet
