|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH] migration: adding migration to/from a file |
Date: | Tue, 20 Jan 2009 10:26:37 -0600 |
User-agent: | Thunderbird 2.0.0.19 (X11/20090105) |
Daniel P. Berrange wrote:
On Tue, Jan 20, 2009 at 01:32:24PM +0200, Uri Lublin wrote:I can call fcntl with F_SETFL and O_NONBLOCK.IIRC that doesn't have any effect on plain files - they'll still potentially block on write.
Yes, it doesn't. I learned this the hard way with the old migration code. When I implemented file: migration, I noticed it never worked properly (properly being live) unless I used a rate limit. Since we defaulted a rate limit, it seemed to work, but the true test is whether it works in the absence of rate limiting.
Regards, Anthony Liguori
Daniel
[Prev in Thread] | Current Thread | [Next in Thread] |