Received: from eggs.gnu.org ([2001:4830:134:3::10]:47956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0SiL-0002Ji-2K for qemu-devel@nongnu.org; Fri, 27 Jun 2014 05:45:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0SiE-0007dw-Tv for qemu-devel@nongnu.org; Fri, 27 Jun 2014 05:45:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0SiE-0007dm-Mj for qemu-devel@nongnu.org; Fri, 27 Jun 2014 05:44:54 -0400 Date: Fri, 27 Jun 2014 11:44:49 +0200 From: Kevin Wolf Message-ID: <20140627094449.GB5223@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 for 2.1 0/2] Fix commit of oversized layer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jeff Cody Cc: benoit.canet@irqsave.net, famz@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com Am 25.06.2014 um 22:55 hat Jeff Cody geschrieben: > This fixes a regression in block-commit; if the top image is larger than the > base image, we attempt to resize the base image. The regression is that we > fail the image truncate operation, returning -EBUSY. Thanks, applied to the block branch. One thing I'm not sure about is whether commit (all of synchronous, live and live on active layer) should check the RESIZE blocker before resizing the backing file. In general, it feels like it would be the right thing to do, especially considering the goal of operation categories in the final state, but on the other hand it means that RESIZE would have to be excluded from bs->backing_blocker, too, allowing standalone resize commands on backing files. Not sure that this would be a good idea... Kevin