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

Submitted by Benoît Canet on Feb. 6, 2013, 12:32 p.m.

Details

Message ID 1360153939-9563-14-git-send-email-benoit@irqsave.net
State New
Headers show

Commit Message

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

Patch hide | download patch | download mbox

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 {