Vladimir Sementsov-Ogievskiy 99d72dba1c block/nbd: nbd_co_reconnect_loop(): don't connect if drained
In a recent commit 12c75e20a269ac we've improved
nbd_co_reconnect_loop() to not make drain wait for additional sleep.
Similarly, we shouldn't try to connect, if previous sleep was
interrupted by drain begin, otherwise drain_begin will have to wait for
the whole connection attempt.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20200903190301.367620-5-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
2020-10-09 15:04:32 -05:00
..
2019-10-10 10:56:17 +02:00
2020-09-07 12:31:31 +02:00
2020-05-18 19:05:25 +02:00
2020-05-18 19:05:25 +02:00
2020-05-18 19:05:25 +02:00
2020-05-18 19:05:25 +02:00
2020-10-05 10:59:42 +01:00
2018-02-09 05:05:11 +01:00
2020-09-15 11:05:13 +02:00
2020-07-06 10:34:14 +02:00
2020-09-15 11:05:12 +02:00
2020-09-07 12:31:31 +02:00
2020-09-07 12:31:31 +02:00
2020-09-07 12:31:31 +02:00