Re: [Qemu-devel] [PATCH 44/47] mirror: switch mirror_iteration to AIO

2012-07-30 Thread Paolo Bonzini
Il 28/07/2012 15:46, Eric Blake ha scritto: > On 07/24/2012 05:04 AM, Paolo Bonzini wrote: >> There is really no change in the behavior of the job here, since there >> is still a maximum of one in-flight I/O operation between the source and >> the target. However, this patch already introduces mov

Re: [Qemu-devel] [PATCH 44/47] mirror: switch mirror_iteration to AIO

2012-07-28 Thread Eric Blake
On 07/24/2012 05:04 AM, Paolo Bonzini wrote: > There is really no change in the behavior of the job here, since there > is still a maximum of one in-flight I/O operation between the source and > the target. However, this patch already introduces moves the copy logic grammar: 'already introduces m

[Qemu-devel] [PATCH 44/47] mirror: switch mirror_iteration to AIO

2012-07-24 Thread Paolo Bonzini
There is really no change in the behavior of the job here, since there is still a maximum of one in-flight I/O operation between the source and the target. However, this patch already introduces moves the copy logic from mirror_iteration to AIO callbacks; it also adds the logic to count in-flight