From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buJzb-0003sc-3r for qemu-devel@nongnu.org; Wed, 12 Oct 2016 09:54:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buJzZ-00004r-6g for qemu-devel@nongnu.org; Wed, 12 Oct 2016 09:54:46 -0400 Date: Wed, 12 Oct 2016 15:54:37 +0200 From: Kevin Wolf Message-ID: <20161012135437.GI5544@noname.redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v10 06/16] block: Block all nodes involved in the block-commit operation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alberto Garcia Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org, Max Reitz , Markus Armbruster , Stefan Hajnoczi Am 06.10.2016 um 15:02 hat Alberto Garcia geschrieben: > After a successful block-commit operation all nodes between top and > base are removed from the backing chain, and top's overlay needs to > be updated to point to base. Because of that we should prevent other > block jobs from messing with them. > > This patch blocks all operations in these nodes in commit_start(). Again, except for dataplane. But this time, I think it's actually okay because backing files of the source automatically stay in the same AioContext as the source. Just mention it in the commit message. > Signed-off-by: Alberto Garcia Reviewed-by: Kevin Wolf