From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymie0-0003GF-QW for qemu-devel@nongnu.org; Mon, 27 Apr 2015 09:00:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ymidt-0001bL-W2 for qemu-devel@nongnu.org; Mon, 27 Apr 2015 09:00:16 -0400 Sender: Paolo Bonzini Message-ID: <553E32D4.4020200@redhat.com> Date: Mon, 27 Apr 2015 15:00:04 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1430132851-26073-1-git-send-email-mreitz@redhat.com> In-Reply-To: <1430132851-26073-1-git-send-email-mreitz@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH] block/mirror: Always call block_job_sleep_ns() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-block@nongnu.org Cc: Fam Zheng , qemu-devel@nongnu.org, Stefan Hajnoczi On 27/04/2015 13:07, Max Reitz wrote: > The mirror block job is trying to take a clever shortcut if delay_ns is > 0 and skips block_job_sleep_ns() in that case. But that function must be > called in every block job iteration, because otherwise it is for example > impossible to pause the job. > > Signed-off-by: Max Reitz > --- > This makes test 129 pass when run in tmpfs (for me, at least). Reviewed-by: Paolo Bonzini