Message ID | 20191007120937.5862-4-stefanha@redhat.com |
---|---|
State | New |
Headers | show |
Series | io_uring: add Linux io_uring AIO engine | expand |
diff --git a/include/block/block.h b/include/block/block.h index 37c9de7446..88a9673734 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -126,6 +126,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)