Received: from eggs.gnu.org ([2001:4830:134:3::10]:43391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ansi7-0001B1-2o for qemu-devel@nongnu.org; Wed, 06 Apr 2016 15:01:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ansi6-0006TY-4Q for qemu-devel@nongnu.org; Wed, 06 Apr 2016 15:01:51 -0400 From: Alberto Garcia In-Reply-To: <1459783562-28859-1-git-send-email-kwolf@redhat.com> References: <1459783562-28859-1-git-send-email-kwolf@redhat.com> Date: Wed, 06 Apr 2016 21:01:36 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH for-2.6] block: Forbid I/O throttling on nodes with multiple parents for 2.6 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: pbonzini@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com On Mon 04 Apr 2016 05:26:02 PM CEST, Kevin Wolf wrote: > As the patches to move I/O throttling to BlockBackend didn't make it in > time for the 2.6 release, but the release adds new ways of configuring > VMs whose behaviour would change once the move is done, we need to > outlaw such configurations temporarily. > > The problem exists whenever a BDS has more users than just its BB, for > example it is used as a backing file for another node. (This wasn't > possible in 2.5 yet as we introduced node references to specify a > backing file only recently.) In these cases, the throttling would > apply to these other users now, but after moving throttling to the > BlockBackend the other users wouldn't be throttled any more. > > This patch both prevents making new references to a throttled node as > well as using monitor commands to throttle a node with multiple parents. > > Compared to 2.5 this changes behaviour in some corner cases where > references were allowed before, like bs->file or Quorum children. It > seems reasonable to assume that users didn't use I/O throttling on such > low level nodes. With the upcoming move of throttling into BlockBackend, > such configurations won't be possible anyway. > > Signed-off-by: Kevin Wolf Reviewed-by: Alberto Garcia Berto