Received: from eggs.gnu.org ([2001:4830:134:3::10]:52763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayhSA-0007OP-8f for qemu-devel@nongnu.org; Fri, 06 May 2016 11:14:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayhRy-0002ZQ-L1 for qemu-devel@nongnu.org; Fri, 06 May 2016 11:14:00 -0400 From: Alberto Garcia In-Reply-To: <1461346962-4676-10-git-send-email-kwolf@redhat.com> References: <1461346962-4676-1-git-send-email-kwolf@redhat.com> <1461346962-4676-10-git-send-email-kwolf@redhat.com> Date: Fri, 06 May 2016 17:13:21 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v2 09/13] block: Drain throttling queue with BdrvChild callback List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: pbonzini@redhat.com, mreitz@redhat.com, eblake@redhat.com, stefanha@redhat.com, qemu-devel@nongnu.org On Fri 22 Apr 2016 07:42:38 PM CEST, Kevin Wolf wrote: > This removes the last part of I/O throttling from block/io.c and moves > it to the BlockBackend. > > Instead of having knowledge about throttling inside io.c, we can call a > BdrvChild callback .drained_begin/end, which happens to drain the > throttled requests for BlockBackend parents. > > Signed-off-by: Kevin Wolf Reviewed-by: Alberto Garcia Berto