提交 4db35162 编写于 作者: S Stefan Hajnoczi 提交者: Kevin Wolf

qcow2: support compressed clusters in BlockFragInfo

Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
上级 e6439d78
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册