mbox series

[for-5.1?,0/4] non-blocking connect

Message ID 20200720180715.10521-1-vsementsov@virtuozzo.com
Headers show
Series non-blocking connect | expand

Message

Vladimir Sementsov-Ogievskiy July 20, 2020, 6:07 p.m. UTC
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: <20200720090024.18186-1-vsementsov@virtuozzo.com>

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(-)