diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2021-06-10 13:07:50 +0300 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2021-06-18 10:59:53 -0500 |
commit | e0e67cbe58f42500e3451c46b3caba572f2a965f (patch) | |
tree | adc32dfa370ad235d0318fad2571c8bc6829aa55 /disas | |
parent | 130d49baa50655729f09efb72e77bebf09421dd7 (diff) | |
download | qemu-e0e67cbe58f42500e3451c46b3caba572f2a965f.zip qemu-e0e67cbe58f42500e3451c46b3caba572f2a965f.tar.gz qemu-e0e67cbe58f42500e3451c46b3caba572f2a965f.tar.bz2 |
nbd/client-connection: implement connection retry
Add an option for a thread to retry connecting until it succeeds. We'll
use nbd/client-connection both for reconnect and for initial connection
in nbd_open(), so we need a possibility to use same NBDClientConnection
instance to connect once in nbd_open() and then use retry semantics for
reconnect.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210610100802.5888-21-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: grammar tweak]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'disas')
0 files changed, 0 insertions, 0 deletions