Re: [PATCH 2/4] block/nbd: correctly use qio_channel_detach_aio_context when needed

2020-09-23 Thread Eric Blake
On 9/3/20 2:02 PM, Vladimir Sementsov-Ogievskiy wrote: Don't use nbd_client_detach_aio_context() driver handler where we want to finalize the connection. We should directly use qio_channel_detach_aio_context() in such cases. Driver handler may (and will) contain another things, unrelated to the q

[PATCH 2/4] block/nbd: correctly use qio_channel_detach_aio_context when needed

2020-09-03 Thread Vladimir Sementsov-Ogievskiy
Don't use nbd_client_detach_aio_context() driver handler where we want to finalize the connection. We should directly use qio_channel_detach_aio_context() in such cases. Driver handler may (and will) contain another things, unrelated to the qio channel. Signed-off-by: Vladimir Sementsov-Ogievskiy