[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] tests: avoid aio_flush() in test cases
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 0/2] tests: avoid aio_flush() in test cases |
Date: |
Tue, 4 Dec 2012 16:12:17 +0100 |
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
- [Qemu-devel] [PATCH 0/2] tests: avoid aio_flush() in test cases,
Stefan Hajnoczi <=