--- block/qcow2-dedup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/block/qcow2-dedup.c b/block/qcow2-dedup.c index 997714b..e4920d4 100644 --- a/block/qcow2-dedup.c +++ b/block/qcow2-dedup.c @@ -130,6 +130,7 @@ int qcow2_dedup_read_missing_and_concatenate(BlockDriverState *bs, /* read beginning */ if (cluster_beginning_nr) { + s->dedup_metrics.missing_data_reads++; ret = qcow2_read_cluster_data(bs, *data, cluster_beginning_sector, @@ -153,6 +154,7 @@ int qcow2_dedup_read_missing_and_concatenate(BlockDriverState *bs, /* read and add ending */ if (cluster_ending_nr) { + s->dedup_metrics.missing_data_reads++; ret = qcow2_read_cluster_data(bs, *data + (cluster_beginning_nr + -- 1.7.10.4
- [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
- [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
- [Qemu-devel] [RFC V5 24/62] qcow2: Serialize write requests ... Benoît Canet
- [Qemu-devel] [RFC V5 29/62] qcow2: Integrate SKEIN hash algo... Benoît Canet
- [Qemu-devel] [RFC V5 26/62] qcow2: Adapt checking of QCOW_OF... Benoît Canet
- [Qemu-devel] [RFC V5 21/62] qcow2: Remove hash when cluster ... Benoît Canet