Re: [Qemu-devel] [PATCH 13/18] nbd: Support shorter handshake

2016-04-09 Thread Eric Blake
On 04/09/2016 04:42 AM, Alex Bligh wrote: > > On 8 Apr 2016, at 23:05, Eric Blake wrote: > >> 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

Re: [Qemu-devel] [PATCH 13/18] nbd: Support shorter handshake

2016-04-09 Thread Alex Bligh
On 8 Apr 2016, at 23:05, Eric Blake wrote: > 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

[Qemu-devel] [PATCH 13/18] nbd: Support shorter handshake

2016-04-08 Thread Eric Blake
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