qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 0/7] AIO nested loop and bdrv_drain_all changes
Date: Mon, 12 Mar 2012 19:22:21 +0100	[thread overview]
Message-ID: <1331576548-23067-1-git-send-email-pbonzini@redhat.com> (raw)

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

             reply	other threads:[~2012-03-12 18:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12 18:22 Paolo Bonzini [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1331576548-23067-1-git-send-email-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).