From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDBRR-0006wF-0K for qemu-devel@nongnu.org; Thu, 09 Jul 2015 09:00:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZDBRN-0006sD-E1 for qemu-devel@nongnu.org; Thu, 09 Jul 2015 09:00:40 -0400 Date: Thu, 9 Jul 2015 14:00:33 +0100 From: Stefan Hajnoczi Message-ID: <20150709130032.GB11166@stefanha-thinkpad.redhat.com> References: <1436413678-7114-1-git-send-email-famz@redhat.com> <1436413678-7114-4-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KFztAG8eRSV9hGtP" Content-Disposition: inline In-Reply-To: <1436413678-7114-4-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH 3/3] mirror: Speed up bitmap initial scanning List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Kevin Wolf , Jeff Cody , qemu-devel@nongnu.org, qemu-block@nongnu.org --KFztAG8eRSV9hGtP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 09, 2015 at 11:47:58AM +0800, Fam Zheng wrote: > Limiting to sectors_per_chunk for each bdrv_is_allocated_above is slow, > because the underlying protocol driver would issue much more queries > than necessary. We should coalesce the query. >=20 > Signed-off-by: Fam Zheng > --- > block/mirror.c | 15 ++++++--------- > 1 file changed, 6 insertions(+), 9 deletions(-) Reviewed-by: Stefan Hajnoczi --KFztAG8eRSV9hGtP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVnnBwAAoJEJykq7OBq3PIe9YIAKCBL/KRTJP6qGR951sqStY0 Rs1pYtoyTc+GeCkxST6hHuIIf3RHJ6cYkza04+GTP7nOHe4GwFkEKw1siT3QGJ6U aB9nAM8uLBkp52fA90cW16AoDlMIak/DYHhg4namxG9WqRm9dU/4G25t055oyjeq epX5WqKP5nPGwi5vDqjclot7V8oJ+PDharjgGctrhfAHmgWyOnhvuNgqj4CsqnAZ cpvpZi/4P/x8fXGYjsKTRu7pJ5J4d7kNgEkwP5/jAZIyVULsH9Mq3CM5d+K0xOcd ZRfYSD1NdD85Ro5Ar3Oy//0zNPCtI/0FWHHgsuA4Xjfc8Tv6u/fK4UjvvhNrwAU= =o4S+ -----END PGP SIGNATURE----- --KFztAG8eRSV9hGtP--