From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4EMS-0002WV-Tw for qemu-devel@nongnu.org; Mon, 07 Jul 2014 15:14:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4EMC-0006Vf-Ll for qemu-devel@nongnu.org; Mon, 07 Jul 2014 15:14:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4EMC-0006VX-BH for qemu-devel@nongnu.org; Mon, 07 Jul 2014 15:13:44 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s67JDgw3018757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 7 Jul 2014 15:13:43 -0400 Message-ID: <53BAF165.3090702@redhat.com> Date: Mon, 07 Jul 2014 13:13:41 -0600 From: Eric Blake MIME-Version: 1.0 References: <1404582448-23840-1-git-send-email-mreitz@redhat.com> <1404582448-23840-7-git-send-email-mreitz@redhat.com> In-Reply-To: <1404582448-23840-7-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="56evV1MQAlfGJXwnf33EpM9jH1xBsQMfj" Subject: Re: [Qemu-devel] [PATCH v9 06/14] block/mirror: Improve progress report List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --56evV1MQAlfGJXwnf33EpM9jH1xBsQMfj Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/05/2014 11:47 AM, Max Reitz wrote: > Instead of taking the total length of the block device as the block > job's length, use the number of dirty sectors. The progress is now the > number of sectors mirrored to the target block device. Note that this > may result in the job's length increasing during operation, which is > however in fact desirable. >=20 > Signed-off-by: Max Reitz > --- > block/mirror.c | 34 ++++++++++++++++++++++------------ > 1 file changed, 22 insertions(+), 12 deletions(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --56evV1MQAlfGJXwnf33EpM9jH1xBsQMfj 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 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTuvFlAAoJEKeha0olJ0NqBsUH/jp1n6AAnHQguNHDv8Etn12q xSOKOpm7WcpgCWY6dlFi0uOA6KhsQAARLYgg/GLe5qXc5U6mNulxIC3H83ZJJAsQ 8dECmiZUYqMGIl7u2trSbta+DfDzskHb+G5cM88/dc+2nfy5LL1xqn/Nsbf8IDEf jy49Meqcs92yhoYhqsFqWuNmNQjx7WQvaBUsoQggqdrKZl4xQ65CBiuci6NVoZXA LZjDHgiGLI6TqZJre4vZ1psLIx6oHXDiYUKy5pRuGMC+exAa5SXp/0Ti3Ct5Ufj1 9LjGJb/+tJKXh/tah8NiIEgsWPi6yXVy/raO8X0tbED+Q+DOxNK9E8BFUpgNmNs= =Gj2f -----END PGP SIGNATURE----- --56evV1MQAlfGJXwnf33EpM9jH1xBsQMfj--