qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC PATCH] replication agent module


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC PATCH] replication agent module
Date: Tue, 07 Feb 2012 16:47:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0

On 02/07/2012 03:48 PM, Ori Mamluk wrote:
The current streaming code in QEMU only deals with the former.
Streaming to a remote server would not be supported.

I need it at the same time. The Rephub reads either the full volume or
parts of, and concurrently protects new IOs.

Why can't QEMU itself stream the full volume in the background, and send that together with any new I/O? Is it because the rephub knows which parts are out-of-date and need recovery? In that case, as a first approximation the rephub can pass the sector at which streaming should start.

But I'm also starting to wonder whether it would be simpler to use existing replication code. DRBD is more feature-rich, and you can use it over loopback or NBD devices (respectively raw and non-raw), and also store the replication metadata on a file using the loopback device. Ceph even has a userspace library and support within QEMU.

Paolo



reply via email to

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