qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v6 03/14] block/block: add BDRV flag for io_uring


From: Aarushi Mehta
Subject: [Qemu-devel] [PATCH v6 03/14] block/block: add BDRV flag for io_uring
Date: Fri, 19 Jul 2019 19:05:19 +0530

Signed-off-by: Aarushi Mehta <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Maxim Levitsky <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 734c9d2f76..40bd93cd0f 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)
 
-- 
2.21.0




reply via email to

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