This patchset implements QMP metrics for the qcow2 deduplication.

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

v2:
    replace invalid order operator "<" by "==" in qapi-schema.json [Eric]
    replace running by status which is an enum [Benoît/Eric]
    Compute size of GtreeNode_Copy from RAM usage [Eric]

Benoît Canet (16):
  qcow2: Add qcow2_co_dedup_resume to restart deduplication.
  qcow2: Enable the deduplication feature.
  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   |  214 ++++++++++++++++++++++++++++++++++++++++++++++++-
 block/qcow2.c         |   22 +++++
 block/qcow2.h         |   21 ++++-
 include/block/block.h |   14 ++++
 qapi-schema.json      |   40 ++++++++-
 6 files changed, 341 insertions(+), 6 deletions(-)

-- 
1.7.10.4


Reply via email to