Displaying 3 results from an estimated 3 matches for "aio_opt_".
Did you mean:
aio_opt_go
2020 Aug 11
3
Re: [libnbd PATCH] API: Add nbd_set_opt_mode to expose NEGOTIATING state
...PLY is still automatic, although I might
expose it to the user to attempt (I'm certainly thinking about what else
to expose or keep automatic in followup patches; letting the user
control OPT_STARTTLS when tls=1 (but not when tls=0 or tls=2) may be
useful).
>
> Don't we need nbd_aio_opt_go etc?
Probably - that was one of my questions. In fact, adding aio_opt_* is
easy (the sync version would call the aio version, which kicks off the
NBD_OPT_ write; the difference is that the aio version then returns
immediately, probably in aio_is_connecting, while the sync version uses
aio_p...
2020 Aug 11
0
Re: [libnbd PATCH] API: Add nbd_set_opt_mode to expose NEGOTIATING state
...I might
> expose it to the user to attempt (I'm certainly thinking about what else
> to expose or keep automatic in followup patches; letting the user
> control OPT_STARTTLS when tls=1 (but not when tls=0 or tls=2) may be
> useful).
>
>>
>> Don't we need nbd_aio_opt_go etc?
>
> Probably - that was one of my questions. In fact, adding aio_opt_* is
> easy (the sync version would call the aio version, which kicks off the
> NBD_OPT_ write; the difference is that the aio version then returns
> immediately, probably in aio_is_connecting, while the...
2020 Aug 11
3
[libnbd PATCH] API: Add nbd_set_opt_mode to expose NEGOTIATING state
This is the bare minimum needed to allow the user to take control over
the rest of option negotiating. This patch adds several new API:
nbd_set_opt_mode() - called during Created to enable the new mode
nbd_get_opt_mode() - query whether opt mode is enabled
nbd_opt_go() - used in Negotiating state to attempt to use export
nbd_opt_abort() - used in Negotiating state to skip Connected state