Received: from eggs.gnu.org ([2001:4830:134:3::10]:40325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXXaH-0002CP-MO for qemu-devel@nongnu.org; Mon, 16 Mar 2015 12:09:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXXaE-0001SB-DP for qemu-devel@nongnu.org; Mon, 16 Mar 2015 12:09:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXXaE-0001Rv-6s for qemu-devel@nongnu.org; Mon, 16 Mar 2015 12:09:38 -0400 Date: Mon, 16 Mar 2015 17:08:52 +0100 From: Kevin Wolf Message-ID: <20150316160852.GG4707@noname.redhat.com> References: <1426228529-15969-1-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1426228529-15969-1-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH] block/throttle: Use host clock type List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: pbonzini@redhat.com, berto@igalia.com, qemu-devel@nongnu.org, Stefan Hajnoczi Am 13.03.2015 um 07:35 hat Fam Zheng geschrieben: > Throttle timers won't make any progress when VCPU is not running, which > is prone to stall the request queue in cases like utils, qtest, > suspending, and live migration, unless carefully handled. What we do now > is crude. For example in bdrv_drain_all, requests are resumed > immediately without consulting throttling timer. Unfortunately > bdrv_drain_all is so widely used that there may be too many holes that > guest could bypass throttling. > > If we use the host clock, we can just trust the nested poll when waiting > for requests. > > Signed-off-by: Fam Zheng This breaks qemu-iotests 093. Dropped it again from the block branch. Kevin