From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSQoZ-0006qJ-8V for qemu-devel@nongnu.org; Tue, 25 Mar 2014 08:50:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSQoR-0002xR-1y for qemu-devel@nongnu.org; Tue, 25 Mar 2014 08:50:47 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:55529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSQoQ-0002xH-JI for qemu-devel@nongnu.org; Tue, 25 Mar 2014 08:50:38 -0400 Received: by mail-wi0-f172.google.com with SMTP id hi5so3409929wib.17 for ; Tue, 25 Mar 2014 05:50:37 -0700 (PDT) Date: Tue, 25 Mar 2014 13:50:34 +0100 From: Stefan Hajnoczi Message-ID: <20140325125034.GE29231@stefanha-thinkpad.redhat.com> References: <1395406519-21410-1-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1395406519-21410-1-git-send-email-stefanha@redhat.com> Subject: Re: [Qemu-devel] [PATCH for-2.0 0/2] mirror: fix rate-limiting List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , Michal Privoznik , Jeff Cody , qemu-devel@nongnu.org, Joaquim Barrera , Paolo Bonzini 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