From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anROs-0001ZQ-BB for qemu-devel@nongnu.org; Tue, 05 Apr 2016 09:52:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anROr-0006vZ-Im for qemu-devel@nongnu.org; Tue, 05 Apr 2016 09:52:10 -0400 References: <1459855253-5378-1-git-send-email-famz@redhat.com> From: Paolo Bonzini Message-ID: <5703C2FD.10803@redhat.com> Date: Tue, 5 Apr 2016 15:51:57 +0200 MIME-Version: 1.0 In-Reply-To: <1459855253-5378-1-git-send-email-famz@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 0/2] block: Fix hang with mirroring qcow2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , lvivier@redhat.com, qemu-block@nongnu.org, Stefan Hajnoczi On 05/04/2016 13:20, Fam Zheng wrote: > See patch 1 for the bug analysis. > > v3: Make bdrv_co_drain a public function and use it directly in block/mirror.c. > [Stefan] FWIW, no need to send a v4 with bdrv_co_drained_begin. Paolo > > > Fam Zheng (2): > block: Fix bdrv_drain in coroutine > mirror: Replace bdrv_drain(bs) with bdrv_co_drain(bs) > > block/io.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ > block/mirror.c | 2 +- > include/block/block.h | 1 + > 3 files changed, 47 insertions(+), 1 deletion(-) >