From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ap1La-0005Km-Sn for qemu-devel@nongnu.org; Sat, 09 Apr 2016 18:27:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ap1LZ-0005O6-Sm for qemu-devel@nongnu.org; Sat, 09 Apr 2016 18:27:18 -0400 References: <1460153158-21612-1-git-send-email-eblake@redhat.com> <1460153158-21612-14-git-send-email-eblake@redhat.com> From: Eric Blake Message-ID: <570981C0.8060903@redhat.com> Date: Sat, 9 Apr 2016 16:27:12 -0600 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EWdrv0R1fQOFm8jPXh1CPfkSb50TpAv2u" Subject: Re: [Qemu-devel] [PATCH 13/18] nbd: Support shorter handshake List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Bligh Cc: "qemu-devel@nongnu.org" , Kevin Wolf , Paolo Bonzini , "open list:Block layer core" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EWdrv0R1fQOFm8jPXh1CPfkSb50TpAv2u Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/09/2016 04:42 AM, Alex Bligh wrote: >=20 > On 8 Apr 2016, at 23:05, Eric Blake wrote: >=20 >> The NBD Protocol allows the server and client to mutually agree >> on a shorter handshake (omit the 124 bytes of reserved 0), via >> the server advertising NBD_FLAG_NO_ZEROES and the client >> acknowledging with NBD_FLAG_C_NO_ZEROES (only possible in >> newstyle, whether or not it is fixed newstyle). It doesn't >> shave much off the wire, but we might as well implement it. >> >> Signed-off-by: Eric Blake >=20 >=20 > Reviewed-by: Alex Bligh >=20 > thanks - that was annoying me. >=20 It turns out that doing this also made the NBD_OPT_GO patches easier :) --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --EWdrv0R1fQOFm8jPXh1CPfkSb50TpAv2u 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/ iQEcBAEBCAAGBQJXCYHAAAoJEKeha0olJ0NqJz8IAKA1a/aZdg6zeiFBfkx0Afzk Jt/YoQmyBe4TfW+/6o0uKTj4PQqG1QoHQglU5p7qvOCY+/GMVNg7ZzJ8WH44KkuC QoZqvJtjWuTHkkZS/FwM0izDRbeZhVAPQQOHhyyNXuizgFThJGIuR4HmvjWpSGhJ iukw3Y94p7dA5Ao88vh49tOMPbXMXzwasoPckQY38WyiMxsLmdkrWHY69h8197+g 8DjUzxS4JLCMovy+1DD506V0Pn7g5oNdxcZs/UaPDNqDPRa2oT7sKxY4euoG7WHm nvpUVnkh81NOwtmk4CoO9iTUF9z/bZmKYMTsShhBsbc8iudNGQP1mUtbRWx94HY= =SCOv -----END PGP SIGNATURE----- --EWdrv0R1fQOFm8jPXh1CPfkSb50TpAv2u--