[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/5] qcow2: support compressed clusters in BlockFrag
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 5/5] qcow2: support compressed clusters in BlockFragInfo |
Date: |
Tue, 5 Feb 2013 19:54:11 +0100 |
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 3d85e99..eb90a37 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++;
if (next_contiguous_offset &&
(l2_entry & ~511) != next_contiguous_offset) {
res->bfi.fragmented_clusters++;
--
1.8.1
- Re: [Qemu-devel] [PATCH 2/5] qcow2: record fragmentation statistics during check, (continued)
- [Qemu-devel] [PATCH 5/5] qcow2: support compressed clusters in BlockFragInfo,
Stefan Hajnoczi <=