Re: [PATCH] blockjob: wait for pivot to complete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/14/14 18:18, Eric Blake wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1119173 documents that
> commit eaba79d was flawed in the implementation of the
> VIR_DOMAIN_BLOCK_JOB_ABORT_ASYNC flag when it comes to completing
> a blockcopy.  Basically, the qemu pivot action is async (the QMP
> command returns immediately, but the user must wait for the
> BLOCK_JOB_COMPLETE event to know that all I/O related to the job
> has finally been flushed), but the libvirt command was documented
> as synchronous by default.  As active block commit will also be
> using this code, it is worth fixing now.
> 
> * src/qemu/qemu_driver.c (qemuDomainBlockJobImpl): Don't skip wait
> loop after pivot.
> 
> Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
> ---
> 
> Shown here with extra context, to hopefully aid the review.
> 
>  src/qemu/qemu_driver.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

ACK,

Peter


Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]