Re: [PATCH v6 06/11] nbd: Refactor counting of metadata contexts

2020-10-27 Thread Vladimir Sementsov-Ogievskiy
27.10.2020 08:05, Eric Blake wrote: Rather than open-code the count of negotiated contexts at several sites, embed it directly into the struct. This will make it easier for upcoming commits to support even more simultaneous contexts. Signed-off-by: Eric Blake Reviewed-by: Vladimir Sementsov-O

[PATCH v6 06/11] nbd: Refactor counting of metadata contexts

2020-10-26 Thread Eric Blake
Rather than open-code the count of negotiated contexts at several sites, embed it directly into the struct. This will make it easier for upcoming commits to support even more simultaneous contexts. Signed-off-by: Eric Blake --- nbd/server.c | 26 +++--- 1 file changed, 15 in