Re: [PATCH v4 11/32] block/nbd: drop thr->state

2021-06-11 Thread Eric Blake
On Thu, Jun 10, 2021 at 01:07:41PM +0300, Vladimir Sementsov-Ogievskiy wrote: > We don't need all these states. The code refactored to use two boolean > variables looks simpler. > > While moving the comment in nbd_co_establish_connection() rework it to > give better information. Also, we are

[PATCH v4 11/32] block/nbd: drop thr->state

2021-06-10 Thread Vladimir Sementsov-Ogievskiy
We don't need all these states. The code refactored to use two boolean variables looks simpler. While moving the comment in nbd_co_establish_connection() rework it to give better information. Also, we are going to move the connection code to separate file and mentioning drained section would be