From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xsueb-0006Kr-OQ for qemu-devel@nongnu.org; Mon, 24 Nov 2014 09:30:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XsueU-0000GL-9N for qemu-devel@nongnu.org; Mon, 24 Nov 2014 09:30:13 -0500 Received: from mail-pd0-f172.google.com ([209.85.192.172]:44142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsueU-0000FP-4D for qemu-devel@nongnu.org; Mon, 24 Nov 2014 09:30:06 -0500 Received: by mail-pd0-f172.google.com with SMTP id y13so1798231pdi.3 for ; Mon, 24 Nov 2014 06:30:05 -0800 (PST) From: Ming Lei Date: Mon, 24 Nov 2014 22:29:36 +0800 Message-Id: <1416839379-19677-1-git-send-email-ming.lei@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v5 0/3] linux-aio: fix batch submission List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Paolo Bonzini , Stefan Hajnoczi , Kevin Wolf The 1st patch fixes batch submission. The 2nd one fixes -EAGAIN for non-batch case. The 3rd one is a cleanup. This patchset is splitted from previous patchset(dataplane: optimization and multi virtqueue support), as suggested by Stefan. V5: - in case of submission failure, return -EIO for new coming requests until aborting is handled - in patch2, follow Paolo's suggestion about ioq_enqueue() changes V4: - abort reuqests in BH to abvoid potential "Co-routine re-entered recursively" - remove 'enqueue' parameter to ioq_submit() to simpify change - beautify code as suggested by Paolo v3: - rebase on QEMU master v2: - code style fix and commit log fix as suggested by BenoƮt Canet v1: - rebase on latest QEMU master block/linux-aio.c | 131 +++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 107 insertions(+), 24 deletions(-) Thanks, Ming Lei