[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 18/33] nbd/client-connection: shutdown connection on relea
From: |
Eric Blake |
Subject: |
Re: [PATCH v3 18/33] nbd/client-connection: shutdown connection on release |
Date: |
Thu, 3 Jun 2021 11:20:20 -0500 |
User-agent: |
NeoMutt/20210205 |
On Fri, Apr 16, 2021 at 11:08:56AM +0300, Vladimir Sementsov-Ogievskiy wrote:
> Now, when thread can do negotiation and retry, it may run relatively
when a thread
> long. We need a mechanism to stop it, when user is not interested in
when the user
> result anymore. So, on nbd_client_connection_release() let's shutdown
in a result any more.
> the socked, and do not retry connection if thread is detached.
socket
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
> ---
> nbd/client-connection.c | 36 ++++++++++++++++++++++++++----------
> 1 file changed, 26 insertions(+), 10 deletions(-)
>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH v3 18/33] nbd/client-connection: shutdown connection on release,
Eric Blake <=