From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xsug7-00085k-Af for qemu-devel@nongnu.org; Mon, 24 Nov 2014 09:31:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xsug0-0000zs-To for qemu-devel@nongnu.org; Mon, 24 Nov 2014 09:31:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xsug0-0000zl-NZ for qemu-devel@nongnu.org; Mon, 24 Nov 2014 09:31:40 -0500 Message-ID: <54734144.1070107@redhat.com> Date: Mon, 24 Nov 2014 15:31:32 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1416839379-19677-1-git-send-email-ming.lei@canonical.com> In-Reply-To: <1416839379-19677-1-git-send-email-ming.lei@canonical.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v5 0/3] linux-aio: fix batch submission List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ming Lei , qemu-devel@nongnu.org, Stefan Hajnoczi , Kevin Wolf On 24/11/2014 15:29, Ming Lei wrote: > The 1st patch fixes batch submission. >=20 > The 2nd one fixes -EAGAIN for non-batch case. >=20 > The 3rd one is a cleanup. >=20 > This patchset is splitted from previous patchset(dataplane: optimizatio= n > and multi virtqueue support), as suggested by Stefan. >=20 > V5: > - in case of submission failure, return -EIO for new coming request= s > until aborting is handled > - in patch2, follow Paolo's suggestion about ioq_enqueue() changes >=20 > V4: > - abort reuqests in BH to abvoid potential "Co-routine re-entered recu= rsively" > - remove 'enqueue' parameter to ioq_submit() to simpify change > - beautify code as suggested by Paolo >=20 > v3: > - rebase on QEMU master > v2: > - code style fix and commit log fix as suggested by Beno=C3=AEt Can= et > v1: > - rebase on latest QEMU master >=20 > block/linux-aio.c | 131 +++++++++++++++++++++++++++++++++++++++++++--= -------- > 1 file changed, 107 insertions(+), 24 deletions(-) >=20 > Thanks, > Ming Lei >=20 >=20 Reviewed-by: Paolo Bonzini