Received: from eggs.gnu.org ([2001:4830:134:3::10]:54732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzPJz-0000rm-Bi for qemu-devel@nongnu.org; Wed, 26 Oct 2016 10:36:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzPJv-0000Hq-AF for qemu-devel@nongnu.org; Wed, 26 Oct 2016 10:36:51 -0400 Date: Wed, 26 Oct 2016 16:36:36 +0200 From: Kevin Wolf Message-ID: <20161026143636.GQ4758@noname.str.redhat.com> References: <001491437b12b71746179d85dff14e90575a4e7c.1477476553.git.berto@igalia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001491437b12b71746179d85dff14e90575a4e7c.1477476553.git.berto@igalia.com> Subject: Re: [Qemu-devel] [PATCH v12 03/19] block: Add block_job_add_bdrv() 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 , Markus Armbruster Am 26.10.2016 um 12:29 hat Alberto Garcia geschrieben: > When a block job is created on a certain BlockDriverState, operations > are blocked there while the job exists. However, some block jobs may > involve additional BDSs, which must be blocked separately when the job > is created and unblocked manually afterwards. > > This patch adds block_job_add_bdrv(), that simplifies this process by > keeping a list of BDSs that are involved in the specified block job. > > Signed-off-by: Alberto Garcia Reviewed-by: Kevin Wolf