Received: from eggs.gnu.org ([2001:4830:134:3::10]:53231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdHP5-0001Mu-JN for qemu-devel@nongnu.org; Mon, 04 Nov 2013 05:29:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdHP0-0004Za-Pq for qemu-devel@nongnu.org; Mon, 04 Nov 2013 05:29:03 -0500 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:35864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdHP0-0004ZM-JS for qemu-devel@nongnu.org; Mon, 04 Nov 2013 05:28:58 -0500 Received: by mail-wi0-f174.google.com with SMTP id cb5so276440wib.13 for ; Mon, 04 Nov 2013 02:28:57 -0800 (PST) From: Matthias Brugger Date: Mon, 4 Nov 2013 11:28:41 +0100 Message-Id: <1383560924-15788-1-git-send-email-matthias.bgg@gmail.com> Subject: [Qemu-devel] [PATCH v2 0/3] Make thread pool implementation modular List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Paolo Bonzini , Stefan Hajnoczi , Kevin Wolf , Alex Bligh , malc , Liu Ping Fan , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Anthony Liguori , Eduardo Habkost , Markus Armbruster , Michael Tokarev , Matthias Brugger , Stefan Weil , Luiz Capitulino , Asias He , Jeff Cody 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 Matthias Brugger (3): Make thread pool implementation modular Block layer uses modular thread pool Add workerthreads configuration option async.c | 4 ++-- block/raw-posix.c | 15 +++++++++++---- block/raw-win32.c | 9 +++++++-- blockdev.c | 13 +++++++++++++ include/block/aio.h | 2 +- include/block/thread-pool.h | 11 +++++++++++ include/qemu-common.h | 2 ++ qemu-options.hx | 2 +- thread-pool.c | 33 +++++++++++++++++++++++++++++++++ 9 files changed, 81 insertions(+), 10 deletions(-) -- 1.8.1.2