On Fri, Mar 21, 2014 at 01:55:17PM +0100, Stefan Hajnoczi wrote: > Rate-limiting is broken for drive-mirror because the calculations are > performed > using an inaccurate sector count and aio completion is waking up the sleeping > coroutine early. These patches from Paolo and me fix the issue. > > Paolo Bonzini (1): > mirror: fix throttling delay calculation > > Stefan Hajnoczi (1): > mirror: fix early wake from sleep due to aio > > block/mirror.c | 37 +++++++++++++++++++++++-------------- > trace-events | 2 +- > 2 files changed, 24 insertions(+), 15 deletions(-)
Applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan