diff options
| author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2020-09-03 22:03:01 +0300 |
|---|---|---|
| committer | Eric Blake <eblake@redhat.com> | 2020-10-09 15:04:32 -0500 |
| commit | 99d72dba1c96c3a498d935a54081e226b262641a (patch) | |
| tree | 9bde473a223df972052ead41065aa23c773de14b /scripts/qapi/schema.py | |
| parent | 46f56631b5d18ae744782dbfe6fd17c3ebe15f7a (diff) | |
| download | focaccia-qemu-99d72dba1c96c3a498d935a54081e226b262641a.tar.gz focaccia-qemu-99d72dba1c96c3a498d935a54081e226b262641a.zip | |
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>
Diffstat (limited to 'scripts/qapi/schema.py')
0 files changed, 0 insertions, 0 deletions