diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2013-02-07 17:15:05 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-02-22 21:21:09 +0100 |
commit | 4db35162ea54d84c29074adfcff470ee2687e7b9 (patch) | |
tree | 25810b1f6aa50549e7a47df62dad75f4b32d1f6e /block | |
parent | e6439d783cce2c5cdbe4f8028f0b45162b540f82 (diff) |
qcow2: support compressed clusters in BlockFragInfo
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/qcow2-refcount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/qcow2-refcount.c b/block/qcow2-refcount.c index 771b7b2850..55543edf77 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 |