From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEy4Y-00070s-S3 for qemu-devel@nongnu.org; Mon, 20 Jun 2016 08:12:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEy4S-0007PO-MV for qemu-devel@nongnu.org; Mon, 20 Jun 2016 08:12:57 -0400 Date: Mon, 20 Jun 2016 13:12:49 +0100 From: Stefan Hajnoczi Message-ID: <20160620121249.GD14100@stefanha-x1.localdomain> References: <1465939839-30097-1-git-send-email-eblake@redhat.com> <1465939839-30097-4-git-send-email-eblake@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3Pql8miugIZX0722" Content-Disposition: inline In-Reply-To: <1465939839-30097-4-git-send-email-eblake@redhat.com> Subject: Re: [Qemu-devel] [Qemu-block] [PATCH v2 03/17] block: Fix harmless off-by-one in bdrv_aligned_preadv() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-devel@nongnu.org, kwolf@redhat.com, Fam Zheng , Stefan Hajnoczi , qemu-block@nongnu.org, Max Reitz --3Pql8miugIZX0722 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 14, 2016 at 03:30:25PM -0600, Eric Blake wrote: > If the amount of data to read ends exactly on the total size > of the bs, then we were wasting time creating a local qiov > to read the data in preparation for what would normally be > appending zeroes beyond the end, even though this corner case > has nothing further to do. >=20 > Signed-off-by: Eric Blake > Reviewed-by: Kevin Wolf >=20 > --- > v2: no change, add R-b > --- > block/io.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Stefan Hajnoczi --3Pql8miugIZX0722 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXZ93BAAoJEJykq7OBq3PIUyAH/RbNIcUPRK14PxSZPYlR+085 RK0v1ZydwvxaRN0b2IKdMmrXLKR4RJhMJN8a7ZXP9/4XwmtES4aZIoGAKtww4m0H Jg3dqowy89K2J+kmX6wdKAYq3OtO287fj2lwnxgz3yXxN5FjfGIw5tGzEKRT3jXu rBvZN7RtDK7pO19jZRWjbs3VvLFxTHTK0AYu8HFS+K2OnwQjqyZ46Xz7nzIliB4P x9+TgItWnOrCTfRmf+O1jz29DDMGfbzCu8+noKwkGkH08UoZUyYV6Nw0XLckfDAL 4VelaJcOVB6fNjUU6xJBG9rlWaPRFOlCvaVnPafKKjq/UqsQYP1M6WoOgd72Av4= =8dVy -----END PGP SIGNATURE----- --3Pql8miugIZX0722--