Re: [PATCH v3 1/3] block/io: refactor coroutine wrappers

2020-05-22 Thread Vladimir Sementsov-Ogievskiy
23.05.2020 00:33, Eric Blake wrote: On 5/22/20 11:19 AM, Vladimir Sementsov-Ogievskiy wrote: Most of coroutine wrappers already follow this notation: s/of/of our/ s/notation/convention/ We have coroutine_fn bdrv_co_(), which is the core functions, and wrapper, which does polling loope is ca

Re: [PATCH v3 1/3] block/io: refactor coroutine wrappers

2020-05-22 Thread Eric Blake
On 5/22/20 11:19 AM, Vladimir Sementsov-Ogievskiy wrote: Most of coroutine wrappers already follow this notation: s/of/of our/ s/notation/convention/ We have coroutine_fn bdrv_co_(), which is the core functions, and wrapper, which does polling loope is called bdrv_(). We have 'coroutine_fn

[PATCH v3 1/3] block/io: refactor coroutine wrappers

2020-05-22 Thread Vladimir Sementsov-Ogievskiy
Most of coroutine wrappers already follow this notation: We have coroutine_fn bdrv_co_(), which is the core functions, and wrapper, which does polling loope is called bdrv_(). The only outsiders are bdrv_prwv_co and bdrv_common_block_status_above wrappers. Let's refactor the to behave as the othe