[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] migration: adding migration to/from a file (v2)
From: |
Jamie Lokier |
Subject: |
Re: [Qemu-devel] migration: adding migration to/from a file (v2) |
Date: |
Thu, 19 Feb 2009 19:33:24 +0000 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Uri Lublin wrote:
> Your concern in the previous patch was that write() to a regular file might
> block. That's why I'm calling select before calling write. Do you think
> select will mark the fd as writeable but write would still block ?
select() on a regular file _always_ marks the fd as writable. That's
one of the rules of select(). For non-blocking file access you can
only use threads or AIO, or a helper process.
-- Jamie
- Re: [Qemu-devel] migration: adding migration to/from a file (v2), (continued)
- Re: [Qemu-devel] migration: adding migration to/from a file (v2), Anthony Liguori, 2009/02/19
- Re: [Qemu-devel] migration: adding migration to/from a file (v2), Uri Lublin, 2009/02/19
- Re: [Qemu-devel] migration: adding migration to/from a file (v2), Anthony Liguori, 2009/02/19
- Re: [Qemu-devel] migration: adding migration to/from a file (v2), Jamie Lokier, 2009/02/19
- Re: [Qemu-devel] migration: adding migration to/from a file (v2), M. Warner Losh, 2009/02/19
- Re: [Qemu-devel] migration: adding migration to/from a file (v2), Anthony Liguori, 2009/02/19
- Re: [Qemu-devel] migration: adding migration to/from a file (v2), M. Warner Losh, 2009/02/19
- Re: [Qemu-devel] migration: adding migration to/from a file (v2), Uri Lublin, 2009/02/19
- Re: [Qemu-devel] migration: adding migration to/from a file (v2), Jamie Lokier, 2009/02/19
- Re: [Qemu-devel] migration: adding migration to/from a file (v2), Anthony Liguori, 2009/02/19
- Re: [Qemu-devel] migration: adding migration to/from a file (v2),
Jamie Lokier <=