diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-05-20 00:15:50 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-05-19 08:45:50 -0400 |
commit | cdfadfc1adb87fc7e8a631b1f299715feacbde90 (patch) | |
tree | fc7ace0ea80df94ed85176c493d9ae341f146b9d /Documentation/mutex-design.txt | |
parent | 60caacd3eeab68672961e88db01e26735527d521 (diff) |
virtio: console: Add support for nonblocking write()s
If the host port is not open, a write() should either just return if the
file is opened in non-blocking mode, or block till the host port is
opened.
Also, don't spin till host consumes data for nonblocking ports. For
non-blocking ports, we can do away with the spinning and reclaim the
buffers consumed by the host on the next write call or on the condition
that'll make poll return.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'Documentation/mutex-design.txt')
0 files changed, 0 insertions, 0 deletions