From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcOWA-0003Mf-8o for qemu-devel@nongnu.org; Fri, 01 Nov 2013 19:52:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VcOW4-0001nd-OB for qemu-devel@nongnu.org; Fri, 01 Nov 2013 19:52:42 -0400 Received: from mail-we0-x229.google.com ([2a00:1450:400c:c03::229]:64068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcOEP-0005hl-H0 for qemu-devel@nongnu.org; Fri, 01 Nov 2013 19:34:21 -0400 Received: by mail-we0-f169.google.com with SMTP id q58so151945wes.14 for ; Fri, 01 Nov 2013 16:34:20 -0700 (PDT) From: Matthias Brugger Date: Sat, 2 Nov 2013 00:34:04 +0100 Message-Id: <1383348847-14153-1-git-send-email-matthias.bgg@gmail.com> Subject: [Qemu-devel] 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 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 the one actually implemented. It will allow to implement approaches like paravirtualized block requests [1]. 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 | 9 +++++++++ include/qemu-common.h | 2 ++ qemu-options.hx | 2 +- thread-pool.c | 32 ++++++++++++++++++++++++++++++++ 9 files changed, 78 insertions(+), 10 deletions(-) [1] http://www.linux-kvm.org/wiki/images/5/53/2012-forum-Brugger-lightningtalk.pdf