On Mon, Aug 17, 2020 at 12:15:46PM +0300, Vladimir Sementsov-Ogievskiy wrote:
> @@ -882,6 +878,20 @@ static bool coroutine_fn 
> bdrv_wait_serialising_requests(BdrvTrackedRequest *self
>      return waited;
>  }
>  
> +bool bdrv_make_request_serialising(BdrvTrackedRequest *req, uint64_t align)
> +{
> +    bool waited;
> +
> +    qemu_co_mutex_lock(&req->bs->reqs_lock);

qemu_co_mutex_lock() is a coroutine_fn so
bdrv_make_request_serialising() needs to be marked coroutine_fn too.

Attachment: signature.asc
Description: PGP signature

Reply via email to