[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/9] block/io: refactor bdrv_is_allocated_above to run only o
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH 1/9] block/io: refactor bdrv_is_allocated_above to run only one coroutine |
Date: |
Mon, 20 Apr 2020 16:56:53 +0100 |
On Wed, Apr 08, 2020 at 12:30:43PM +0300, Vladimir Sementsov-Ogievskiy wrote:
> +int coroutine_fn
> +bdrv_is_allocated_above(BlockDriverState *top, BlockDriverState *base,
> + bool include_base, int64_t offset, int64_t bytes,
> + int64_t *pnum)
s/coroutine_fn//
Only functions that must be called from coroutine context should be
marked as coroutine_fn. Since this function supports both contexts, so
it doesn't apply here.
signature.asc
Description: PGP signature
- [PATCH for-5.0? 0/9] block/io: safer inc/dec in_flight sections, Vladimir Sementsov-Ogievskiy, 2020/04/08
- [PATCH 2/9] block/io: refactor bdrv_co_ioctl: move aio stuff to corresponding block, Vladimir Sementsov-Ogievskiy, 2020/04/08
- [PATCH 1/9] block/io: refactor bdrv_is_allocated_above to run only one coroutine, Vladimir Sementsov-Ogievskiy, 2020/04/08
- Re: [PATCH 1/9] block/io: refactor bdrv_is_allocated_above to run only one coroutine,
Stefan Hajnoczi <=
- [PATCH 7/9] block/io: add bdrv_do_pwrite_zeroes, Vladimir Sementsov-Ogievskiy, 2020/04/08
- [PATCH 6/9] block/io: expand in_flight inc/dec section: block-status, Vladimir Sementsov-Ogievskiy, 2020/04/08
- [PATCH 8/9] block/io: move bdrv_make_zero under block-status, Vladimir Sementsov-Ogievskiy, 2020/04/08
- [PATCH 3/9] block/io: move flush and pdiscard stuff down, Vladimir Sementsov-Ogievskiy, 2020/04/08
- [PATCH 4/9] block/io: move bdrv_rw_co_entry and friends down, Vladimir Sementsov-Ogievskiy, 2020/04/08