diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-03-21 13:55:19 +0100 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2014-06-25 15:26:29 -0500 |
commit | 0fd56fb8443d52a20d6bd8b4b543c4a8f9d0756d (patch) | |
tree | 0cd63c5c33604d90420c69a40317efed634fd010 /hw/net/virtio-net.c | |
parent | 8211eeb7d26915d99a1d6a7eb79d09e862784f4a (diff) |
mirror: fix early wake from sleep due to aio
The mirror blockjob coroutine rate-limits itself by sleeping. The
coroutine also performs I/O asynchronously so it's important that the
aio callback doesn't wake the coroutine early as that breaks
rate-limiting.
Reported-by: Joaquim Barrera <jbarrera@ac.upc.edu>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit 7b770c720b28b8ac5b82ae431f2f354b7f8add91)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions