Re: [PATCH qemu 2/4] drive-mirror: add support for conditional and always bitmap sync modes

2020-10-02 Thread Fabian Grünbichler
On October 1, 2020 7:01 pm, Max Reitz wrote: > On 22.09.20 11:14, Fabian Grünbichler wrote: >> From: John Snow >> >> Teach mirror two new tricks for using bitmaps: >> >> Always: no matter what, we synchronize the copy_bitmap back to the >> sync_bitmap. In effect, this allows us resume a failed

Re: [PATCH qemu 2/4] drive-mirror: add support for conditional and always bitmap sync modes

2020-10-01 Thread Max Reitz
On 22.09.20 11:14, Fabian Grünbichler wrote: > From: John Snow > > Teach mirror two new tricks for using bitmaps: > > Always: no matter what, we synchronize the copy_bitmap back to the > sync_bitmap. In effect, this allows us resume a failed mirror at a later > date, since the target bdrv

[PATCH qemu 2/4] drive-mirror: add support for conditional and always bitmap sync modes

2020-09-22 Thread Fabian Grünbichler
From: John Snow Teach mirror two new tricks for using bitmaps: Always: no matter what, we synchronize the copy_bitmap back to the sync_bitmap. In effect, this allows us resume a failed mirror at a later date, since the target bdrv should be exactly in the state referenced by the bitmap.