---
block/qcow2-dedup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/block/qcow2-dedup.c b/block/qcow2-dedup.c
index d22e2a4..64e5a13 100644
--- a/block/qcow2-dedup.c
+++ b/block/qcow2-dedup.c
@@ -841,6 +841,7 @@ static void qcow2_remove_hash_node(BlockDriverState *bs,
BDRVQcowState *s = bs->opaque;
g_tree_remove(s->dedup_tree_by_sect, &hash_node->physical_sect);
g_tree_remove(s->dedup_tree_by_hash, &hash_node->hash);
+ s->dedup_metrics.ram_hash_deletions++;
}
/* This function removes a hash_node from the trees given a physical sector
--
1.7.10.4- [Qemu-devel] [RFC V1 00/14] QCOW2 deduplication metrics Benoît Canet
- [Qemu-devel] [RFC V1 03/14] qcow2: Collect unaligned wr... Benoît Canet
- [Qemu-devel] [RFC V1 02/14] qcow2: Initialize deduplica... Benoît Canet
- [Qemu-devel] [RFC V1 14/14] qapi: Return virtual block ... Benoît Canet
- [Qemu-devel] [RFC V1 07/14] qcow2: Count QCowHashNode r... Benoît Canet
- [Qemu-devel] [RFC V1 13/14] qcow2: returns deduplicatio... Benoît Canet
- [Qemu-devel] [RFC V1 11/14] block: Add deduplication me... Benoît Canet
- [Qemu-devel] [RFC V1 05/14] qcow2: Collect undeduplicat... Benoît Canet
- [Qemu-devel] [RFC V1 01/14] qcow2: Add deduplication me... Benoît Canet
- [Qemu-devel] [RFC V1 08/14] qcow2: Count cluster delete... Benoît Canet
- [Qemu-devel] [RFC V1 12/14] qcow2: Add qcow2_dedup_upda... Benoît Canet
- [Qemu-devel] [RFC V1 06/14] qcow2: Count QCowHashNode c... Benoît Canet
