qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [patch] Fix block I/O hang.


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [patch] Fix block I/O hang.
Date: Wed, 12 Nov 2008 14:03:50 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

Anthony Liguori wrote:
> Gerd Hoffmann wrote:
>>   Hi,
>>
>> $subject says all.
>>
>> please apply,
>>   Gerd

> Under what circumstances?  posix_aio_read() is only invoked from a
> select callback.  This means there should be data available to be read.

Well, there are *two* select loops:  main_loop_wait() and
qemu_aio_wait().  Calling sync block i/o functions from a i/o handler
causes the two select loops run nested => boom.

cheers,
  Gerd




reply via email to

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