qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 07/22] qcow2: support compressed clusters in BlockFr


From: Kevin Wolf
Subject: [Qemu-devel] [PATCH 07/22] qcow2: support compressed clusters in BlockFragInfo
Date: Fri, 22 Feb 2013 22:23:36 +0100

From: Stefan Hajnoczi <address@hidden>

Signed-off-by: Stefan Hajnoczi <address@hidden>
---
 block/qcow2-refcount.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/block/qcow2-refcount.c b/block/qcow2-refcount.c
index 771b7b2..55543ed 100644
--- a/block/qcow2-refcount.c
+++ b/block/qcow2-refcount.c
@@ -968,6 +968,7 @@ static int check_refcounts_l2(BlockDriverState *bs, 
BdrvCheckResult *res,
 
             if (flags & CHECK_FRAG_INFO) {
                 res->bfi.allocated_clusters++;
+                res->bfi.compressed_clusters++;
 
                 /* Compressed clusters are fragmented by nature.  Since they
                  * take up sub-sector space but we only have sector granularity
-- 
1.8.1.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]