qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 07/26] block: add the support to drain throttled


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 07/26] block: add the support to drain throttled requests
Date: Fri, 13 Apr 2012 11:59:22 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

Il 13/04/2012 11:52, Zhi Yong Wu ha scritto:
>> > FWIW, live snapshot during guest boot (block_set_io_throttle ide0-hd0 0
>> > 500000 500000 0 500000 500000) died immediately without the patches.
>> > With the patch I could do 20 snapshots before I stopped.
> Why do you not use qemu_aio_flush before loop start? it can fix the
> issue said by me.

I won't modify a patch without understanding what's going on.  From my
understanding (which may well be wrong), replacing qemu_aio_wait() with
qemu_aio_flush() should have no effect in this patch.

In other words, you didn't provide enough justification to make me
understand why there is a problem and why the change fixes it.  Did you
see a problem with all the patches, or with this one in isolation (which
actually would not compile alone, and this should be a red flag alone)?
 How did you reproduce it?

Paolo



reply via email to

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