Re: [Qemu-block] [PATCH 1/2] nbd/server: Implement sparse reads atop structured reply

2017-11-09 Thread Vladimir Sementsov-Ogievskiy
07.11.2017 06:09, Eric Blake wrote: The reason that NBD added structured reply in the first place was to allow for efficient reads of sparse files, by allowing the reply to include chunks to quickly communicate holes to the client without sending lots of zeroes over the wire. Time to implement t

[Qemu-block] [PATCH 1/2] nbd/server: Implement sparse reads atop structured reply

2017-11-06 Thread Eric Blake
The reason that NBD added structured reply in the first place was to allow for efficient reads of sparse files, by allowing the reply to include chunks to quickly communicate holes to the client without sending lots of zeroes over the wire. Time to implement this in the server; our client can alre