Received: from eggs.gnu.org ([2001:4830:134:3::10]:49311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkthH-0001fe-75 for qemu-devel@nongnu.org; Wed, 22 Apr 2015 08:24:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkthC-0000Dd-80 for qemu-devel@nongnu.org; Wed, 22 Apr 2015 08:24:07 -0400 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:38391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkthC-0000DV-0U for qemu-devel@nongnu.org; Wed, 22 Apr 2015 08:24:02 -0400 Received: by wiun10 with SMTP id n10so55121618wiu.1 for ; Wed, 22 Apr 2015 05:24:01 -0700 (PDT) Date: Wed, 22 Apr 2015 13:23:59 +0100 From: Stefan Hajnoczi Message-ID: <20150422122359.GC27617@stefanha-thinkpad.redhat.com> References: <1426069701-1405-1-git-send-email-den@openvz.org> <1426069701-1405-4-git-send-email-den@openvz.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pAwQNkOnpTn9IO2O" Content-Disposition: inline In-Reply-To: <1426069701-1405-4-git-send-email-den@openvz.org> Subject: Re: [Qemu-devel] [PATCH 03/27] block/parallels: switch to bdrv_read List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Denis V. Lunev" Cc: Kevin Wolf , qemu-devel@nongnu.org, Stefan Hajnoczi , Roman Kagan --pAwQNkOnpTn9IO2O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 11, 2015 at 01:27:57PM +0300, Denis V. Lunev wrote: > From: Roman Kagan >=20 > Switch the .bdrv_read method implementation from using bdrv_pread() to > bdrv_read() on the underlying file, since the latter is subject to i/o > throttling while the former is not. >=20 > Besides, since bdrv_read() operates in sectors rather than bytes, adjust > the helper functions to do so too. Can this patch be dropped since "[PATCH 06/27] block/parallels: provide _co_readv routine for parallels format driver" switches to =2Ebdrv_co_readv() anyway? Stefan --pAwQNkOnpTn9IO2O Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVN5LfAAoJEJykq7OBq3PI8pYIALc8VJRN16EJOxfWUOeEiw9F fY1bmx3t64Emu4eaDLk3BKrIi06F5Sm4+XDaR/05wIj/dUZvpj06wMYaR3AkEZf+ IHJCmFjewh93FvP0cDn7fYPhqtKkc8eGkdjZVikNKENdmvmWfAdfAwDZdug1isHA YlB8R0OMcm1tfCUVcuUMojtHF6bqZoCrZE2CVeO6crQ7NYMBjRkpwGIwLwNrNm8r BJSAxXS7S1ivWGK8EHyNKyFgAwzkNkuh2SvqcbqO+e1SvpsYRQrt3YtrvbVsnPnb H0W03TI6hrufhrIQcA6TmlzYUBfwhmN96tCotS4pQWNyYlIODloqEayC6z5aCdY= =YH0p -----END PGP SIGNATURE----- --pAwQNkOnpTn9IO2O--