From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avO7q-0001jz-Ba for qemu-devel@nongnu.org; Wed, 27 Apr 2016 07:59:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avO7p-0002ZX-Hk for qemu-devel@nongnu.org; Wed, 27 Apr 2016 07:59:26 -0400 References: <2c95dbf66898b364e5f3ef134af279fa7ce113c0.1459776815.git.berto@igalia.com> From: Max Reitz Message-ID: <5720A991.5070707@redhat.com> Date: Wed, 27 Apr 2016 13:59:13 +0200 MIME-Version: 1.0 In-Reply-To: <2c95dbf66898b364e5f3ef134af279fa7ce113c0.1459776815.git.berto@igalia.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="i84dqm93UeNd2MW7rSdoOjuxhUvRCPkDm" Subject: Re: [Qemu-devel] [PATCH v9 01/11] block: keep a list of block jobs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alberto Garcia , qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Kevin Wolf , Eric Blake , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --i84dqm93UeNd2MW7rSdoOjuxhUvRCPkDm Content-Type: multipart/mixed; boundary="jGOLvgBK24kr7ClFeHmID4tflW13nmB3W" From: Max Reitz To: Alberto Garcia , qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Kevin Wolf , Eric Blake , Stefan Hajnoczi Message-ID: <5720A991.5070707@redhat.com> Subject: Re: [PATCH v9 01/11] block: keep a list of block jobs References: <2c95dbf66898b364e5f3ef134af279fa7ce113c0.1459776815.git.berto@igalia.com> In-Reply-To: <2c95dbf66898b364e5f3ef134af279fa7ce113c0.1459776815.git.berto@igalia.com> --jGOLvgBK24kr7ClFeHmID4tflW13nmB3W Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 04.04.2016 15:43, Alberto Garcia wrote: > The current way to obtain the list of existing block jobs is to > iterate over all root nodes and check which ones own a job. >=20 > Since we want to be able to support block jobs in other nodes as well, > this patch keeps a list of jobs that is updated every time one is > created or destroyed. >=20 > Signed-off-by: Alberto Garcia > --- > blockjob.c | 13 +++++++++++++ > include/block/blockjob.h | 14 ++++++++++++++ > 2 files changed, 27 insertions(+) Reviewed-by: Max Reitz --jGOLvgBK24kr7ClFeHmID4tflW13nmB3W-- --i84dqm93UeNd2MW7rSdoOjuxhUvRCPkDm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXIKmSAAoJEDuxQgLoOKytEZMH/0qNs4lpCCpRcP7WqEph3kPX z8jnCuDxkFSj22gHMQeOz7c102FAppJy1CzjTb91hWTxIiqV1KpMuvL5CBpLCxGK 4X3fxa0v/SpdoxnP0IbwwDsvGUHAe6VtZVw7RklonD17SuflL1v7n/Fv4xaTZ+5G ull31dRpZGwDF4NNjJvo9qAxSQIxNCFXkxUL3yCaz4OvcoyZdbu4PsNZzVawMwjT WUdtQZhGjb3xv/GOg+r7jPK5ZISigMlYOgiizRBk86K0pCzPCj8nNVphqmHHn25k 5ZSXEuzUjViuXwLjTJsX+kyw1PMoro0HLRPSGMj5mNIqYN1438AsvgGhIcQsYqY= =NI3h -----END PGP SIGNATURE----- --i84dqm93UeNd2MW7rSdoOjuxhUvRCPkDm--