qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 07/12] block-backend: drop blk_prw, use block-coroutine-wrapp


From: Eric Blake
Subject: Re: [PATCH 07/12] block-backend: drop blk_prw, use block-coroutine-wrapper
Date: Wed, 6 Oct 2021 11:22:39 -0500
User-agent: NeoMutt/20210205-815-1dd940

On Wed, Oct 06, 2021 at 03:17:13PM +0200, Vladimir Sementsov-Ogievskiy wrote:
> Let's drop hand maid coroutine wrappers and use coroutine wrapper

s/maid/made/

> generation like in block/io.c.
> 
> Now, blk_foo() functions are written in same way as blk_co_foo() ones,
> but wrap blk_do_foo() instead of blk_co_do_foo().
> 
> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
> ---
>  block/coroutines.h    |  30 ++++++++
>  block/block-backend.c | 155 ++++++++++++++++--------------------------
>  2 files changed, 90 insertions(+), 95 deletions(-)
>

Reviewed-by: Eric Blake <eblake@redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]