All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Kevin Wolf <kwolf@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/4] Fix qemu_aio_flush callers
Date: Tue, 13 Nov 2012 18:39:39 +0100	[thread overview]
Message-ID: <50A285DB.8020107@redhat.com> (raw)
In-Reply-To: <1352821889-24150-1-git-send-email-kwolf@redhat.com>

Il 13/11/2012 16:51, Kevin Wolf ha scritto:
> This series has two patches that fixes current qemu_aio_flush() callers, which
> should call bdrv_drain_all() instead. The other two patches are for changing
> the coroutine request cancellation to waiting for a single request (Paolo
> didn't want to change this to bdrv_drain_all()) and removing qemu_aio_flush()
> altogether in order to avoid future misuse.
> 
> Kevin Wolf (4):
>   block: Improve bdrv_aio_co_cancel_em
>   megasas: Use bdrv_drain_all instead of qemu_aio_flush
>   qemu-io: Use bdrv_drain_all instead of qemu_aio_flush
>   aio: Get rid of qemu_aio_flush()
> 
>  async.c        |    5 -----
>  block.c        |   19 ++++++++++++++++++-
>  block/commit.c |    2 +-
>  block/mirror.c |    2 +-
>  block/stream.c |    2 +-
>  hw/megasas.c   |    2 +-
>  main-loop.c    |    5 -----
>  qemu-aio.h     |    9 ++-------
>  qemu-io.c      |    2 +-
>  9 files changed, 25 insertions(+), 23 deletions(-)
> 

Patches 2 and 3 look good.  The rest is 1.4 material, looks good but
maybe we can do something better than the ->done boolean... no ideas,
just thinking out loud, but perhaps it will come out naturally of the
AioContext/data-plane work.

Paolo

  parent reply	other threads:[~2012-11-13 17:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-13 15:51 [Qemu-devel] [PATCH 0/4] Fix qemu_aio_flush callers Kevin Wolf
2012-11-13 15:51 ` [Qemu-devel] [RFC PATCH 1/4] block: Improve bdrv_aio_co_cancel_em Kevin Wolf
2012-11-13 15:51 ` [Qemu-devel] [PATCH 2/4] megasas: Use bdrv_drain_all instead of qemu_aio_flush Kevin Wolf
2012-11-13 15:51 ` [Qemu-devel] [PATCH 3/4] qemu-io: " Kevin Wolf
2012-11-13 15:51 ` [Qemu-devel] [RFC PATCH 4/4] aio: Get rid of qemu_aio_flush() Kevin Wolf
2012-11-13 17:39 ` Paolo Bonzini [this message]
2012-11-14  7:29   ` [Qemu-devel] [PATCH 0/4] Fix qemu_aio_flush callers Kevin Wolf

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=50A285DB.8020107@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kwolf@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.