From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azo67-0004DB-Am for qemu-devel@nongnu.org; Mon, 09 May 2016 12:31:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azo66-0003JP-Ak for qemu-devel@nongnu.org; Mon, 09 May 2016 12:31:55 -0400 References: <1460046816-102846-1-git-send-email-pbonzini@redhat.com> <1460046816-102846-9-git-send-email-pbonzini@redhat.com> <20160419090953.GA16312@stefanha-x1.localdomain> From: Paolo Bonzini Message-ID: <5730BB70.8010600@redhat.com> Date: Mon, 9 May 2016 18:31:44 +0200 MIME-Version: 1.0 In-Reply-To: <20160419090953.GA16312@stefanha-x1.localdomain> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-block] [PATCH v4 8/8] linux-aio: share one LinuxAioState within an AioContext List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org, kwolf@redhat.com, famz@redhat.com, qemu-block@nongnu.org, stefanha@redhat.com On 19/04/2016 11:09, Stefan Hajnoczi wrote: >> > This has better performance because it executes fewer system calls >> > and does not use a bottom half per disk. > Each aio_context_t is initialized for 128 in-flight requests in > laio_init(). >=20 > Will it be possible to hit the limit now that all drives share the same > aio_context_t? It was also possible before, because the virtqueue can be bigger than 128 items; that's why there is logic to submit I/O requests after an io_get_events. As usual when the answer seems trivial, am I misunderstanding your question? Thanks, Paolo