qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for 2.1 0/4] AioContext cleanups and optimizations
@ 2014-07-07 13:18 Paolo Bonzini
  2014-07-07 13:18 ` [Qemu-devel] [PATCH 1/4] block: prefer aio_poll to qemu_aio_wait Paolo Bonzini
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Paolo Bonzini @ 2014-07-07 13:18 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, stefanha

These patches do some cleanup and optimization in AioContext land.

The first two drop AIO functions that operate on the main AioContext.
These are not needed anymore now that each BlockDriverState explicitly
operates on its own AioContext.  They are independent, and can be
skipped if the maintainers prefer doing so or have comments.

Patch 3 is a testsuite change for the aio_notify optimization, and
patch 4 is the aio_notify patch, now with a better comment
about the smp_mb optimization.

Paolo Bonzini (4):
  block: prefer aio_poll to qemu_aio_wait
  block: drop aio functions that operate on the main AioContext
  test-aio: fix GSource-based timer test
  AioContext: speed up aio_notify

 aio-posix.c               |  38 +++++++++++++++--
 aio-win32.c               |   6 +--
 async.c                   |  19 ++++++++-
 block.c                   |   2 +-
 blockjob.c                |   2 +-
 docs/aio_notify.promela   | 104 ++++++++++++++++++++++++++++++++++++++++++++++
 include/block/aio.h       |  26 +++++-------
 include/block/blockjob.h  |   4 +-
 include/block/coroutine.h |   2 +-
 main-loop.c               |  21 ----------
 qemu-io-cmds.c            |   4 +-
 tests/test-aio.c          |  13 +++---
 tests/test-thread-pool.c  |   4 +-
 13 files changed, 186 insertions(+), 59 deletions(-)
 create mode 100644 docs/aio_notify.promela

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-08 15:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-07 13:18 [Qemu-devel] [PATCH for 2.1 0/4] AioContext cleanups and optimizations Paolo Bonzini
2014-07-07 13:18 ` [Qemu-devel] [PATCH 1/4] block: prefer aio_poll to qemu_aio_wait Paolo Bonzini
2014-07-07 13:18 ` [Qemu-devel] [PATCH 2/4] block: drop aio functions that operate on the main AioContext Paolo Bonzini
2014-07-07 13:18 ` [Qemu-devel] [PATCH 3/4] test-aio: fix GSource-based timer test Paolo Bonzini
2014-07-07 13:18 ` [Qemu-devel] [PATCH 4/4] AioContext: speed up aio_notify Paolo Bonzini
2014-07-08 15:11 ` [Qemu-devel] [PATCH for 2.1 0/4] AioContext cleanups and optimizations Kevin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).