Received: from eggs.gnu.org ([2001:4830:134:3::10]:37853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdgdf-0003eI-BM for qemu-devel@nongnu.org; Tue, 05 Nov 2013 08:26:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vdgd7-0006KT-GX for qemu-devel@nongnu.org; Tue, 05 Nov 2013 08:25:47 -0500 Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:48734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdgd7-0006KH-8J for qemu-devel@nongnu.org; Tue, 05 Nov 2013 08:25:13 -0500 Received: by mail-wg0-f48.google.com with SMTP id b13so3387832wgh.3 for ; Tue, 05 Nov 2013 05:25:12 -0800 (PST) Date: Tue, 5 Nov 2013 14:25:09 +0100 From: Stefan Hajnoczi Message-ID: <20131105132509.GC16457@stefanha-thinkpad.redhat.com> References: <1383560924-15788-1-git-send-email-matthias.bgg@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1383560924-15788-1-git-send-email-matthias.bgg@gmail.com> Subject: Re: [Qemu-devel] [PATCH v2 0/3] Make thread pool implementation modular List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Matthias Brugger Cc: Kevin Wolf , Liu Ping Fan , Stefan Hajnoczi , Stefan Weil , Jeff Cody , Michael Tokarev , qemu-devel@nongnu.org, Markus Armbruster , malc , Alex Bligh , Anthony Liguori , Paolo Bonzini , Asias He , Luiz Capitulino , Andreas =?iso-8859-1?Q?F=E4rber?= , Eduardo Habkost On Mon, Nov 04, 2013 at 11:28:41AM +0100, Matthias Brugger wrote: > v2: > - fix issues found by checkpatch.pl > - change the descritpion of patch 3 > > This patch series makes the thread pool implementation modular. > This allows each drive to use a special implementation. > The patch series prepares qemu to be able to include thread pools different to > the one actually implemented. It will allow to implement approaches like > paravirtualized block requests [1]. > > [1] http://www.linux-kvm.org/wiki/images/5/53/2012-forum-Brugger-lightningtalk.pdf -drive aio=threads|native already distinguishes between different AIO implementations. IMO -drive aio= is the logical interface if you want to add a new AIO mechanism. I'd also like to see the thread pool implementation you wish to add before we add a layer of indirection which has no users yet.