[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC PATCH 0/3] linux-aio: Convert to coroutines
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [RFC PATCH 0/3] linux-aio: Convert to coroutines |
Date: |
Wed, 26 Nov 2014 15:46:41 +0100 |
This is my current branch for converting the linux-aio interface to
coroutines. I started this as a performance optimisation, but I think it
also makes it much easier to avoid the recursive coroutine reentrace
that Ming Lei has sent a relatively complex callback-based patch for.
See patch 3 for a quick attempt on fixing the same problem in a
coroutine-based linux-aio implementation.
Not ready to be merged mainly because of incomplete testing and
benchmarking.
Kevin Wolf (3):
qemu-img bench
raw-posix: Convert Linux AIO submission to coroutines
linux-aio: Don't reenter request coroutine recursively
block/linux-aio.c | 89 +++++++++++-----------------
block/raw-aio.h | 5 +-
block/raw-posix.c | 62 +++++++++----------
qemu-img-cmds.hx | 6 ++
qemu-img.c | 174 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
qemu-img.texi | 10 ++++
6 files changed, 256 insertions(+), 90 deletions(-)
--
1.8.3.1
- [Qemu-devel] [RFC PATCH 0/3] linux-aio: Convert to coroutines,
Kevin Wolf <=