[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Qemu-block] [PATCH v4 3/9] block/block: add BDRV flag
From: |
Maxim Levitsky |
Subject: |
Re: [Qemu-devel] [Qemu-block] [PATCH v4 3/9] block/block: add BDRV flag for io_uring |
Date: |
Thu, 06 Jun 2019 14:52:40 +0300 |
On Mon, 2019-06-03 at 18:08 +0530, Aarushi Mehta wrote:
> Signed-off-by: Aarushi Mehta <address@hidden>
> Reviewed-by: Stefan Hajnoczi <address@hidden>
> ---
> include/block/block.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/block/block.h b/include/block/block.h
> index 9b083e2bca..60f7c6c01c 100644
> --- a/include/block/block.h
> +++ b/include/block/block.h
> @@ -121,6 +121,7 @@ typedef struct HDGeometry {
> ignoring the format layer */
> #define BDRV_O_NO_IO 0x10000 /* don't initialize for I/O */
> #define BDRV_O_AUTO_RDONLY 0x20000 /* degrade to read-only if opening
> read-write fails */
> +#define BDRV_O_IO_URING 0x40000 /* use io_uring instead of the thread
> pool */
>
> #define BDRV_O_CACHE_MASK (BDRV_O_NOCACHE | BDRV_O_NO_FLUSH)
>
I had some fun learning now why do we need that flag.
Lot of code could be removed when someday we will remove the -drive interface.
Reviewed-by: Maxim Levitsky <address@hidden>
Best regards,
Maxim Levitsky
- [Qemu-devel] [PATCH v4 0/9] Add support for io_uring, Aarushi Mehta, 2019/06/03
- [Qemu-devel] [PATCH v4 5/9] stubs: add stubs for io_uring interface, Aarushi Mehta, 2019/06/03
- [Qemu-devel] [PATCH v4 9/9] block: add trace events for io_uring, Aarushi Mehta, 2019/06/03
- [Qemu-devel] [PATCH v4 7/9] blockdev: accept io_uring as option, Aarushi Mehta, 2019/06/03
- [Qemu-devel] [PATCH v4 8/9] block/file-posix.c: extend to use io_uring, Aarushi Mehta, 2019/06/03
- [Qemu-devel] [PATCH v4 6/9] util/async: add aio interfaces for io_uring, Aarushi Mehta, 2019/06/03
- [Qemu-devel] [PATCH v4 4/9] block/io_uring: implements interfaces for io_uring, Aarushi Mehta, 2019/06/03
- [Qemu-devel] [PATCH v4 3/9] block/block: add BDRV flag for io_uring, Aarushi Mehta, 2019/06/03
- Re: [Qemu-devel] [Qemu-block] [PATCH v4 3/9] block/block: add BDRV flag for io_uring,
Maxim Levitsky <=
- [Qemu-devel] [PATCH v4 1/9] configure: permit use of io_uring, Aarushi Mehta, 2019/06/03
- [Qemu-devel] [PATCH v4 2/9] qapi/block-core: add option for io_uring, Aarushi Mehta, 2019/06/03
- Re: [Qemu-devel] [PATCH v4 0/9] Add support for io_uring, Sergio Lopez, 2019/06/07