Received: from eggs.gnu.org ([2001:4830:134:3::10]:55367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn7qA-0007rG-CC for qemu-devel@nongnu.org; Wed, 21 May 2014 10:50:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wn7q2-0008GM-0Q for qemu-devel@nongnu.org; Wed, 21 May 2014 10:49:58 -0400 Received: from oxygen.pond.sub.org ([144.76.244.19]:38668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn7q1-0008G5-QJ for qemu-devel@nongnu.org; Wed, 21 May 2014 10:49:49 -0400 Received: from blackfin.pond.sub.org (p5B32BDDF.dip0.t-ipconnect.de [91.50.189.223]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by oxygen.pond.sub.org (Postfix) with ESMTPSA id 66BA02002B for ; Wed, 21 May 2014 16:49:47 +0200 (CEST) From: Markus Armbruster References: <1400565880-13409-1-git-send-email-famz@redhat.com> <1400565880-13409-7-git-send-email-famz@redhat.com> <20140521140638.GH6619@stefanha-thinkpad.redhat.com> Date: Wed, 21 May 2014 16:49:46 +0200 In-Reply-To: <20140521140638.GH6619@stefanha-thinkpad.redhat.com> (Stefan Hajnoczi's message of "Wed, 21 May 2014 16:06:38 +0200") Message-ID: <87tx8jqj91.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v20 06/15] block: Add backing_blocker in BlockDriverState List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: kwolf@redhat.com, Fam Zheng , jcody@redhat.com, hbrock@redhat.com, qemu-devel@nongnu.org, rjones@redhat.com, imain@redhat.com, pbonzini@redhat.com Stefan Hajnoczi writes: > On Tue, May 20, 2014 at 02:04:31PM +0800, Fam Zheng wrote: >> This makes use of op_blocker and blocks all the operations except for >> commit target, on each BlockDriverState->backing_hd. >> >> The asserts for op_blocker in bdrv_swap are removed because with this >> change, the target of block commit has at least the backing blocker of >> its child, so the assertion is not true. Callers should do their check. >> >> Signed-off-by: Fam Zheng >> --- >> block.c | 22 ++++++++++++++++++---- >> block/mirror.c | 1 + >> include/block/block_int.h | 3 +++ >> 3 files changed, 22 insertions(+), 4 deletions(-) > > IMO it would be nice to split the series after this patch. > > The op_blocker stuff looks solid and the series is at v20. Let's handle > the rest of the changes in separate, smaller series that can be easily > digested. Yes, please!