[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 4/4] linux-aio: increase max event to 256
From: |
Ming Lei |
Subject: |
[Qemu-devel] [PATCH v2 4/4] linux-aio: increase max event to 256 |
Date: |
Fri, 5 Sep 2014 00:27:10 +0800 |
This patch increases max event to 256 for the coming
virtio-blk multi virtqueue support.
Signed-off-by: Ming Lei <address@hidden>
---
block/linux-aio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/linux-aio.c b/block/linux-aio.c
index f45a142..5d565ad 100644
--- a/block/linux-aio.c
+++ b/block/linux-aio.c
@@ -23,7 +23,7 @@
* than this we will get EAGAIN from io_submit which is communicated to
* the guest as an I/O error.
*/
-#define MAX_EVENTS 128
+#define MAX_EVENTS 256
#define MAX_QUEUED_IO 128
--
1.7.9.5