[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v6 06/14] block/mirror: Improve progress report
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v6 06/14] block/mirror: Improve progress report |
Date: |
Tue, 29 Apr 2014 19:59:21 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
On 04/29/2014 09:07 AM, Max Reitz wrote:
> Instead of taking the total length of the block device as the block
> job's length, use the number of dirty sectors. The progress is now the
> number of sectors mirrored to the target block device. Note that this
> may result in the job's length increasing during operation, which is
> however in fact desirable.
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> block/mirror.c | 32 +++++++++++++++++++++-----------
> 1 file changed, 21 insertions(+), 11 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 v6 01/14] qcow2: Allow "full" discard, (continued)
- [Qemu-devel] [PATCH v6 02/14] qcow2: Implement bdrv_make_empty(), Max Reitz, 2014/04/29
- [Qemu-devel] [PATCH v6 03/14] qcow2: Optimize bdrv_make_empty(), Max Reitz, 2014/04/29
- [Qemu-devel] [PATCH v6 04/14] blockjob: Introduce block_job_complete_sync(), Max Reitz, 2014/04/29
- [Qemu-devel] [PATCH v6 05/14] blockjob: Add "ready" field, Max Reitz, 2014/04/29
- [Qemu-devel] [PATCH v6 06/14] block/mirror: Improve progress report, Max Reitz, 2014/04/29
- Re: [Qemu-devel] [PATCH v6 06/14] block/mirror: Improve progress report,
Eric Blake <=
- [Qemu-devel] [PATCH v6 07/14] qemu-img: Implement commit like QMP, Max Reitz, 2014/04/29
- [Qemu-devel] [PATCH v6 08/14] qemu-img: Empty image after commit, Max Reitz, 2014/04/29
- [Qemu-devel] [PATCH v6 09/14] qemu-img: Enable progress output for commit, Max Reitz, 2014/04/29
- [Qemu-devel] [PATCH v6 10/14] qemu-img: Specify backing file for commit, Max Reitz, 2014/04/29
- [Qemu-devel] [PATCH v6 11/14] iotests: Add _filter_qemu_img_map, Max Reitz, 2014/04/29
- [Qemu-devel] [PATCH v6 12/14] iotests: Add test for backing-chain commits, Max Reitz, 2014/04/29