[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v6 2/7] block/nbd-client: use non-blocking io ch
From: |
Eric Blake |
Subject: |
Re: [Qemu-block] [PATCH v6 2/7] block/nbd-client: use non-blocking io channel for nbd negotiation |
Date: |
Thu, 6 Jun 2019 21:34:23 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 4/11/19 12:27 PM, Vladimir Sementsov-Ogievskiy wrote:
> No reason to use blocking channel for negotiation and we'll benefit in
> further reconnect feature, as qio_channel reads and writes will do
> qemu_coroutine_yield while waiting for io completion.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
> ---
> include/block/nbd.h | 3 ++-
> block/nbd-client.c | 16 +++++++---------
> nbd/client.c | 16 +++++++++++-----
> qemu-nbd.c | 2 +-
> 4 files changed, 21 insertions(+), 16 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-block] [PATCH v6 2/7] block/nbd-client: use non-blocking io channel for nbd negotiation,
Eric Blake <=