qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] qemu exit with pending I/O


From: Paolo Bonzini
Subject: Re: [Qemu-block] qemu exit with pending I/O
Date: Mon, 27 Apr 2015 14:11:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0


On 27/04/2015 13:51, Peter Lieven wrote:
>> The reason to do this, is that while I/O is pending you do not know if
>> the I/O has been completed or not.
> 
> But if I consider a raw image, quitting without a clean shutdown can
> also leave an inconsistent state?

But you know that all I/O submitted to disk has been handled.

The bdrv_drain_all() avoids that some leftover I/O mysteriously pops up
while another VM, or another instance of this VM, is using the image.
That's much worse.

Paolo



reply via email to

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