---
block/qcow2-dedup.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/block/qcow2-dedup.c b/block/qcow2-dedup.c
index 0f095a9..d22e2a4 100644
--- a/block/qcow2-dedup.c
+++ b/block/qcow2-dedup.c
@@ -289,6 +289,7 @@ static void
qcow2_build_and_insert_hash_node(BlockDriverState *bs,
QCOW_FLAG_EMPTY,
QCOW_FLAG_EMPTY);
g_tree_insert(s->dedup_tree_by_hash, &hash_node->hash, hash_node);
+ s->dedup_metrics.ram_hash_creations++;
}
/*
@@ -1043,6 +1044,7 @@ static void qcow2_dedup_insert_hash_node(BlockDriverState
*bs,
g_tree_insert(s->dedup_tree_by_hash, &hash_node->hash, hash_node);
g_tree_insert(s->dedup_tree_by_sect, &hash_node->physical_sect, hash_node);
+ s->dedup_metrics.ram_hash_creations++;
}
/* This load the QCowHashNode corresponding to a given cluster index into ram
--
1.7.10.4- [Qemu-devel] [RFC V5 30/62] qcow2: Add lazy refcounts to ded... Benoît Canet
- [Qemu-devel] [RFC V5 14/62] qcow2: Load and save deduplicati... Benoît Canet
- [Qemu-devel] [RFC V5 40/62] qcow2: Collect deduplicated clus... Benoît Canet
- [Qemu-devel] [RFC V5 13/62] qcow2: Create qcow2_is_cluster_t... Benoît Canet
- [Qemu-devel] [RFC V5 38/62] qcow2: Initialize deduplication ... Benoît Canet
- [Qemu-devel] [RFC V5 48/62] qcow2: Add qcow2_dedup_update_me... Benoît Canet
- [Qemu-devel] [RFC V5 22/62] qcow2: Add qcow2_dedup_is_runnin... Benoît Canet
- [Qemu-devel] [RFC V5 44/62] qcow2: Count cluster deleted met... Benoît Canet
- [Qemu-devel] [RFC V5 56/62] block: Add bdrv_pause_dedup. Benoît Canet
- [Qemu-devel] [RFC V5 09/62] qcow2: Extract qcow2_dedup_grow_... Benoît Canet
- [Qemu-devel] [RFC V5 42/62] qcow2: Count QCowHashNode creati... Benoît Canet
- [Qemu-devel] [RFC V5 12/62] qcow2: make the deduplication fo... Benoît Canet
