qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/2] tests: avoid aio_flush() in test cases
Date: Tue, 04 Dec 2012 17:59:38 +0100	[thread overview]
Message-ID: <50BE2BFA.4020602@redhat.com> (raw)
In-Reply-To: <1354633939-29940-1-git-send-email-stefanha@redhat.com>

Il 04/12/2012 16:12, Stefan Hajnoczi ha scritto:
> There is a patch to drop aio_flush().  Most callers shouldn't use that
> interface.  It turns out that the aio and thread pool test cases *do* need
> low-level flush functionality so they can test the aio code.
> 
> Convert test-aio.c and test-thread-pool.c to use replacements for
> qemu_aio_flush() and aio_flush().
> 
> Stefan Hajnoczi (2):
>   tests: use aio_poll() instead of aio_flush() in test-aio.c
>   tests: avoid qemu_aio_flush() in test-thread-pool.c
> 
>  tests/test-aio.c         | 31 +++++++++++++++----------------
>  tests/test-thread-pool.c | 20 ++++++++++++++------
>  2 files changed, 29 insertions(+), 22 deletions(-)
> 

Looks good.

Paolo

  parent reply	other threads:[~2012-12-04 16:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-04 15:12 [Qemu-devel] [PATCH 0/2] tests: avoid aio_flush() in test cases Stefan Hajnoczi
2012-12-04 15:12 ` [Qemu-devel] [PATCH 1/2] tests: use aio_poll() instead of aio_flush() in test-aio.c Stefan Hajnoczi
2012-12-04 15:12 ` [Qemu-devel] [PATCH 2/2] tests: avoid qemu_aio_flush() in test-thread-pool.c Stefan Hajnoczi
2012-12-04 16:59 ` Paolo Bonzini [this message]
2012-12-10 10:24   ` [Qemu-devel] [PATCH 0/2] tests: avoid aio_flush() in test cases 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=50BE2BFA.4020602@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /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).