qemu-devel
[Top][All Lists]
Advanced

[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: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH 0/2] tests: avoid aio_flush() in test cases
Date: Mon, 10 Dec 2012 11:24:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0

Am 04.12.2012 17:59, schrieb Paolo Bonzini:
> 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.

Thanks, applied to the block branch.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]