[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Block job commands in QEMU 1.2 [v2, including support f
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] Block job commands in QEMU 1.2 [v2, including support for replication] |
Date: |
Fri, 25 May 2012 10:59:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
Il 24/05/2012 17:32, Dor Laor ha scritto:
> I didn't understand whether the persistent dirty bitmap needs to be
> flushed. This bitmap actually control the persistent known state of the
> destination image. Since w/ mirroring we always have the source in full
> state condition, we can choose to lazy update the destination w/ a risk
> of loosing some content from the last flush (of the destination only side).
Flushing the dirty bitmap after writing to the target can indeed be
tuned for the application. However, it is not optional to msync the
bitmap when flushing the source. If the source has a power loss, it has
to know what to retransmit.
> This way one can pick the frequency of flushing the persistent bits map
> (and the respective target IO writes). Continuous replication can chose
> a timely based fashion, such as every 5 seconds.
But then the target is not able to restore a consistent state (which is
a state where the dirty bitmap is all-zeros).
The scheme above is roughly what DRBD does. But in any case,
optimizations need to be worked out with a model checker, it's too delicate.
Paolo
Re: [Qemu-devel] Proposal for extensions of block job commands in QEMU 1.2, Paolo Bonzini, 2012/05/21
[Qemu-devel] Block job commands in QEMU 1.2 [v2, including support for replication], Paolo Bonzini, 2012/05/24
- Re: [Qemu-devel] Block job commands in QEMU 1.2 [v2, including support for replication], Ori Mamluk, 2012/05/24
- Re: [Qemu-devel] Block job commands in QEMU 1.2 [v2, including support for replication], Geert Jansen, 2012/05/29
- Re: [Qemu-devel] Block job commands in QEMU 1.2 [v2, including support for replication], Paolo Bonzini, 2012/05/29
- Re: [Qemu-devel] Block job commands in QEMU 1.2 [v2, including support for replication], Geert Jansen, 2012/05/30
- Re: [Qemu-devel] Block job commands in QEMU 1.2 [v2, including support for replication], Paolo Bonzini, 2012/05/30
- Re: [Qemu-devel] Block job commands in QEMU 1.2 [v2, including support for replication], Geert Jansen, 2012/05/31
- Re: [Qemu-devel] Block job commands in QEMU 1.2 [v2, including support for replication], Paolo Bonzini, 2012/05/31
Re: [Qemu-devel] Block job commands in QEMU 1.2 [v2, including support for replication], Roni Luxenberg, 2012/05/31
Re: [Qemu-devel] Block job commands in QEMU 1.2 [v2, including support for replication], Paolo Bonzini, 2012/05/31
Re: [Qemu-devel] Block job commands in QEMU 1.2 [v2, including support for replication], Eric Blake, 2012/05/24