From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAfzs-0003c8-Hz for qemu-devel@nongnu.org; Wed, 08 Jun 2016 12:06:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAfzl-0006x6-L5 for qemu-devel@nongnu.org; Wed, 08 Jun 2016 12:06:23 -0400 References: <1465395011-26088-1-git-send-email-kwolf@redhat.com> <1465395011-26088-7-git-send-email-kwolf@redhat.com> From: Eric Blake Message-ID: <57584272.9020101@redhat.com> Date: Wed, 8 Jun 2016 10:06:10 -0600 MIME-Version: 1.0 In-Reply-To: <1465395011-26088-7-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jpHrmSIhWFBcUrlhLm3RPFSdSnOijElxj" Subject: Re: [Qemu-devel] [PATCH 6/6] block: Don't enforce 512 byte minimum alignment List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: pbonzini@redhat.com, mreitz@redhat.com, stefanha@redhat.com, famz@redhat.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jpHrmSIhWFBcUrlhLm3RPFSdSnOijElxj Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06/08/2016 08:10 AM, Kevin Wolf wrote: > If block drivers say that they can do an alignment < 512 bytes, let's > just suppose they mean it. raw-posix used to be an offender with respec= t > to this, but it can actually deal with byte-aligned requests now. >=20 > The default is still 512 bytes for any drivers that only implement > sector-based interfaces, but it is 1 now for drivers that implement > .bdrv_co_preadv. >=20 > Signed-off-by: Kevin Wolf > --- > block.c | 2 +- > block/io.c | 8 +++----- > 2 files changed, 4 insertions(+), 6 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --jpHrmSIhWFBcUrlhLm3RPFSdSnOijElxj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJXWEJyAAoJEKeha0olJ0Nq7A8IAK/3A5ASTJBfU+oh1tzHb5Lf jh5sVyDxU5Dv+cL6zKTq+U9yITG5tsCDOr7k/cCAg0bCtyySPEi82H1q+rhBMrM1 04H+RohO3CrGFd01PMsjiOXhT+43AxP7sYLUgieIHqf4t5bIiXx4inFUh0v5zqQ/ oUAVhIZ4aXDsx9TwYhUiDsE7QlqvUo3j8XcayutsP7Um/BYNWaKX+E01YTX1jkCa LaSEwfTX3vxF7TXoiNUksFThm5Gq2rBTBEM9Qw0WE+I17GUA4NkPYQT6L12IQeDn 2EcrB+qxKQaVxptMV1PdLTNYQJKhjKJvrwcVujij71tciD6769uIT4HaKj0cYvE= =qFxh -----END PGP SIGNATURE----- --jpHrmSIhWFBcUrlhLm3RPFSdSnOijElxj--