[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 11/33] block/nbd: rename NBDConnectThread to NBDClientConn
From: |
Eric Blake |
Subject: |
Re: [PATCH v3 11/33] block/nbd: rename NBDConnectThread to NBDClientConnection |
Date: |
Wed, 2 Jun 2021 16:21:44 -0500 |
User-agent: |
NeoMutt/20210205 |
On Fri, Apr 16, 2021 at 11:08:49AM +0300, Vladimir Sementsov-Ogievskiy wrote:
> We are going to move connection code to own file and want clear names
> and APIs.
We are going to move the connection code to its own file, and want
clear names and APIs first.
>
> The structure is shared between user and (possibly) several runs of
> connect-thread. So it's wrong to call it "thread". Let's rename to
> something more generic.
>
> Appropriately rename connect_thread and thr variables to conn.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
> ---
> block/nbd.c | 137 ++++++++++++++++++++++++++--------------------------
> 1 file changed, 68 insertions(+), 69 deletions(-)
>
Reviewed-by: Eric Blake <eblake@redhat.com>
--
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 11/33] block/nbd: rename NBDConnectThread to NBDClientConnection,
Eric Blake <=