[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/5] qcow2: add fragmentation and compression info s
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 0/5] qcow2: add fragmentation and compression info support |
Date: |
Tue, 5 Feb 2013 19:54:06 +0100 |
This series adds fragmentation info support to qcow2 and then adds compression
info. Previously only QED supported fragmentation info. Note that
fragmentation info only covers the current image, internal snapshots are not
included.
The new BlockFragInfo.compressed field contains the number of compressed
clusters. qemu-img check now reports the percentage of compressed clusters out
of all allocated clusters. This can be used to decide when to recompress an
image or to double-check that an image is indeed compressed.
qemu-iotests was to handle the new qemu-img check output.
I have tested qcow2 images both compressed and uncompressed.
Stefan Hajnoczi (5):
qcow2: introduce check_refcounts_l1/l2() flags
qcow2: record fragmentation statistics during check
qemu-img: avoid excessive BlockFragInfo line length
qemu-img: add compressed clusters to BlockFragInfo
qcow2: support compressed clusters in BlockFragInfo
block/qcow2-refcount.c | 42 ++++++++++++++++++++++++++++++++++++------
include/block/block.h | 1 +
qemu-img.c | 13 ++++++++-----
tests/qemu-iotests/026 | 6 +++---
tests/qemu-iotests/036 | 2 +-
tests/qemu-iotests/039 | 2 +-
tests/qemu-iotests/044.out | 1 +
tests/qemu-iotests/common.rc | 6 +++---
8 files changed, 54 insertions(+), 19 deletions(-)
--
1.8.1
- [Qemu-devel] [PATCH 0/5] qcow2: add fragmentation and compression info support,
Stefan Hajnoczi <=