[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 4/7] block/qcow2: Implement status CB for ame
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v2 4/7] block/qcow2: Implement status CB for amend |
Date: |
Tue, 05 Aug 2014 07:11:51 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 |
On 08/01/2014 05:49 PM, Max Reitz wrote:
> The only really time-consuming operation potentially performed by
> qcow2_amend_options() is zero cluster expansion when downgrading qcow2
> images from compat=1.1 to compat=0.10, so report status of that
> operation and that operation only through the status CB.
>
> For this, approximate the progress as the number of L1 entries visited
> during the operation.
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> block/qcow2-cluster.c | 37 +++++++++++++++++++++++++++++++++----
> block/qcow2.c | 7 ++++---
> block/qcow2.h | 3 ++-
> 3 files changed, 39 insertions(+), 8 deletions(-)
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH v2 1/7] block: Add status callback to bdrv_amend_options(), (continued)
- [Qemu-devel] [PATCH v2 3/7] qemu-img: Fix insignificant memleak, Max Reitz, 2014/08/01
- [Qemu-devel] [PATCH v2 2/7] qemu-img: Add progress output for amend, Max Reitz, 2014/08/01
- [Qemu-devel] [PATCH v2 4/7] block/qcow2: Implement status CB for amend, Max Reitz, 2014/08/01
- [Qemu-devel] [PATCH v2 5/7] block/qcow2: Make get_refcount() global, Max Reitz, 2014/08/01
- [Qemu-devel] [PATCH v2 6/7] block/qcow2: Simplify shared L2 handling in amend, Max Reitz, 2014/08/01
- [Qemu-devel] [PATCH v2 7/7] iotests: Expand test 061, Max Reitz, 2014/08/01