From patchwork Tue Aug 5 03:33:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Lei X-Patchwork-Id: 376535 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A0C2814007D for ; Tue, 5 Aug 2014 13:39:36 +1000 (EST) Received: from localhost ([::1]:56187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEVb4-000367-Jj for incoming@patchwork.ozlabs.org; Mon, 04 Aug 2014 23:39:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEVXJ-0004bW-1s for qemu-devel@nongnu.org; Mon, 04 Aug 2014 23:35:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEVXC-0001xY-Sh for qemu-devel@nongnu.org; Mon, 04 Aug 2014 23:35:40 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:34173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEVXC-0001xU-AW for qemu-devel@nongnu.org; Mon, 04 Aug 2014 23:35:34 -0400 Received: by mail-pa0-f44.google.com with SMTP id eu11so532759pac.31 for ; Mon, 04 Aug 2014 20:35:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TUdIo0zWMzznvPZ1aknO69P2UUwybjD34VySeDaoZgU=; b=fInM6xivL09NNDmfhZOEo1qnmgKyfMY1ryS7ooL/VaFL5oMcaFpdkkAzceE3a2Bj0H 8JhB6dxVSyZmdYsGftD7ZIAnx9rniMd/wv9tZaGERzUaNLwqgwXFVbm7E7lBKS+Zl/tN kdhdiwdyvlm/BvpzdfKTHeYptEw0yxudQiQEQdGWJSUy8yxbzST+JfGbKxzVqw5S3saV bAnhp9wHMZVhBtSF0nQXhAD9aGLuWI1DnoXcYKwAqFlY7B9/nUOTx9Ls5iK0/xMz6872 kFOChCTb2Qe3Lqu13dzh0HI5MhY3c6O2+onjox66GOsu14qKF1JtaFQnei8DwmTQJuwN 9pWA== X-Received: by 10.70.127.230 with SMTP id nj6mr151816pdb.164.1407209733813; Mon, 04 Aug 2014 20:35:33 -0700 (PDT) Received: from localhost ([183.49.46.188]) by mx.google.com with ESMTPSA id a17sm352516pbu.41.2014.08.04.20.35.28 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 04 Aug 2014 20:35:32 -0700 (PDT) From: Ming Lei To: qemu-devel@nongnu.org, Peter Maydell , Paolo Bonzini , Stefan Hajnoczi Date: Tue, 5 Aug 2014 11:33:13 +0800 Message-Id: <1407209598-2572-13-git-send-email-ming.lei@canonical.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1407209598-2572-1-git-send-email-ming.lei@canonical.com> References: <1407209598-2572-1-git-send-email-ming.lei@canonical.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.220.44 Cc: Kevin Wolf , Ming Lei , Fam Zheng , "Michael S. Tsirkin" Subject: [Qemu-devel] [PATCH v1 12/17] linux-aio: increase max event to 256 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This patch increases max event to 256 for the comming 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 0e21f76..bf94ae9 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