[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC V1 08/14] qcow2: Count cluster deleted metric
From: |
Benoît Canet |
Subject: |
[Qemu-devel] [RFC V1 08/14] qcow2: Count cluster deleted metric |
Date: |
Wed, 16 Jan 2013 17:25:02 +0100 |
---
block/qcow2-dedup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/block/qcow2-dedup.c b/block/qcow2-dedup.c
index 64e5a13..4a1b184 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 V1 00/14] QCOW2 deduplication metrics, Benoît Canet, 2013/01/16
- [Qemu-devel] [RFC V1 03/14] qcow2: Collect unaligned writes missing data reads metric., Benoît Canet, 2013/01/16
- [Qemu-devel] [RFC V1 02/14] qcow2: Initialize deduplication metrics., Benoît Canet, 2013/01/16
- [Qemu-devel] [RFC V1 01/14] qcow2: Add deduplication metrics structures., Benoît Canet, 2013/01/16
- [Qemu-devel] [RFC V1 05/14] qcow2: Collect undeduplicated cluster metric., Benoît Canet, 2013/01/16
- [Qemu-devel] [RFC V1 04/14] qcow2: Collect deduplicated cluster metric., Benoît Canet, 2013/01/16
- [Qemu-devel] [RFC V1 08/14] qcow2: Count cluster deleted metric,
Benoît Canet <=
- [Qemu-devel] [RFC V1 09/14] qcow2: Count deduplication refcount overflow metric., Benoît Canet, 2013/01/16
- [Qemu-devel] [RFC V1 07/14] qcow2: Count QCowHashNode removal from tree for metrics., Benoît Canet, 2013/01/16
- [Qemu-devel] [RFC V1 06/14] qcow2: Count QCowHashNode creation metrics., Benoît Canet, 2013/01/16
- [Qemu-devel] [RFC V1 10/14] qapi: Add support for deduplication infos in qapi-schema.json., Benoît Canet, 2013/01/16
- [Qemu-devel] [RFC V1 14/14] qapi: Return virtual block device deduplication metrics in QMP, Benoît Canet, 2013/01/16
- [Qemu-devel] [RFC V1 13/14] qcow2: returns deduplication metrics and status via bdrv_get_info(), Benoît Canet, 2013/01/16
- [Qemu-devel] [RFC V1 11/14] block: Add deduplication metrics to BlockDriverInfo., Benoît Canet, 2013/01/16