mbox series

[0/2] AioContext removal: LinuxAioState and ThreadPool

Message ID 20220609134452.1146309-1-eesposit@redhat.com (mailing list archive)
Headers show
Series AioContext removal: LinuxAioState and ThreadPool | expand

Message

Emanuele Giuseppe Esposito June 9, 2022, 1:44 p.m. UTC
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.

Emanuele Giuseppe Esposito (1):
  thread-pool: use ThreadPool from the running thread

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

 block/file-posix.c    | 22 +++++++++++-----------
 block/file-win32.c    |  2 +-
 block/linux-aio.c     | 13 ++++++-------
 block/qcow2-threads.c |  2 +-
 include/block/aio.h   |  4 ----
 util/thread-pool.c    |  6 +-----
 6 files changed, 20 insertions(+), 29 deletions(-)