projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6439d7
)
qcow2: support compressed clusters in BlockFragInfo
author
Stefan Hajnoczi
<stefanha@redhat.com>
Thu, 7 Feb 2013 16:15:05 +0000
(17:15 +0100)
committer
Kevin Wolf
<kwolf@redhat.com>
Fri, 22 Feb 2013 20:21:09 +0000
(21:21 +0100)
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qcow2-refcount.c
patch
|
blob
|
history
diff --git
a/block/qcow2-refcount.c
b/block/qcow2-refcount.c
index 771b7b28509d11c0b4ae7117a93f93d0be6701f7..55543edf77b7cc8c7bcc3df862b64722e5f5622c 100644
(file)
--- 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