Do not allow AIO to be inited multiple times
commit0b7588a7bbbcf6cf1b3d06b1df2ff4c7e9d5ca37
authoraliguori <aliguori>
Mon, 22 Sep 2008 14:49:01 +0000 (22 14:49 +0000)
committerAvi Kivity <avi@redhat.com>
Tue, 23 Sep 2008 08:54:11 +0000 (23 11:54 +0300)
tree3a5dc16b2c3b57fe9bfc24cc7679103d8b0e81c1
parent1f6ccd9c92cb45a91822df82e4a102f95c680533
Do not allow AIO to be inited multiple times

This prevents two signalfd() threads from being spawned.  This problem was
originally spotted by Blue Swirl.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
block-raw-posix.c