[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 06/18] block/block: add BDRV flag for io_uring
From: |
Stefan Hajnoczi |
Subject: |
[PULL 06/18] block/block: add BDRV flag for io_uring |
Date: |
Thu, 30 Jan 2020 21:31:02 +0000 |
From: Aarushi Mehta <address@hidden>
Signed-off-by: Aarushi Mehta <address@hidden>
Reviewed-by: Maxim Levitsky <address@hidden>
Acked-by: Stefano Garzarella <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Message-id: address@hidden
Message-Id: <address@hidden>
Signed-off-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 23c76421e4..19184d5850 100644
--- a/include/block/block.h
+++ b/include/block/block.h
@@ -114,6 +114,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)
--
2.24.1
- [PULL 00/18] Block patches, Stefan Hajnoczi, 2020/01/30
- [PULL 01/18] block: eliminate BDRV_REQ_NO_SERIALISING, Stefan Hajnoczi, 2020/01/30
- [PULL 02/18] block/io: wait for serialising requests when a request becomes serialising, Stefan Hajnoczi, 2020/01/30
- [PULL 03/18] block/io: take bs->reqs_lock in bdrv_mark_request_serialising, Stefan Hajnoczi, 2020/01/30
- [PULL 04/18] configure: permit use of io_uring, Stefan Hajnoczi, 2020/01/30
- [PULL 05/18] qapi/block-core: add option for io_uring, Stefan Hajnoczi, 2020/01/30
- [PULL 06/18] block/block: add BDRV flag for io_uring,
Stefan Hajnoczi <=
- [PULL 08/18] stubs: add stubs for io_uring interface, Stefan Hajnoczi, 2020/01/30
- [PULL 10/18] blockdev: adds bdrv_parse_aio to use io_uring, Stefan Hajnoczi, 2020/01/30
- [PULL 07/18] block/io_uring: implements interfaces for io_uring, Stefan Hajnoczi, 2020/01/30
- [PULL 11/18] block/file-posix.c: extend to use io_uring, Stefan Hajnoczi, 2020/01/30
- [PULL 09/18] util/async: add aio interfaces for io_uring, Stefan Hajnoczi, 2020/01/30
- [PULL 12/18] block: add trace events for io_uring, Stefan Hajnoczi, 2020/01/30
- [PULL 13/18] block/io_uring: adds userspace completion polling, Stefan Hajnoczi, 2020/01/30
- [PULL 14/18] qemu-io: adds option to use aio engine, Stefan Hajnoczi, 2020/01/30
- [PULL 15/18] qemu-img: adds option to use aio engine for benchmarking, Stefan Hajnoczi, 2020/01/30
- [PULL 16/18] qemu-nbd: adds option for aio engines, Stefan Hajnoczi, 2020/01/30