From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aePzA-0003ih-IV for qemu-devel@nongnu.org; Fri, 11 Mar 2016 11:32:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aePz5-0003oo-Q0 for qemu-devel@nongnu.org; Fri, 11 Mar 2016 11:32:20 -0500 References: <1457412306-18940-1-git-send-email-famz@redhat.com> <1457412306-18940-16-git-send-email-famz@redhat.com> From: Max Reitz Message-ID: <56E2F307.5030003@redhat.com> Date: Fri, 11 Mar 2016 17:32:07 +0100 MIME-Version: 1.0 In-Reply-To: <1457412306-18940-16-git-send-email-famz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8hnJGftHpP4gSHStCoxiARw85jwS3WadG" Subject: Re: [Qemu-devel] [PATCH v4 15/15] block: More operations for meta dirty bitmap List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: kwolf@redhat.com, Vladimir Sementsov-Ogievskiy , jsnow@redhat.com, qemu-block@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --8hnJGftHpP4gSHStCoxiARw85jwS3WadG Content-Type: multipart/mixed; boundary="lsEUQqrmowmx1WPu937XuDCig7lXerEuJ" From: Max Reitz To: Fam Zheng , qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Vladimir Sementsov-Ogievskiy , jsnow@redhat.com, kwolf@redhat.com Message-ID: <56E2F307.5030003@redhat.com> Subject: Re: [PATCH v4 15/15] block: More operations for meta dirty bitmap References: <1457412306-18940-1-git-send-email-famz@redhat.com> <1457412306-18940-16-git-send-email-famz@redhat.com> In-Reply-To: <1457412306-18940-16-git-send-email-famz@redhat.com> --lsEUQqrmowmx1WPu937XuDCig7lXerEuJ Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 08.03.2016 05:45, Fam Zheng wrote: > Callers can create an iterator of meta bitmap with > bdrv_dirty_meta_iter_new(), then use the bdrv_dirty_iter_* operations o= n > it. Meta iterators are also counted by bitmap->active_iterators. >=20 > Also add a couple of functions to retrieve granularity and count. >=20 > Signed-off-by: Fam Zheng > --- > block/dirty-bitmap.c | 19 +++++++++++++++++++ > include/block/dirty-bitmap.h | 3 +++ > 2 files changed, 22 insertions(+) Reviewed-by: Max Reitz --lsEUQqrmowmx1WPu937XuDCig7lXerEuJ-- --8hnJGftHpP4gSHStCoxiARw85jwS3WadG 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 iQEcBAEBCAAGBQJW4vMHAAoJEDuxQgLoOKytObQH/2vtAqzHEmxaSCJCxmogRUEh pewIIwRx38KabpHA+PD9qC2XUeEP/Qn9j4mL/pDFZA8I/Bdf3x1ebZ/HZm+14OOM Wta05SLgXZfsX/m5gcsTrvxch+MOFuIB7gpp+JafbTNRCTC3WcR4riirqsx/QrXO WD7l2VzJ4cGnhKQ+ePMrKr+CQf4CsTmZsBmlWQUq1VLZ/jWqDDF09Vk4V5ENGdMs euoeznp6ZqjLEZaUiWcQ7kSAR/SfL5AA2jotfVBylIjiLdvP9HYdwe8Ejc7l4xCx QgNJ+AxUCbp11f322C9rfniV7Qjc0HyHxZxYOAyukpeq5h90jX0eAMFEu0BrI4o= =yyQ4 -----END PGP SIGNATURE----- --8hnJGftHpP4gSHStCoxiARw85jwS3WadG--