[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 12/20] mirror: support arbitrarily-sized iterati
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 12/20] mirror: support arbitrarily-sized iterations |
Date: |
Fri, 14 Dec 2012 15:39:53 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 12/12/2012 06:46 AM, Paolo Bonzini wrote:
> Yet another optimization is to extend the mirroring iteration to include more
> adjacent dirty blocks. This limits the number of I/O operations and makes
> mirroring efficient even with a small granularity. Most of the infrastructure
> is already in place; we only need to put a loop around the computation of
> the origin and sector count of the iteration.
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> block/mirror.c | 100
> +++++++++++++++++++++++++++++++++++++++------------------
> trace-events | 1 +
> 2 files changed, 69 insertions(+), 32 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
- [Qemu-devel] [PATCH 09/20] mirror: switch mirror_iteration to AIO, (continued)
- [Qemu-devel] [PATCH 08/20] mirror: allow customizing the granularity, Paolo Bonzini, 2012/12/12
- [Qemu-devel] [PATCH 10/20] mirror: add buf-size argument to drive-mirror, Paolo Bonzini, 2012/12/12
- [Qemu-devel] [PATCH 12/20] mirror: support arbitrarily-sized iterations, Paolo Bonzini, 2012/12/12
- Re: [Qemu-devel] [PATCH 12/20] mirror: support arbitrarily-sized iterations,
Eric Blake <=
- [Qemu-devel] [PATCH 11/20] mirror: support more than one in-flight AIO operation, Paolo Bonzini, 2012/12/12
- [Qemu-devel] [PATCH 13/20] oslib: add a wrapper for mmap/munmap, Paolo Bonzini, 2012/12/12
- [Qemu-devel] [PATCH 14/20] hbitmap: add hbitmap_alloc_with_data and hbitmap_required_size, Paolo Bonzini, 2012/12/12
- [Qemu-devel] [PATCH 15/20] hbitmap: add hbitmap_copy, Paolo Bonzini, 2012/12/12