From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz53d-0008V7-OM for qemu-devel@nongnu.org; Thu, 11 Dec 2014 09:49:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xz53T-0004fw-82 for qemu-devel@nongnu.org; Thu, 11 Dec 2014 09:49:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz53T-0004fj-1f for qemu-devel@nongnu.org; Thu, 11 Dec 2014 09:49:23 -0500 Date: Thu, 11 Dec 2014 15:49:12 +0100 From: Kevin Wolf Message-ID: <20141211144912.GE23351@noname.redhat.com> References: <1418305950-30924-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1418305950-30924-1-git-send-email-pbonzini@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/5] linux-aio: rewrite and simplify queuing code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: ming.lei@canonical.com, pl@kamp.de, qemu-devel@nongnu.org, stefanha@redhat.com Am 11.12.2014 um 14:52 hat Paolo Bonzini geschrieben: > This series rewrites the io_submit code to avoid having to > synchronize the iocbs in two places (qemu_laiocb and LaioQueue). > Instead, the queue of pending I/O requests is kept in a list. > > This fixes the problems with io_submit doing partial submissions > or failing with EAGAIN, without complicating the code. The bug is > shown by "qemu-img bench -n -t none -s 65536 -d 1024 -c 100000" > pretty much instantly. > > Paolo > > v1->v2: add patch 4, and fix QSIMPLEQ_SPLIT_AFTER Reviewed-by: Kevin Wolf