From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPZtW-0001R0-Tk for qemu-devel@nongnu.org; Thu, 04 Sep 2014 12:28:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPZtQ-0002UZ-TH for qemu-devel@nongnu.org; Thu, 04 Sep 2014 12:28:22 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:36706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPZtQ-0002UT-Ov for qemu-devel@nongnu.org; Thu, 04 Sep 2014 12:28:16 -0400 Received: by mail-pd0-f177.google.com with SMTP id r10so13746728pdi.22 for ; Thu, 04 Sep 2014 09:28:15 -0700 (PDT) From: Ming Lei Date: Fri, 5 Sep 2014 00:27:10 +0800 Message-Id: <1409848030-16568-5-git-send-email-ming.lei@canonical.com> In-Reply-To: <1409848030-16568-1-git-send-email-ming.lei@canonical.com> References: <1409848030-16568-1-git-send-email-ming.lei@canonical.com> Subject: [Qemu-devel] [PATCH v2 4/4] linux-aio: increase max event to 256 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Peter Maydell , Paolo Bonzini , Stefan Hajnoczi , Kevin Wolf Cc: =?UTF-8?q?Beno=C3=AEt=20Canet?= , Ming Lei This patch increases max event to 256 for the coming virtio-blk multi virtqueue support. Signed-off-by: Ming Lei --- 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