Fam Zheng 0793169870 virtio: Report real progress in VQ aio poll handler
In virtio_queue_host_notifier_aio_poll, not all "!virtio_queue_empty()"
cases are making true progress.

Currently the offending one is virtio-scsi event queue, whose handler
does nothing if no event is pending. As a result aio_poll() will spin on
the "non-empty" VQ and take 100% host CPU.

Fix this by reporting actual progress from virtio queue aio handlers.

Reported-by: Ed Swierk <eswierk@skyportsystems.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Tested-by: Ed Swierk <eswierk@skyportsystems.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2017-02-17 21:52:30 +02:00
..
2016-10-04 13:28:07 +01:00
2017-02-07 18:29:59 +00:00
2017-01-27 18:07:59 +01:00
2016-10-04 13:28:09 +01:00
2017-01-27 18:07:59 +01:00
2017-01-24 23:26:52 +03:00
2017-01-27 18:07:59 +01:00
2016-05-18 15:04:27 +03:00
2016-09-08 18:05:21 +04:00
2013-04-08 18:13:10 +02:00
2016-09-15 15:32:22 +03:00
2017-01-27 18:07:59 +01:00
2017-01-18 22:03:44 +01:00
2017-01-27 18:07:59 +01:00
2017-01-27 18:07:59 +01:00
2014-10-23 16:41:25 +02:00
2017-01-18 22:59:53 +02:00
2013-04-08 18:13:10 +02:00
2017-02-06 10:23:17 +01:00