qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/7] AIO nested loop and bdrv_drain_all changes
@ 2012-03-12 18:22 Paolo Bonzini
  2012-03-12 18:22 ` [Qemu-devel] [PATCH 1/7] qemu-io: use main_loop_wait Paolo Bonzini
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Paolo Bonzini @ 2012-03-12 18:22 UTC (permalink / raw)
  To: qemu-devel

This series includes several changes that, in different ways, touch the
aio.c main loop.

Patches 1 and 2 let the tools use timers.

Patches 3 to 6 simplify the aio loop by removing the separate
process_queue callback, and by adding a return value to qemu_aio_wait.
(Mostly extracted from my threading experiments, and retested).

Patch 7 is zwu's patch to drain requests correctly in the presence of
I/O throttling.  This version does not add bdrv_drain; see comments in
the patch and on the mailing list.

Paolo Bonzini (6):
  qemu-io: use main_loop_wait
  qemu-tool: map vm_clock to rt_clock
  posix-aio: merge posix_aio_process_queue and posix_aio_read
  aio: remove process_queue callback and qemu_aio_process_queue
  aio: return "AIO in progress" state from qemu_aio_wait
  aio: simplify qemu_aio_wait

Zhi Yong Wu (1):
  block: add the support to drain throttled requests

 aio.c              |  176 +++++++++++++++++++++-------------------------------
 block.c            |   21 ++++++-
 block/curl.c       |   10 +--
 block/iscsi.c      |    4 +-
 block/nbd.c        |    8 +-
 block/rbd.c        |    5 +-
 block/sheepdog.c   |   11 ++--
 cmd.c              |   10 ++--
 linux-aio.c        |    2 +-
 posix-aio-compat.c |   45 +++++---------
 qemu-aio.h         |   19 +-----
 qemu-io.c          |    7 +-
 qemu-tool.c        |    3 +-
 13 files changed, 139 insertions(+), 182 deletions(-)

-- 
1.7.7.6

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

end of thread, other threads:[~2012-03-13  1:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-12 18:22 [Qemu-devel] [PATCH 0/7] AIO nested loop and bdrv_drain_all changes Paolo Bonzini
2012-03-12 18:22 ` [Qemu-devel] [PATCH 1/7] qemu-io: use main_loop_wait Paolo Bonzini
2012-03-12 18:22 ` [Qemu-devel] [PATCH 2/7] qemu-tool: map vm_clock to rt_clock Paolo Bonzini
2012-03-12 18:22 ` [Qemu-devel] [PATCH 3/7] posix-aio: merge posix_aio_process_queue and posix_aio_read Paolo Bonzini
2012-03-12 18:22 ` [Qemu-devel] [PATCH 4/7] aio: remove process_queue callback and qemu_aio_process_queue Paolo Bonzini
2012-03-12 18:22 ` [Qemu-devel] [PATCH 5/7] aio: return "AIO in progress" state from qemu_aio_wait Paolo Bonzini
2012-03-12 18:22 ` [Qemu-devel] [PATCH 6/7] aio: simplify qemu_aio_wait Paolo Bonzini
2012-03-12 18:22 ` [Qemu-devel] [PATCH 7/7] block: add the support to drain throttled requests Paolo Bonzini
2012-03-13  1:38   ` Zhi Yong Wu
2012-03-13  1:46   ` Zhi Yong Wu
2012-03-13  1:56   ` Zhi Yong Wu

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).