Skip to content

RFC QCOW2 deduplication metrics

Benoît Canet qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest14 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14qcow2: Add deduplication metrics structures.block/qcow2.h include/block/block.h+13 -10 replies
2/14qcow2: Initialize deduplication metrics.block/qcow2-dedup.c+2 -00 replies
3/14qcow2: Collect unaligned writes missing data reads metric.block/qcow2-dedup.c+2 -00 replies
4/14qcow2: Collect deduplicated cluster metric.block/qcow2-dedup.c+8 -40 replies
5/14qcow2: Collect undeduplicated cluster metric.block/qcow2-dedup.c+2 -00 replies
6/14qcow2: Count QCowHashNode creation metrics.block/qcow2-dedup.c+2 -00 replies
7/14qcow2: Count QCowHashNode removal from tree for metrics.block/qcow2-dedup.c+1 -00 replies
8/14qcow2: Count cluster deleted metricblock/qcow2-dedup.c+1 -00 replies
9/14qcow2: Count deduplication refcount overflow metric.block/qcow2-dedup.c+1 -00 replies
10/14qapi: Add support for deduplication infos in qapi-schema.json.qapi-schema.json+39 -13 replies
11/14block: Add deduplication metrics to BlockDriverInfo.include/block/block.h+3 -00 replies
12/14qcow2: Add qcow2_dedup_update_metrics to compute dedup RAM usage.block/qcow2-dedup.c block/qcow2.h+14 -03 replies
13/14qcow2: returns deduplication metrics and status via bdrv_get_info()block/qcow2.c+4 -00 replies
14/14qapi: Return virtual block device deduplication metrics in QMPblock.c+36 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [RFC V1 00/14] QCOW2 deduplication metrics

This patchset implements QMP metrics for the qcow2 deduplication.

It applies on top of the "QCOW2 deduplication core functionality" patchset.

Benoît Canet (14):
qcow2: Add deduplication metrics structures.
qcow2: Initialize deduplication metrics.
qcow2: Collect unaligned writes missing data reads metric.
qcow2: Collect deduplicated cluster metric.
qcow2: Collect undeduplicated cluster metric.
qcow2: Count QCowHashNode creation metrics.
qcow2: Count QCowHashNode removal from tree for metrics.
qcow2: Count cluster deleted metric
qcow2: Count deduplication refcount overflow metric.
qapi: Add support for deduplication infos in qapi-schema.json.
block: Add deduplication metrics to BlockDriverInfo.
qcow2: Add qcow2_dedup_update_metrics to compute dedup RAM usage.
qcow2: returns deduplication metrics and status via bdrv_get_info()
qapi: Return virtual block device deduplication metrics in QMP

 block.c               |   36 ++++++++++++++++++++++++++++++++++++
 block/qcow2-dedup.c   |   36 ++++++++++++++++++++++++++++++++----
 block/qcow2.c         |    4 ++++
 block/qcow2.h         |    4 +++-
 include/block/block.h |   14 ++++++++++++++
 qapi-schema.json      |   40 +++++++++++++++++++++++++++++++++++++++-
 6 files changed, 128 insertions(+), 6 deletions(-)
Signature · 1 line
1.7.10.4