qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: Live migration broken when under heavy IO


From: Avi Kivity
Subject: [Qemu-devel] Re: Live migration broken when under heavy IO
Date: Tue, 16 Jun 2009 12:10:38 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 06/15/2009 11:33 PM, Anthony Liguori wrote:
The basic issue is that:

migrate_fd_put_ready():    bdrv_flush_all();

Does:

block.c:

foreach block driver:
  drv->flush(bs);

Which in the case of raw, is just fsync(s->fd).

Any submitted request is not queued or flushed which will lead to the request being dropped after the live migration.

Is anyone working on fixing this?

Not to my knowledge

Does anyone have a clever idea how to fix this without just waiting for all IO requests to complete?

What's wrong with waiting for requests to complete? It should take a few tens of milliseconds.

We could start throttling requests late in the live stage, but I don't really see the point.

Isn't virtio migration currently broken due to the qdev changes?

--
error compiling committee.c: too many arguments to function





reply via email to

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