From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpBir-0003U0-15 for qemu-devel@nongnu.org; Thu, 22 Oct 2015 04:59:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpBin-0007pz-8Y for qemu-devel@nongnu.org; Thu, 22 Oct 2015 04:59:44 -0400 Date: Thu, 22 Oct 2015 10:59:32 +0200 From: Kevin Wolf Message-ID: <20151022085932.GA3941@noname.redhat.com> References: <1445452565-20477-1-git-send-email-berto@igalia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1445452565-20477-1-git-send-email-berto@igalia.com> Subject: Re: [Qemu-devel] [PATCH] throttle: Remove throttle_group_lock/unlock() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alberto Garcia Cc: Stefan Hajnoczi , qemu-devel@nongnu.org, qemu-block@nongnu.org, Max Reitz Am 21.10.2015 um 20:36 hat Alberto Garcia geschrieben: > The group throttling code was always meant to handle its locking > internally. However, bdrv_swap() was touching the ThrottleGroup > structure directly and therefore needed an API for that. > > Now that bdrv_swap() no longer exists there's no need for the > throttle_group_lock() API anymore. > > Signed-off-by: Alberto Garcia Thanks, applied to the block branch. Kevin