qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [Qemu-devel] Consistency of iotests 093 and 136


From: Alberto Garcia
Subject: Re: [Qemu-block] [Qemu-devel] Consistency of iotests 093 and 136
Date: Tue, 29 Jan 2019 11:03:27 +0100
User-agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu)

On Mon 28 Jan 2019 07:38:08 PM CET, Markus Armbruster wrote:

>> 093 submits several I/O requests using aio_read and aio_write with
>> hmp_qemu_io(), then advances the clock using clock_step and finally
>> calls query-blockstats to see how much of the I/O has been completed
>> (it's an I/O throttling test).
>>
>> The expectation is that by the time query-blockstats is called all
>> submitted I/O requests have been processed (up to the amount allowed
>> by the throttling limits).
>
> Assumptions like "when we see the reply to QMP command X, surely the
> main loop has completed doing Y" are problematic.  When possible, rely
> on something more direct, such as a query command that shows you
> whether Y has been completed.

Right, but how to do that for aio_read / aio_write ?

Berto



reply via email to

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