public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Live migration broken when under heavy IO
@ 2009-06-15 20:33 Anthony Liguori
  2009-06-15 20:48 ` [Qemu-devel] " Glauber Costa
  2009-06-16  9:10 ` Avi Kivity
  0 siblings, 2 replies; 8+ messages in thread
From: Anthony Liguori @ 2009-06-15 20:33 UTC (permalink / raw)
  To: qemu-devel@nongnu.org, kvm-devel

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?  Does anyone have a clever idea how to 
fix this without just waiting for all IO requests to complete?

---

Regards,

Anthony Liguori


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

end of thread, other threads:[~2009-06-16 13:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-15 20:33 Live migration broken when under heavy IO Anthony Liguori
2009-06-15 20:48 ` [Qemu-devel] " Glauber Costa
2009-06-16  9:10 ` Avi Kivity
2009-06-16  9:13   ` Avi Kivity
2009-06-16 12:50   ` Anthony Liguori
2009-06-16 12:54     ` Avi Kivity
2009-06-16 12:57       ` Anthony Liguori
2009-06-16 13:12         ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox