From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw9NU-00061S-GY for qemu-devel@nongnu.org; Fri, 29 Apr 2016 10:26:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aw9NI-00037v-Tt for qemu-devel@nongnu.org; Fri, 29 Apr 2016 10:26:39 -0400 Date: Fri, 29 Apr 2016 16:25:54 +0200 From: Kevin Wolf Message-ID: <20160429142554.GG4350@noname.redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v9 02/11] block: use the block job list in bdrv_drain_all() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alberto Garcia Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org, Max Reitz , Eric Blake , Stefan Hajnoczi Am 04.04.2016 um 15:43 hat Alberto Garcia geschrieben: > bdrv_drain_all() pauses all block jobs by using bdrv_next() to iterate > over all top-level BlockDriverStates. Therefore the code is unable to > find block jobs in other nodes. > > This patch uses block_job_next() to iterate over all block jobs. > > Signed-off-by: Alberto Garcia This conflicts with Paolo's patches in block-next. Please rebase. (Apart from that, the change looks sane.) Kevin