From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwJ7v-0003F0-F6 for qemu-devel@nongnu.org; Sun, 24 Sep 2017 22:28:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwJ7u-00009f-Bk for qemu-devel@nongnu.org; Sun, 24 Sep 2017 22:28:07 -0400 Date: Mon, 25 Sep 2017 10:27:55 +0800 From: Fam Zheng Message-ID: <20170925022755.GA22980@lemon.lan> References: <20170923111411.18626-1-el13635@mail.ntua.gr> <20170923111411.18626-2-el13635@mail.ntua.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170923111411.18626-2-el13635@mail.ntua.gr> Subject: Re: [Qemu-devel] [PATCH v3 1/3] block: add bdrv_co_drain_end callback List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Manos Pitsidianakis Cc: qemu-devel , qemu-block , Kevin Wolf , Stefan Hajnoczi , Max Reitz On Sat, 09/23 14:14, Manos Pitsidianakis wrote: > BlockDriverState has a bdrv_co_drain() callback but no equivalent for > the end of the drain. The throttle driver (block/throttle.c) needs a way > to mark the end of the drain in order to toggle io_limits_disabled > correctly, thus bdrv_co_drain_end is needed. > > Signed-off-by: Manos Pitsidianakis Reviewed-by: Fam Zheng