[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 0/3] net: asynchronous send/receive for net/s
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2 0/3] net: asynchronous send/receive for net/socket.c |
Date: |
Wed, 29 Aug 2012 16:35:31 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Aug 21, 2012 at 04:52:28PM +0100, Stefan Hajnoczi wrote:
> The net subsystem supports non-blocking sockets and asynchronous send/receive.
> Unfortunately, net/socket.c doesn't fully take advantage of that yet.
>
> This patch series makes send asynchronous and drops code that will spin when
> the non-blocking socket would block. Also take advantage of
> qemu_set_fd_handler2()'s IOCanReadHandler so that we don't read packets from
> the socket when our peer is unable to receive.
>
> v2:
> * Use iov.h instead of readv()/writev() [Peter/Paolo]
>
> Stefan Hajnoczi (3):
> net: asynchronous send/receive infrastructure for net/socket.c
> net: EAGAIN handling for net/socket.c UDP
> net: EAGAIN handling for net/socket.c TCP
>
> net/socket.c | 110
> ++++++++++++++++++++++++++++++++++++++++++++++++++--------
> 1 file changed, 96 insertions(+), 14 deletions(-)
>
> --
> 1.7.10.4
>
>
Thanks, applied to the net tree:
https://github.com/stefanha/qemu/commits/net
Stefan
[Qemu-devel] [PATCH v2 2/3] net: EAGAIN handling for net/socket.c UDP, Stefan Hajnoczi, 2012/08/21
[Qemu-devel] [PATCH v2 3/3] net: EAGAIN handling for net/socket.c TCP, Stefan Hajnoczi, 2012/08/21
Re: [Qemu-devel] [PATCH v2 0/3] net: asynchronous send/receive for net/socket.c,
Stefan Hajnoczi <=