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

2017-09-16 Thread Max Reitz
On 2017-09-14 17:42, Stefan Hajnoczi wrote: > 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 ques

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

2017-09-14 Thread Stefan Hajnoczi
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

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

2017-09-13 Thread Max Reitz
This series implements an active and synchronous mirroring mode. Currently, the mirror block job is passive an asynchronous: Depending on your start conditions, some part of the source disk starts as "dirty". Then, the block job will (as a background operation) continuously copy dirty parts to the