---
block/qcow2-dedup.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/block/qcow2-dedup.c b/block/qcow2-dedup.c
index 716371c..0f095a9 100644
--- a/block/qcow2-dedup.c
+++ b/block/qcow2-dedup.c
@@ -524,6 +524,7 @@ static int
qcow2_count_next_non_dedupable_clusters(BlockDriverState *bs,
uint8_t *data,
int left_to_process)
{
+ BDRVQcowState *s = bs->opaque;
int i;
int ret = 0;
QCowHashNode *hash_node;
@@ -546,6 +547,7 @@ static int
qcow2_count_next_non_dedupable_clusters(BlockDriverState *bs,
qcow2_build_and_insert_hash_node(bs, &ds->phash.hash);
add_hash_to_undedupable_list(bs, ds);
+ s->dedup_metrics.non_deduplicated_clusters++;
}
return i;
--
1.7.10.4- [Qemu-devel] [RFC V5 45/62] qcow2: Count deduplication refco... Benoît Canet
- [Qemu-devel] [RFC V5 34/62] qcow2: Add qcow2_dedup_init and ... Benoît Canet
- [Qemu-devel] [RFC V5 49/62] qcow2: returns deduplication met... Benoît Canet
- [Qemu-devel] [RFC V5 47/62] block: Add deduplication metrics... Benoît Canet
- [Qemu-devel] [RFC V5 46/62] qapi: Add support for deduplicat... Benoît Canet
- [Qemu-devel] [RFC V5 61/62] qmp: Add block-pause-dedup. Benoît Canet
- [Qemu-devel] [RFC V5 52/62] qcow2: Add code to deduplicate c... Benoît Canet
- [Qemu-devel] [RFC V5 54/62] block: Add bdrv_is_dedup_running... Benoît Canet
- Re: [Qemu-devel] [RFC V5 00/62] QCOW2 deduplication Eric Blake
- Re: [Qemu-devel] [RFC V5 00/62] QCOW2 deduplication Benoît Canet
- [Qemu-devel] [RFC V5 41/62] qcow2: Collect undeduplicated cl... Benoît Canet
- [Qemu-devel] [RFC V5 03/62] qcow2: Add qcow2_dedup_read_miss... Benoît Canet
- [Qemu-devel] [RFC V5 50/62] qapi: Return virtual block devic... Benoît Canet
- [Qemu-devel] [RFC V5 25/62] qcow2: Add verification of dedup... Benoît Canet
- [Qemu-devel] [RFC V5 39/62] qcow2: Collect unaligned writes ... Benoît Canet
- [Qemu-devel] [RFC V5 07/62] qcow2: Add qcow2_dedup_store_new... Benoît Canet
- [Qemu-devel] [RFC V5 59/62] qcow2: Make dedup status persist... Benoît Canet
- [Qemu-devel] [RFC V5 51/62] block: Add BlockDriver function ... Benoît Canet
- [Qemu-devel] [RFC V5 36/62] qcow2: Enable the deduplication ... Benoît Canet
- [Qemu-devel] [RFC V5 37/62] qcow2: Add deduplication metrics... Benoît Canet
- [Qemu-devel] [RFC V5 27/62] qcow2: Add check_dedup_l2 in ord... Benoît Canet
