[Top][All Lists]

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

Re: [Qemu-block] [PATCH v11 05/10] block: treat BDRV_REQ_ALLOCATE as ser

From: Alberto Garcia
Subject: Re: [Qemu-block] [PATCH v11 05/10] block: treat BDRV_REQ_ALLOCATE as serialising
Date: Mon, 07 Jan 2019 16:19:43 +0100
User-agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu)

On Tue 18 Dec 2018 08:57:38 AM CET, Anton Nefedov wrote:
> The idea is that ALLOCATE requests may overlap with other requests.
> Reuse the existing block layer infrastructure for serialising requests.
> Use the following approach:
>   - mark ALLOCATE also SERIALISING, so subsequent requests to the area wait
>   - ALLOCATE request itself must never wait if another request is in flight
>     already. Return EAGAIN, let the caller reconsider.
> Signed-off-by: Anton Nefedov <address@hidden>

Reviewed-by: Alberto Garcia <address@hidden>


reply via email to

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