Skip to content

non-blocking connect

Vladimir Sementsov-Ogievskiy qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4qemu-sockets: refactor inet_connect_addrutil/qemu-sockets.c+16 -210 replies
2/4qemu-sockets: implement non-blocking connect interfaceinclude/qemu/sockets.h util/qemu-sockets.c+46 -50 replies
3/4io/channel-socket: implement non-blocking connectinclude/io/channel-socket.h io/channel-socket.c+88 -011 replies
4/4block/nbd: use non-blocking connect: fix vm hang on connect()block/nbd.c+6 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH for-5.1? 0/4] non-blocking connect

Hi! This fixes real problem (see 04). On the other hand it may be too much for 5.1, and it's not a degradation. So, up to you.

It's based on "[PATCH for-5.1? 0/3] Fix nbd reconnect dead-locks", or in other words
Based-on: <[email protected]>

Vladimir Sementsov-Ogievskiy (4):
qemu-sockets: refactor inet_connect_addr
qemu-sockets: implement non-blocking connect interface io/channel-socket: implement non-blocking connect block/nbd: use non-blocking connect: fix vm hang on connect()

 include/io/channel-socket.h | 14 +++++++
 include/qemu/sockets.h      |  6 +++
 block/nbd.c                 | 11 +++---
 io/channel-socket.c         | 74 ++++++++++++++++++++++++++++++++++++
 util/qemu-sockets.c         | 76 ++++++++++++++++++++++++++-----------
 5 files changed, 153 insertions(+), 28 deletions(-)
Signature · 1 line
2.21.0