Alexander Graf 79d5ca5617 AIO deletion race fix
When deleting an fd event there is a chance the object doesn't get
deleted, but only ->deleted set positive and deleted somewhere later.

Now, if we create a handler for the fd again before the actual
deletion occurs, we end up writing data into an object that has
->deleted set, which is obviously wrong.

I see two ways to fix this:

1. Don't return ->deleted objects in the search
2. Unset ->deleted in the search

This patch implements 1. which feels safer to do. It fixes AIO issues
I've seen with curl, as libcurl unsets fd event listeners pretty
frequently.

Signed-off-by: Alexander Graf <alex@csgraf.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-08 15:24:10 -05:00
2009-05-01 11:31:23 +04:00
2009-05-08 15:24:10 -05:00
2009-04-28 18:07:01 +00:00
2009-05-03 18:51:27 +00:00
2009-04-29 22:22:01 +03:00
2009-05-08 15:24:10 -05:00
2009-05-08 15:24:09 -05:00
2009-04-25 00:08:05 +02:00
2009-04-21 23:11:50 +00:00
2009-05-08 13:24:12 +01:00
2009-05-07 17:14:07 +00:00
2009-05-03 21:58:28 +03:00
2009-05-07 02:00:31 +01:00
2009-05-08 13:24:12 +01:00
2009-05-08 13:24:12 +01:00
2009-05-01 09:44:11 -05:00
2009-05-08 13:24:12 +01:00
2009-05-01 09:44:11 -05:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
QEMU With E2K User Support
Readme 459 MiB
Languages
C 83.1%
C++ 6.3%
Python 3.2%
Dylan 2.8%
Shell 1.6%
Other 2.8%