From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjdvD-00078f-V6 for qemu-devel@nongnu.org; Fri, 14 Dec 2012 17:40:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tjdv9-0006gK-Ks for qemu-devel@nongnu.org; Fri, 14 Dec 2012 17:39:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tjdv9-0006gE-Cs for qemu-devel@nongnu.org; Fri, 14 Dec 2012 17:39:55 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBEMds6l020372 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 14 Dec 2012 17:39:54 -0500 Message-ID: <50CBAAB9.3000509@redhat.com> Date: Fri, 14 Dec 2012 15:39:53 -0700 From: Eric Blake MIME-Version: 1.0 References: <1355319999-30627-1-git-send-email-pbonzini@redhat.com> <1355319999-30627-13-git-send-email-pbonzini@redhat.com> In-Reply-To: <1355319999-30627-13-git-send-email-pbonzini@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig78868A3007F12ABBC17C0181" Subject: Re: [Qemu-devel] [PATCH 12/20] mirror: support arbitrarily-sized iterations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: kwolf@redhat.com, jcody@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig78868A3007F12ABBC17C0181 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/12/2012 06:46 AM, Paolo Bonzini wrote: > Yet another optimization is to extend the mirroring iteration to includ= e more > adjacent dirty blocks. This limits the number of I/O operations and ma= kes > mirroring efficient even with a small granularity. Most of the infrast= ructure > is already in place; we only need to put a loop around the computation = of > the origin and sector count of the iteration. >=20 > Signed-off-by: Paolo Bonzini > --- > block/mirror.c | 100 +++++++++++++++++++++++++++++++++++++++----------= -------- > trace-events | 1 + > 2 files changed, 69 insertions(+), 32 deletions(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig78868A3007F12ABBC17C0181 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBCAAGBQJQy6q5AAoJEKeha0olJ0NqE3oH/Ah3F12QQ7c0VHXRsN5YDLBi ZPwe/XpkXcdnjfI2zxKZcqSV4NGQv4wf2shPf32amjz2KzBx0V82FWmcHA5i01Lx GGmq1wPysN3WtKzUybJrPn25wSykxA+3Dc3eDEOVxfPfNjaQK9gX6rj+NHWezZXk N2GMVlgFxzjDiWgVjfOut/3f+Z1JHNSHjp2juwSdI2vfcWDt6GlzZy07gcutHeiK wg0K2QQK5v3adX/z7VkjCs82j4e9lnPG2oHc1LYDOTA2c3lzXMAwq7NZpwoKT8EF WoA/bXE0nqBl7Y/dkTQKspt9htCFP4flGEUzwlFvMqOHWhu+twGfvZLd5dJaAN4= =Xtf5 -----END PGP SIGNATURE----- --------------enig78868A3007F12ABBC17C0181--