[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/8] quorum: Do cleanup in caller coroutine
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 4/8] quorum: Do cleanup in caller coroutine |
Date: |
Mon, 21 Nov 2016 13:03:15 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
On 11/21/2016 11:31 AM, Kevin Wolf wrote:
> Instead of calling quorum_aio_finalize() deeply nested in what used
> to be an AIO callback, do it in the same functions that allocated the
> AIOCB.
>
> Signed-off-by: Kevin Wolf <address@hidden>
> Reviewed-by: Alberto Garcia <address@hidden>
> ---
> block/quorum.c | 15 +++++++++------
> 1 file changed, 9 insertions(+), 6 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 0/8] quorum: Implement .bdrv_co_preadv/pwritev(), Kevin Wolf, 2016/11/21
- [Qemu-devel] [PATCH 2/8] quorum: Remove s from quorum_aio_get() arguments, Kevin Wolf, 2016/11/21
- [Qemu-devel] [PATCH 1/8] coroutine: Introduce qemu_coroutine_enter_if_inactive(), Kevin Wolf, 2016/11/21
- [Qemu-devel] [PATCH 4/8] quorum: Do cleanup in caller coroutine, Kevin Wolf, 2016/11/21
- Re: [Qemu-devel] [PATCH 4/8] quorum: Do cleanup in caller coroutine,
Eric Blake <=
- [Qemu-devel] [PATCH 3/8] quorum: Implement .bdrv_co_readv/writev, Kevin Wolf, 2016/11/21
- [Qemu-devel] [PATCH 6/8] quorum: Avoid bdrv_aio_writev() for rewrites, Kevin Wolf, 2016/11/21
- [Qemu-devel] [PATCH 5/8] quorum: Inline quorum_aio_cb(), Kevin Wolf, 2016/11/21