Received: from eggs.gnu.org ([2001:4830:134:3::10]:60732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAU54-0002ln-No for qemu-devel@nongnu.org; Tue, 07 Jun 2016 23:22:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAU52-0002Nf-RC for qemu-devel@nongnu.org; Tue, 07 Jun 2016 23:22:57 -0400 Date: Wed, 8 Jun 2016 11:22:45 +0800 From: Fam Zheng Message-ID: <20160608032245.GB12578@ad.usersys.redhat.com> References: <1464943756-14143-1-git-send-email-famz@redhat.com> <1464943756-14143-15-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v6 14/22] mirror: Disable image locking on target backing chain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: qemu-devel@nongnu.org, Kevin Wolf , Jeff Cody , Markus Armbruster , Eric Blake , qemu-block@nongnu.org, rjones@redhat.com, stefanha@redhat.com, pbonzini@redhat.com, John Snow , berrange@redhat.com, den@openvz.org On Mon, 06/06 17:03, Max Reitz wrote: > On 03.06.2016 10:49, Fam Zheng wrote: > > In sync=3Dnone the backing image of s->target is s->common.bs, which = could > > be exclusively locked, the image locking wouldn't work here. > >=20 > > Later we can update completion code to lock it after the replaced nod= e > > has dropped its lock. > >=20 > > Signed-off-by: Fam Zheng > > --- > > blockdev.c | 10 ++++++++-- > > 1 file changed, 8 insertions(+), 2 deletions(-) >=20 > Without having reviewed the patch in the new context, when basing your > series on v2 of my "block/mirror: Fix target backing BDS=E2=80=8B", all= iotests > pass even without this patch. >=20 > Without my series, test 041 fails. >=20 > So I have reason to hope that I was actually able to make this patch > superfluous. Great, then I can drop this patch from v7 later. Fam