From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZF09I-0001ZN-BH for qemu-devel@nongnu.org; Tue, 14 Jul 2015 09:21:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZF09E-0007c8-Al for qemu-devel@nongnu.org; Tue, 14 Jul 2015 09:21:28 -0400 Date: Tue, 14 Jul 2015 14:21:19 +0100 From: Stefan Hajnoczi Message-ID: <20150714132119.GO17927@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="LwbuP8dfxhLLLUfV" 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 --LwbuP8dfxhLLLUfV 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(-) Thanks, applied Patch 3 to my block tree: https://github.com/stefanha/qemu/commits/block Stefan --LwbuP8dfxhLLLUfV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVpQzPAAoJEJykq7OBq3PI5+QIALKhoRUf+IgHOBI3MBuFP17J l6gYTOmOXjtpfpPIL1q6fg48GpLiVCuB+sIqUYUlXcK3hWQPR152E0OxE+Y089kR ake5YcQA44dV8eIMe3Lf3Wq5kM0a5ki/oemX96kwPkdscYgH7xC367rm+HFx5F8j 6nErFvgCeNnaqdkvfy6JkmptI7sUvN4DQy7QdqrgV99/ocMEZRks4zr8eG+pt6NQ bKWqRm17GtQt7uM85JpAJrplluo6zs7uFko5RuJiZ7ljmT8wo66kyWqoOVxkNNXB BXr98MVmclAGJGkOhUVQ0TbGEj5vInAreWOX8EM+EY6Z6YZ40QDgCh5grmBfT/I= =O2T4 -----END PGP SIGNATURE----- --LwbuP8dfxhLLLUfV--