[PATCH v3 0/3] AioContext removal: LinuxAioState and ThreadPool

Emanuele Giuseppe Esposito posted 3 patches 1 year, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221028122048.3101120-1-eesposit@redhat.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Stefan Weil <sw@weilnetz.de>, Aarushi Mehta <mehta.aaru20@gmail.com>, Julia Suvorova <jusual@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Stefano Garzarella <sgarzare@redhat.com>, Fam Zheng <fam@euphon.net>
There is a newer version of this series
block/file-posix.c      | 43 ++++++++++++++++-------------------------
block/file-win32.c      |  2 +-
block/io_uring.c        | 22 +++++++++++++--------
block/linux-aio.c       | 30 +++++++++++++++-------------
block/qcow2-threads.c   |  2 +-
include/block/aio.h     |  8 --------
include/block/raw-aio.h | 18 ++++++++---------
util/thread-pool.c      |  5 ++++-
8 files changed, 62 insertions(+), 68 deletions(-)
[PATCH v3 0/3] AioContext removal: LinuxAioState and ThreadPool
Posted by Emanuele Giuseppe Esposito 1 year, 6 months ago
Just remove some AioContext lock in LinuxAioState and ThreadPool.
Not related to anything specific, so I decided to send it as
a separate patch.

These patches are taken from Paolo's old draft series.

---
v3:
* remove qemu_coroutine_enter_if_inactive

v2:
* assertion in thread_pool
* remove useless BlockDriverState * param in patch 1 and 2
* io_uring cleaned too

Emanuele Giuseppe Esposito (2):
  io_uring: use LuringState from the running thread
  thread-pool: use ThreadPool from the running thread

Paolo Bonzini (1):
  linux-aio: use LinuxAioState from the running thread

 block/file-posix.c      | 43 ++++++++++++++++-------------------------
 block/file-win32.c      |  2 +-
 block/io_uring.c        | 22 +++++++++++++--------
 block/linux-aio.c       | 30 +++++++++++++++-------------
 block/qcow2-threads.c   |  2 +-
 include/block/aio.h     |  8 --------
 include/block/raw-aio.h | 18 ++++++++---------
 util/thread-pool.c      |  5 ++++-
 8 files changed, 62 insertions(+), 68 deletions(-)

-- 
2.31.1