From e6439d783cce2c5cdbe4f8028f0b45162b540f82 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Thu, 7 Feb 2013 17:15:04 +0100 Subject: qemu-img: add compressed clusters to BlockFragInfo Show how many clusters are compressed. This can be used to monitor how many compressed clusters remain and whether to recompress the image. Suggested-by: Cole Robinson Signed-off-by: Stefan Hajnoczi --- include/block/block.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/block') diff --git a/include/block/block.h b/include/block/block.h index ce61883fc9..9661f9aa46 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -24,6 +24,7 @@ typedef struct BlockFragInfo { uint64_t allocated_clusters; uint64_t total_clusters; uint64_t fragmented_clusters; + uint64_t compressed_clusters; } BlockFragInfo; typedef struct QEMUSnapshotInfo { -- cgit v1.2.3-55-g7522