Received: from eggs.gnu.org ([2001:4830:134:3::10]:47123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1CqY-0008Gj-1G for qemu-devel@nongnu.org; Fri, 13 May 2016 09:09:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b1CqW-0007QW-RU for qemu-devel@nongnu.org; Fri, 13 May 2016 09:09:37 -0400 References: <1462354765-14037-1-git-send-email-kwolf@redhat.com> <1462354765-14037-2-git-send-email-kwolf@redhat.com> From: Max Reitz Message-ID: Date: Fri, 13 May 2016 15:09:25 +0200 MIME-Version: 1.0 In-Reply-To: <1462354765-14037-2-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7E63dwiXt82OEguHhVtob871P86dqpotM" Subject: Re: [Qemu-devel] [PATCH 01/14] block: keep a list of block jobs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: jcody@redhat.com, jsnow@redhat.com, berto@igalia.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --7E63dwiXt82OEguHhVtob871P86dqpotM From: Max Reitz To: Kevin Wolf , qemu-block@nongnu.org Cc: jcody@redhat.com, jsnow@redhat.com, berto@igalia.com, qemu-devel@nongnu.org Message-ID: Subject: Re: [PATCH 01/14] block: keep a list of block jobs References: <1462354765-14037-1-git-send-email-kwolf@redhat.com> <1462354765-14037-2-git-send-email-kwolf@redhat.com> In-Reply-To: <1462354765-14037-2-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 04.05.2016 11:39, Kevin Wolf wrote: > From: Alberto Garcia >=20 > 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 > Signed-off-by: Kevin Wolf > --- > blockjob.c | 13 +++++++++++++ > include/block/blockjob.h | 14 ++++++++++++++ > 2 files changed, 27 insertions(+) Reviewed-by: Max Reitz --7E63dwiXt82OEguHhVtob871P86dqpotM 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 iQEcBAEBCAAGBQJXNdIFAAoJEDuxQgLoOKytNYUH/3HY7NaeB/eGMO2yAIUMf0Mk Fi2S4HXPpyI6ESZQUudtEF28ouk5C1lT1gZfNGIwwD5IvJgwduLbq7MSq3H4zS5P rnamlGBbvMMKOdhCWQfH3dAaQtvnBTZODXH19mDakAeogY8qHaJHlcR48T9NlVlz h8Jsve7dk+lDK/c+02xRo939WZz1yKEfmuKwqIKaijmdclHNn6b4hEbPa3mUHoAU pmlQaLMUE3cy0CsP7kQTHAjxuXkxbhx6sTnF96TzQsEwiXjBR8WpUsjKeqyURpUT q0pMFDYuYjLnO9L6p80vbVx543fTWacxQt14sFbyYNAUWVDXPqVGgSd88W0GmCk= =xEXc -----END PGP SIGNATURE----- --7E63dwiXt82OEguHhVtob871P86dqpotM--