[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v10 5/9] block: treat BDRV_REQ_ALLOCATE as seria
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
Re: [Qemu-devel] [PATCH v10 5/9] block: treat BDRV_REQ_ALLOCATE as serialising |
Date: |
Wed, 12 Dec 2018 12:48:28 +0000 |
05.12.2018 17:01, Anton Nefedov wrote:
> --- a/include/block/block.h
> +++ b/include/block/block.h
> @@ -87,6 +87,9 @@ typedef enum {
> * efficiently allocate the space so it reads as zeroes, or return
> an error.
> * If this flag is set then BDRV_REQ_ZERO_WRITE must also be set.
> * This flag cannot be set together with BDRV_REQ_MAY_UNMAP.
> + * This flag implicitly behaves as BDRV_REQ_SERIALISING i.e. it is
> + * protected from conflicts with overlapping requests. If such
> conflict is
> + * detected, -EAGAIN is returned.
"behaves as" sounds like "do the same" for me, so better is "implicitly sets"
or something like this.
> */
> BDRV_REQ_ALLOCATE = 0x100,
>
>
--
Best regards,
Vladimir
[Qemu-devel] [PATCH v10 5/9] block: treat BDRV_REQ_ALLOCATE as serialising, Anton Nefedov, 2018/12/03
[Qemu-devel] [PATCH v10 8/9] qcow2: skip writing zero buffers to empty COW areas, Anton Nefedov, 2018/12/03
Re: [Qemu-devel] [PATCH v10 8/9] qcow2: skip writing zero buffers to empty COW areas, Vladimir Sementsov-Ogievskiy, 2018/12/13
Re: [Qemu-devel] [PATCH v10 8/9] qcow2: skip writing zero buffers to empty COW areas, Vladimir Sementsov-Ogievskiy, 2018/12/14