qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/10] Add bdrv_flush_all()


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 3/10] Add bdrv_flush_all()
Date: Wed, 10 Sep 2008 10:19:21 -0500
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

Glauber Costa wrote:
On Wed, Sep 10, 2008 at 10:26 AM, Chris Lalancette <address@hidden> wrote:
Anthony Liguori wrote:
This patch adds a bdrv_flush_all() function.  It's necessary to ensure that all
IO operations have been flushed to disk before completely a live migration.

N.B. we don't actually use this now.  We really should flush the block drivers
using an live savevm callback to avoid unnecessary guest down time.
Simple enough, and follows the pattern in the KVM migration.

Chris Lalancette

sounds ok.

I'm actually liking bdrv_flush_all() less and less. If there are any outstanding IO requests, it will increase the down time associated with live migration. I think we definitely need to add a live save handler that waits until there are no outstanding IO requests to converge. I'm concerned though that it's not totally unreasonable to expect a guest to always have an IO request in flight. That leads me to think that maybe we should be cancelling outstanding requests, and somehow saving their state?

Regards,

Anthony Liguori




reply via email to

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