2013/11/11 Stefan Hajnoczi :
> On Mon, Nov 11, 2013 at 11:00:45AM +0100, Matthias Brugger wrote:
>> 2013/11/5 Stefan Hajnoczi :
>> > I'd also like to see the thread pool implementation you wish to add
>> > before we add a layer of indirection which has no user
2013/11/5 Stefan Hajnoczi :
> 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.
>>
With this patch, the calls to the thread pool functions pass through the
new modular thread pool implementation.
Signed-off-by: Matthias Brugger
---
async.c | 4 ++--
block/raw-posix.c | 15 +++
block/raw-win32.c | 9 +++--
include/block/aio.h | 2
This patch introduces function pointers for the thread pool, so that
it's implementation can be set at run-time.
Signed-off-by: Matthias Brugger
---
include/block/thread-pool.h | 11 +++
thread-pool.c | 33 +
2 files changed, 44 inser
This patch allows to choose at the command line level which thread pool
implementation will be used by every block device.
Signed-off-by: Matthias Brugger
---
blockdev.c | 13 +
qemu-options.hx | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/blockdev.c b
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
This patch introduces function pointers for the thread pool, so that
it's implementation can be set at run-time.
Signed-off-by: Matthias Brugger
---
include/block/thread-pool.h | 9 +
thread-pool.c | 32
2 files changed, 41 inser
With this patch, the calls to the thread pool functions pass through the
new modular thread pool implementation.
Signed-off-by: Matthias Brugger
---
async.c | 4 ++--
block/raw-posix.c | 15 +++
block/raw-win32.c | 9 +++--
include/block/aio.h | 2
This patch allows the definition which thread pool will be used by
every block device. The defintion of the workerthreads option
allows this at the command line level.
At the moment only the thread pool implementation "pool" can be chosen.
Signed-off-by: Matthias Brugger
---
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 request
10 matches
Mail list logo