qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] drive-mirror sync points
@ 2013-05-13 17:50 Wolfgang Richter
  2013-05-13 19:05 ` Paolo Bonzini
  2013-05-13 21:46 ` Richard W.M. Jones
  0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Richter @ 2013-05-13 17:50 UTC (permalink / raw)
  To: Paolo Bonzini, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

Paolo/anyone who knows -

Are drive-mirror sync points (NBD flush commands) reflecting guest write
barriers?  Are guest write barriers respected by drive-mirror?  If so, that
would make drive-mirror much more palatable for disk introspection work (a
drop-in usable feature of QEMU!).

-- 
Wolf

[-- Attachment #2: Type: text/html, Size: 376 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] drive-mirror sync points
  2013-05-13 17:50 [Qemu-devel] drive-mirror sync points Wolfgang Richter
@ 2013-05-13 19:05 ` Paolo Bonzini
  2013-05-13 21:46 ` Richard W.M. Jones
  1 sibling, 0 replies; 5+ messages in thread
From: Paolo Bonzini @ 2013-05-13 19:05 UTC (permalink / raw)
  To: Wolfgang Richter; +Cc: qemu-devel

Il 13/05/2013 19:50, Wolfgang Richter ha scritto:
> Paolo/anyone who knows -
> 
> Are drive-mirror sync points (NBD flush commands) reflecting guest write
> barriers?  Are guest write barriers respected by drive-mirror?  If so,
> that would make drive-mirror much more palatable for disk introspection
> work (a drop-in usable feature of QEMU!).

Kind of.  Sync points reflect points where the destination image is a
copy of the source image at some point in time.  Destination image write
barriers hence reflect places where the destination image is consistent
with guest write barriers, but not all guest write barriers become
destination image write barriers.

Paolo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] drive-mirror sync points
  2013-05-13 17:50 [Qemu-devel] drive-mirror sync points Wolfgang Richter
  2013-05-13 19:05 ` Paolo Bonzini
@ 2013-05-13 21:46 ` Richard W.M. Jones
  2013-05-13 21:50   ` Richard W.M. Jones
  2013-05-13 22:09   ` Wolfgang Richter
  1 sibling, 2 replies; 5+ messages in thread
From: Richard W.M. Jones @ 2013-05-13 21:46 UTC (permalink / raw)
  To: Wolfgang Richter; +Cc: Paolo Bonzini, qemu-devel

On Mon, May 13, 2013 at 01:50:00PM -0400, Wolfgang Richter wrote:
> Paolo/anyone who knows -
> 
> Are drive-mirror sync points (NBD flush commands) reflecting guest write
> barriers?  Are guest write barriers respected by drive-mirror?  If so, that
> would make drive-mirror much more palatable for disk introspection work (a
> drop-in usable feature of QEMU!).

I'm also interested in this question.  Further extensions to this
(*not* drive-mirror on its own AIUI) which stefanha is working on
should allow libguestfs to perform point-in-time snapshots of images,
which will mean that we can do complex and long-running inspection
operations on live guests.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] drive-mirror sync points
  2013-05-13 21:46 ` Richard W.M. Jones
@ 2013-05-13 21:50   ` Richard W.M. Jones
  2013-05-13 22:09   ` Wolfgang Richter
  1 sibling, 0 replies; 5+ messages in thread
From: Richard W.M. Jones @ 2013-05-13 21:50 UTC (permalink / raw)
  To: Wolfgang Richter; +Cc: Paolo Bonzini, qemu-devel

On Mon, May 13, 2013 at 10:46:55PM +0100, Richard W.M. Jones wrote:
> On Mon, May 13, 2013 at 01:50:00PM -0400, Wolfgang Richter wrote:
> > Paolo/anyone who knows -
> > 
> > Are drive-mirror sync points (NBD flush commands) reflecting guest write
> > barriers?  Are guest write barriers respected by drive-mirror?  If so, that
> > would make drive-mirror much more palatable for disk introspection work (a
> > drop-in usable feature of QEMU!).
> 
> I'm also interested in this question.  Further extensions to this
> (*not* drive-mirror on its own AIUI) which stefanha is working on
> should allow libguestfs to perform point-in-time snapshots of images,
> which will mean that we can do complex and long-running inspection
> operations on live guests.

OK, I got my attributions wrong there.  I see that Dietmar Maurer
wrote the original version of the patch and Stefan modified that.
Anyway I'm very interested in point-in-time snapshots.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] drive-mirror sync points
  2013-05-13 21:46 ` Richard W.M. Jones
  2013-05-13 21:50   ` Richard W.M. Jones
@ 2013-05-13 22:09   ` Wolfgang Richter
  1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Richter @ 2013-05-13 22:09 UTC (permalink / raw)
  To: Richard W.M. Jones; +Cc: Paolo Bonzini, Wolfgang Richter, qemu-devel

On May 13, 2013, at 5:46 PM, "Richard W.M. Jones" <rjones@redhat.com> wrote:

> On Mon, May 13, 2013 at 01:50:00PM -0400, Wolfgang Richter wrote:
>> Paolo/anyone who knows -
>> 
>> Are drive-mirror sync points (NBD flush commands) reflecting guest write
>> barriers?  Are guest write barriers respected by drive-mirror?  If so, that
>> would make drive-mirror much more palatable for disk introspection work (a
>> drop-in usable feature of QEMU!).
> 
> I'm also interested in this question.  Further extensions to this
> (*not* drive-mirror on its own AIUI) which stefanha is working on
> should allow libguestfs to perform point-in-time snapshots of images,
> which will mean that we can do complex and long-running inspection
> operations on live guests.

And I'm trying to do complex, long-running inspection on live guests without needing point-in-time snapshots :-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-05-13 22:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-13 17:50 [Qemu-devel] drive-mirror sync points Wolfgang Richter
2013-05-13 19:05 ` Paolo Bonzini
2013-05-13 21:46 ` Richard W.M. Jones
2013-05-13 21:50   ` Richard W.M. Jones
2013-05-13 22:09   ` Wolfgang Richter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).