From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQz22-0004tC-IM for qemu-devel@nongnu.org; Fri, 21 Mar 2014 08:58:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQz1w-0006lR-K8 for qemu-devel@nongnu.org; Fri, 21 Mar 2014 08:58:42 -0400 Message-ID: <532C3751.40903@redhat.com> Date: Fri, 21 Mar 2014 13:57:53 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1395406519-21410-1-git-send-email-stefanha@redhat.com> In-Reply-To: <1395406519-21410-1-git-send-email-stefanha@redhat.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit 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 , qemu-devel@nongnu.org Cc: Kevin Wolf , Michal Privoznik , Jeff Cody , qemu-stable@nongnu.org, Joaquim Barrera Il 21/03/2014 13:55, Stefan Hajnoczi ha scritto: > 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(-) > Adding qemu-stable. Paolo