Re: [libvirt] [PATCH 1/6] Enhance the streams helper to support plain file I/O

2011-04-07 Thread Wen Congyang
At 03/24/2011 01:36 AM, Daniel P. Berrange Write: The O_NONBLOCK flag doesn't work as desired on plain files or block devices. Introduce an I/O helper program that does the blocking I/O operations, communicating over a pipe that can support O_NONBLOCK * src/fdstream.c, src/fdstream.h: Add

Re: [libvirt] [PATCH 1/6] Enhance the streams helper to support plain file I/O

2011-04-07 Thread Jim Fehlig
Wen Congyang wrote: At 03/24/2011 01:36 AM, Daniel P. Berrange Write: The O_NONBLOCK flag doesn't work as desired on plain files or block devices. Introduce an I/O helper program that does the blocking I/O operations, communicating over a pipe that can support O_NONBLOCK *

Re: [libvirt] [PATCH 1/6] Enhance the streams helper to support plain file I/O

2011-04-07 Thread Daniel P. Berrange
On Thu, Apr 07, 2011 at 10:41:34AM -0600, Jim Fehlig wrote: Wen Congyang wrote: At 03/24/2011 01:36 AM, Daniel P. Berrange Write: The O_NONBLOCK flag doesn't work as desired on plain files or block devices. Introduce an I/O helper program that does the blocking I/O operations,

Re: [libvirt] [PATCH 1/6] Enhance the streams helper to support plain file I/O

2011-03-24 Thread Eric Blake
On 03/23/2011 11:36 AM, Daniel P. Berrange wrote: The O_NONBLOCK flag doesn't work as desired on plain files or block devices. Introduce an I/O helper program that does the blocking I/O operations, communicating over a pipe that can support O_NONBLOCK * src/fdstream.c, src/fdstream.h: Add

[libvirt] [PATCH 1/6] Enhance the streams helper to support plain file I/O

2011-03-23 Thread Daniel P. Berrange
The O_NONBLOCK flag doesn't work as desired on plain files or block devices. Introduce an I/O helper program that does the blocking I/O operations, communicating over a pipe that can support O_NONBLOCK * src/fdstream.c, src/fdstream.h: Add non-blocking I/O on plain files/block devices *

[libvirt] [PATCH 1/6] Enhance the streams helper to support plain file I/O

2011-03-22 Thread Daniel P. Berrange
The O_NONBLOCK flag doesn't work as desired on plain files or block devices. Introduce an I/O helper program that does the blocking I/O operations, communicating over a pipe that can support O_NONBLOCK * src/fdstream.c, src/fdstream.h: Add non-blocking I/O on plain files/block devices *

Re: [libvirt] [PATCH 1/6] Enhance the streams helper to support plain file I/O

2011-03-22 Thread Eric Blake
On 03/22/2011 05:29 AM, Daniel P. Berrange wrote: The O_NONBLOCK flag doesn't work as desired on plain files or block devices. Introduce an I/O helper program that does the blocking I/O operations, communicating over a pipe that can support O_NONBLOCK * src/fdstream.c, src/fdstream.h: Add