On Fri, Apr 16, 2021 at 11:09:07AM +0300, Vladimir Sementsov-Ogievskiy wrote: > We'll need a possibility of non-blocking nbd_co_establish_connection(), > so that it returns immediately, and it returns success only if > connections was previously established in background.
only if a connection was > > Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]> > --- > include/block/nbd.h | 2 +- > block/nbd.c | 2 +- > nbd/client-connection.c | 8 +++++++- > 3 files changed, 9 insertions(+), 3 deletions(-) > Reviewed-by: Eric Blake <[email protected]> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
