[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/2] tests: avoid aio_flush() in test cases
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 0/2] tests: avoid aio_flush() in test cases |
Date: |
Tue, 04 Dec 2012 17:59:38 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
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