From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvmIW-00018w-4k for qemu-devel@nongnu.org; Mon, 09 Nov 2015 08:15:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZvmIS-00008E-6c for qemu-devel@nongnu.org; Mon, 09 Nov 2015 08:15:48 -0500 Date: Mon, 9 Nov 2015 21:15:34 +0800 From: Fam Zheng Message-ID: <20151109131534.GC18363@ad.usersys.redhat.com> References: <1447037808-31886-1-git-send-email-famz@redhat.com> <20151109114220.GD5968@stefanha-x1.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151109114220.GD5968@stefanha-x1.localdomain> Subject: Re: [Qemu-devel] [PATCH v3 0/9] block: Fixes for bdrv_drain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , qemu-block@nongnu.org, Peter Lieven , qemu-devel@nongnu.org, Ronnie Sahlberg , Paolo Bonzini On Mon, 11/09 11:42, Stefan Hajnoczi wrote: > On Mon, Nov 09, 2015 at 10:56:39AM +0800, Fam Zheng wrote: > > v3: Don't reuse coroutine in bdrv_aio_ioctl. [Stefan] > > Recursely call .bdrv_drain callback only. [Stefan, Paolo] > > I don't understand this change. I thought you want .bdrv_drain() to be > called on the whole tree, but the latest code seems to call it on the > root and children only. It doesn't recurse the only the root and first > level of the tree get .bdrv_drain() calls. Is this intentional? Right, v4 posted, please ignore this.