summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPeter Lieven2015-04-07 22:08:15 +0200
committerStefan Hajnoczi2015-04-09 11:31:45 +0200
commit05b685fbabb7fdcab72cb42b27db916fd74b2265 (patch)
treef2446f518d780be7921321c30c6ad4d787a7e5ef /tests
parentaio: strengthen memory barriers for bottom half scheduling (diff)
downloadqemu-05b685fbabb7fdcab72cb42b27db916fd74b2265.tar.gz
qemu-05b685fbabb7fdcab72cb42b27db916fd74b2265.tar.xz
qemu-05b685fbabb7fdcab72cb42b27db916fd74b2265.zip
block/iscsi: handle zero events from iscsi_which_events
newer libiscsi versions may return zero events from iscsi_which_events. In this case iscsi_service will return immediately without any progress. To avoid busy waiting for iscsi_which_events to change we deregister all read and write handlers in this case and schedule a timer to periodically check iscsi_which_events for changed events. Next libiscsi version will introduce async reconnects and zero events are returned while libiscsi is waiting for a reconnect retry. Signed-off-by: Peter Lieven <pl@kamp.de> Message-id: 1428437295-29577-1-git-send-email-pl@kamp.de Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions