Skip to content

nbd: non-blocking negotiation

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/4io/channel: add qio_channel_get_attached_aio_context()include/io/channel.h io/channel.c+14 -03 replies
2/4nbd/client: do negotiation in coroutinenbd/client.c+109 -142 replies
3/4nbd: do qemu_coroutine_yield during tls handshakenbd/client.c nbd/common.c nbd/server.c +1 more+35 -572 replies
4/4block/nbd-client: use non-blocking io channel for nbd negotiationblock/nbd-client.c+3 -73 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] nbd: non-blocking negotiation

Hi all!

Here is a try of moving to non-blocking negotiation in nbd code, proposed by Deniel in
https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg03817.html

in thread "[PATCH v4 00/10] NBD reconnect"
https://lists.gnu.org/archive/html/qemu-devel/2018-07/msg05973.html

Vladimir Sementsov-Ogievskiy (4):
io/channel: add qio_channel_get_attached_aio_context() nbd/client: do negotiation in coroutine
nbd: do qemu_coroutine_yield during tls handshake block/nbd-client: use non-blocking io channel for nbd negotiation

 include/io/channel.h |   9 +++
 block/nbd-client.c   |  10 +--
 io/channel.c         |   5 ++
 nbd/client.c         | 149 ++++++++++++++++++++++++++++++++++---------
 nbd/common.c         |   6 +-
 nbd/server.c         |  45 +++++--------
 nbd/trace-events     |  15 ++---
 7 files changed, 161 insertions(+), 78 deletions(-)
Signature · 1 line
2.18.0