From: Kevin Wolf <kwolf@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2 0/3] coroutinization of flush and discard (split out of NBD series)
Date: Mon, 17 Oct 2011 12:57:57 +0200 [thread overview]
Message-ID: <4E9C0A35.2060609@redhat.com> (raw)
In-Reply-To: <1318847534-14357-1-git-send-email-pbonzini@redhat.com>
Am 17.10.2011 12:32, schrieb Paolo Bonzini:
> This series, applying on top of block branch, enables drivers to use
> coroutines for flush and discard. I kept aio_discard after discussing
> with Kevin since it should be useful not only for raw-posix-aio, but also
> for the userspace iSCSI backend (and in general for backends relying on
> an external library that is designed around aio).
>
> BTW, with this patch we get "for free" the invariant that bdrv_aio_*
> never returns a NULL acb (Stefan's patches already got to that point
> for read/write, of course).
>
> v1->v2:
> add bdrv_co_flush and bdrv_co_discard entry points
>
> Paolo Bonzini (2):
> block: unify flush implementations
> block: add bdrv_co_discard and bdrv_aio_discard support
>
> Stefan Hajnoczi (1):
> block: drop redundant bdrv_flush implementation
>
> block.c | 258 +++++++++++++++++++++++++++++++++--------------------
> block.h | 5 +
> block/blkdebug.c | 6 --
> block/blkverify.c | 9 --
> block/qcow.c | 6 --
> block/qcow2.c | 19 ----
> block/qed.c | 6 --
> block/raw-posix.c | 18 ----
> block/raw.c | 23 ++---
> block_int.h | 10 ++-
> trace-events | 1 +
> 11 files changed, 184 insertions(+), 177 deletions(-)
>
Thanks, applied all to the block branch.
Kevin
prev parent reply other threads:[~2011-10-17 10:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 10:32 [Qemu-devel] [PATCH v2 0/3] coroutinization of flush and discard (split out of NBD series) Paolo Bonzini
2011-10-17 10:32 ` [Qemu-devel] [PATCH 1/3] block: unify flush implementations Paolo Bonzini
2011-10-17 10:32 ` [Qemu-devel] [PATCH 2/3] block: drop redundant bdrv_flush implementation Paolo Bonzini
2011-10-17 10:32 ` [Qemu-devel] [PATCH 3/3] block: add bdrv_co_discard and bdrv_aio_discard support Paolo Bonzini
2011-10-17 10:43 ` [Qemu-devel] [PATCH v2 0/3] coroutinization of flush and discard (split out of NBD series) Kevin Wolf
2011-10-17 10:43 ` Paolo Bonzini
2011-10-17 10:57 ` Kevin Wolf [this message]
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=4E9C0A35.2060609@redhat.com \
--to=kwolf@redhat.com \
--cc=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 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.