[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 3/7] block: declare some coroutine functions in block/coro
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v8 3/7] block: declare some coroutine functions in block/coroutines.h |
Date: |
Thu, 24 Sep 2020 12:25:04 +0100 |
On Tue, Sep 15, 2020 at 07:44:07PM +0300, Vladimir Sementsov-Ogievskiy wrote:
> We are going to keep coroutine-wrappers code (structure-packing
> parameters, BDRV_POLL wrapper functions) in separate auto-generated
> files. So, we'll need a header with declaration of original _co_
> functions, for those which are static now. As well, we'll need
> declarations for wrapper functions. Do these declarations now, as a
> preparation step.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
> Reviewed-by: Eric Blake <eblake@redhat.com>
> ---
> block/coroutines.h | 67 ++++++++++++++++++++++++++++++++++++++++++++++
> block.c | 8 +++---
> block/io.c | 34 +++++++++++------------
> 3 files changed, 88 insertions(+), 21 deletions(-)
> create mode 100644 block/coroutines.h
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
- [PATCH v8 0/7] coroutines: generate wrapper code, Vladimir Sementsov-Ogievskiy, 2020/09/15
- [PATCH v8 1/7] block: return error-code from bdrv_invalidate_cache, Vladimir Sementsov-Ogievskiy, 2020/09/15
- [PATCH v8 3/7] block: declare some coroutine functions in block/coroutines.h, Vladimir Sementsov-Ogievskiy, 2020/09/15
- [PATCH v8 2/7] block/io: refactor coroutine wrappers, Vladimir Sementsov-Ogievskiy, 2020/09/15
- [PATCH v8 5/7] block: generate coroutine-wrapper code, Vladimir Sementsov-Ogievskiy, 2020/09/15
- [PATCH v8 6/7] block: drop bdrv_prwv, Vladimir Sementsov-Ogievskiy, 2020/09/15
- [PATCH v8 7/7] block/io: refactor save/load vmstate, Vladimir Sementsov-Ogievskiy, 2020/09/15