Re: [PATCH v3 08/33] block/nbd: drop thr->state

2021-04-28 Thread Vladimir Sementsov-Ogievskiy
28.04.2021 01:23, Roman Kagan wrote: On Fri, Apr 16, 2021 at 11:08:46AM +0300, Vladimir Sementsov-Ogievskiy wrote: We don't need all these states. The code refactored to use two boolean variables looks simpler. Indeed. Signed-off-by: Vladimir Sementsov-Ogievskiy --- block/nbd.c | 125

Re: [PATCH v3 08/33] block/nbd: drop thr->state

2021-04-27 Thread Roman Kagan
On Fri, Apr 16, 2021 at 11:08:46AM +0300, Vladimir Sementsov-Ogievskiy wrote: > We don't need all these states. The code refactored to use two boolean > variables looks simpler. Indeed. > > Signed-off-by: Vladimir Sementsov-Ogievskiy > --- > block/nbd.c | 125

[PATCH v3 08/33] block/nbd: drop thr->state

2021-04-16 Thread Vladimir Sementsov-Ogievskiy
We don't need all these states. The code refactored to use two boolean variables looks simpler. Signed-off-by: Vladimir Sementsov-Ogievskiy --- block/nbd.c | 125 ++-- 1 file changed, 34 insertions(+), 91 deletions(-) diff --git a/block/nbd.c