Skip to content

Make thread pool implementation modular

Matthias Brugger qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 12 repliesIn review
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- fix issues found by checkpatch.pl
- change the descritpion of patch 3

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Make thread pool implementation modularinclude/block/thread-pool.h thread-pool.c+44 -01 reply
2/3Block layer uses modular thread poolasync.c block/raw-posix.c block/raw-win32.c +2 more+23 -90 replies
3/3Add workerthreads configuration optionblockdev.c qemu-options.hx+14 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/3] Make thread pool implementation modular

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(-)
Signature · 1 line
1.8.1.2