[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [Qemu-devel] [PATCH 27/29] qed: Simplify request handli
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [Qemu-devel] [PATCH 27/29] qed: Simplify request handling |
Date: |
Wed, 31 May 2017 13:54:48 +0100 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
On Fri, May 26, 2017 at 10:22:08PM +0200, Kevin Wolf wrote:
> Now that we process a request in the same coroutine from beginning to
> end and don't drop out of it any more, we can look like a proper
> coroutine-based driver and simply call qed_aio_next_io() and get a
> return value from it instead of spawning an additional coroutine that
> reenters the parent when it's done.
>
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
> block/qed.c | 106
> ++++++++++++++++--------------------------------------------
> block/qed.h | 3 +-
> 2 files changed, 28 insertions(+), 81 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature
- Re: [Qemu-block] [Qemu-devel] [PATCH 21/29] qed: Add return value to qed_aio_write_inplace/alloc(), (continued)
- [Qemu-block] [PATCH 23/29] qed: Remove ret argument from qed_aio_next_io(), Kevin Wolf, 2017/05/26
- [Qemu-block] [PATCH 22/29] qed: Add return value to qed_aio_read/write_data(), Kevin Wolf, 2017/05/26
- [Qemu-block] [PATCH 24/29] qed: Remove recursion in qed_aio_next_io(), Kevin Wolf, 2017/05/26
- [Qemu-block] [PATCH 25/29] qed: Implement .bdrv_co_readv/writev, Kevin Wolf, 2017/05/26
- [Qemu-block] [PATCH 27/29] qed: Simplify request handling, Kevin Wolf, 2017/05/26
- Re: [Qemu-block] [Qemu-devel] [PATCH 27/29] qed: Simplify request handling,
Stefan Hajnoczi <=
- [Qemu-block] [PATCH 28/29] qed: Use a coroutine for need_check_timer, Kevin Wolf, 2017/05/26
- [Qemu-block] [PATCH 26/29] qed: Use CoQueue for serialising allocations, Kevin Wolf, 2017/05/26
- [Qemu-block] [PATCH 29/29] block: Remove bdrv_aio_readv/writev_flush(), Kevin Wolf, 2017/05/26
- Re: [Qemu-block] [PATCH 00/29] qed: Convert to coroutines, Paolo Bonzini, 2017/05/29