From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btcmS-0005tR-Ic for qemu-devel@nongnu.org; Mon, 10 Oct 2016 11:46:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btcmN-0000KR-PE for qemu-devel@nongnu.org; Mon, 10 Oct 2016 11:46:19 -0400 Date: Mon, 10 Oct 2016 17:46:07 +0200 From: Kevin Wolf Message-ID: <20161010154607.GJ6775@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 v10 02/16] 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 , Markus Armbruster , Stefan Hajnoczi Am 06.10.2016 um 15:02 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