qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/5] block/nbd: split nbd_establish_connection out of nbd_


From: Eric Blake
Subject: Re: [PATCH v2 1/5] block/nbd: split nbd_establish_connection out of nbd_client_connect
Date: Mon, 27 Jul 2020 16:11:54 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 7/27/20 1:47 PM, Vladimir Sementsov-Ogievskiy wrote:
We are going to implement non-blocking version of
nbd_establish_connection, which for a while will be used only for
nbd_reconnect_attempt, not for nbd_open, so we need to call it
separately.

Refactor nbd_reconnect_attempt in a way which makes next commit
simpler.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
---
  block/nbd.c        | 60 +++++++++++++++++++++++++++-------------------
  block/trace-events |  4 ++--
  2 files changed, 38 insertions(+), 26 deletions(-)


Reviewed-by: Eric Blake <eblake@redhat.com>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]