qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 00/18] block/mirror: Add active-sync mirroring


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 00/18] block/mirror: Add active-sync mirroring
Date: Thu, 14 Sep 2017 16:42:21 +0100
User-agent: Mutt/1.8.3 (2017-05-23)

On Wed, Sep 13, 2017 at 08:18:52PM +0200, Max Reitz wrote:
> There may be a couple of things to do on top of this series:
> - Allow switching between active and passive mode at runtime: This
>   should not be too difficult to implement, the main question is how to
>   expose it to the user.
>   (I seem to recall we wanted some form of block-job-set-option
>   command...?)
> 
> - Implement an asynchronous active mode: May be detrimental when it
>   comes to convergence, but it might be nice to have anyway.  May or may
>   not be complicated to implement.

Ideally the user doesn't have to know about async vs sync.  It's an
implementation detail.

Async makes sense during the bulk copy phase (e.g. sync=full) because
guest read/write latencies are mostly unaffected.  Once the entire
device has been copied there are probably still dirty blocks left
because the guest touched them while the mirror job was running.  At
that point it definitely makes sense to switch to synchronous mirroring
in order to converge.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]