From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Stefan Hajnoczi <stefanha@redhat.com>
Subject: [Qemu-devel] [PATCH 0/2] tests: avoid aio_flush() in test cases
Date: Tue, 4 Dec 2012 16:12:17 +0100 [thread overview]
Message-ID: <1354633939-29940-1-git-send-email-stefanha@redhat.com> (raw)
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(-)
--
1.8.0.1
next reply other threads:[~2012-12-04 15:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-04 15:12 Stefan Hajnoczi [this message]
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 ` [Qemu-devel] [PATCH 0/2] tests: avoid aio_flush() in test cases Paolo Bonzini
2012-12-10 10:24 ` 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=1354633939-29940-1-git-send-email-stefanha@redhat.com \
--to=stefanha@redhat.com \
--cc=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 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).