Re: [PATCH v4 6/7] nbd: Refactor counting of metadata contexts

2020-10-14 Thread Vladimir Sementsov-Ogievskiy
10.10.2020 00:55, Eric Blake wrote: Rather than open-code the count of negotiated contexts at several sites, embed it directly into the struct. Signed-off-by: Eric Blake Reviewed-by: Vladimir Sementsov-Ogievskiy -- Best regards, Vladimir

[PATCH v4 6/7] nbd: Refactor counting of metadata contexts

2020-10-09 Thread Eric Blake
Rather than open-code the count of negotiated contexts at several sites, embed it directly into the struct. Signed-off-by: Eric Blake --- nbd/server.c | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/nbd/server.c b/nbd/server.c index 05a8154975a1..27d