Patchwork [RFC,V2,13/16] block: Add deduplication metrics to BlockDriverInfo.

login
register
mail settings
Submitter Benoît Canet
Date Feb. 6, 2013, 12:32 p.m.
Message ID <1360153939-9563-14-git-send-email-benoit@irqsave.net>
Download mbox | patch
Permalink /patch/218731/
State New
Headers show

Comments

Benoît Canet - Feb. 6, 2013, 12:32 p.m.
---
 include/block/block.h |    3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/include/block/block.h b/include/block/block.h
index 162f8a9..4d61ff4 100644
--- a/include/block/block.h
+++ b/include/block/block.h
@@ -29,6 +29,9 @@  typedef struct BlockDriverInfo {
     /* offset at which the VM state can be saved (0 if not possible) */
     int64_t vm_state_offset;
     bool is_dirty;
+    bool has_dedup;
+    DedupStatus dedup_status;
+    BlockDeduplicationMetrics dedup_metrics;
 } BlockDriverInfo;
 
 typedef struct BlockFragInfo {