Re: [PATCH 2/5] block/aio_task: allow start/wait task from any coroutine

2020-06-18 Thread Vladimir Sementsov-Ogievskiy
16.06.2020 19:20, Denis V. Lunev wrote: From: Vladimir Sementsov-Ogievskiy Currently, aio task pool assumes that there is a main coroutine, which creates tasks and wait for them. Let's remove the restriction by using CoQueue. Code becomes clearer, interface more obvious. Signed-off-by:

[PATCH 2/5] block/aio_task: allow start/wait task from any coroutine

2020-06-16 Thread Denis V. Lunev
From: Vladimir Sementsov-Ogievskiy Currently, aio task pool assumes that there is a main coroutine, which creates tasks and wait for them. Let's remove the restriction by using CoQueue. Code becomes clearer, interface more obvious. Signed-off-by: Vladimir Sementsov-Ogievskiy Signed-off-by: