diff options
author | Stefan Weil <sw@weilnetz.de> | 2014-05-28 17:42:24 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-06-19 14:56:51 +0100 |
commit | e637aa66470b4a9cdfc39c88090c5e19e4a50e6e (patch) | |
tree | bff92d23039b027ddbe25983d8a0b77e51da1c0d /nbd.c | |
parent | d279279e2b5cd40dbcc863fb66a695990f304077 (diff) |
w32: Fix regression caused by new g_poll implementation
Commit 5a007547df76446ab891df93ebc55749716609bf tried to fix a
performance degradation caused by bad handling of small timeouts
in the original implementation of g_poll.
Since that commit, hard disk I/O no longer works.
Instead of rewriting the g_poll implementation, this patch simply copies
the original code (released under LGPL) from latest glib and only modifies
it where needed (see comments in the code). URL of the original code:
https://git.gnome.org/browse/glib/tree/glib/gpoll.c
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-id: 1401291744-14314-1-git-send-email-sw@weilnetz.de
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'nbd.c')
0 files changed, 0 insertions, 0 deletions