qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 05/12] block: bdrv_mark_request_serialising: split non-wai


From: Stefan Hajnoczi
Subject: Re: [PATCH v3 05/12] block: bdrv_mark_request_serialising: split non-waiting function
Date: Wed, 19 Aug 2020 15:40:24 +0100

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

[Prev in Thread] Current Thread [Next in Thread]