Re: [Qemu-devel] [PATCH v2 5/7] nbd-client: Short-circuit 0-length operations

2017-11-09 Thread Eric Blake
On 11/09/2017 03:20 AM, Vladimir Sementsov-Ogievskiy wrote: > 09.11.2017 00:57, Eric Blake wrote: >> The NBD spec was recently clarified to state that clients should >> not send 0-length requests to the server, as the server behavior >> is undefined [1].  We know that qemu-nbd's behavior is a succe

Re: [Qemu-devel] [PATCH v2 5/7] nbd-client: Short-circuit 0-length operations

2017-11-09 Thread Vladimir Sementsov-Ogievskiy
09.11.2017 00:57, Eric Blake wrote: The NBD spec was recently clarified to state that clients should not send 0-length requests to the server, as the server behavior is undefined [1]. We know that qemu-nbd's behavior is a successful no-op (once it has filtered for read-only exports), but other N

[Qemu-devel] [PATCH v2 5/7] nbd-client: Short-circuit 0-length operations

2017-11-08 Thread Eric Blake
The NBD spec was recently clarified to state that clients should not send 0-length requests to the server, as the server behavior is undefined [1]. We know that qemu-nbd's behavior is a successful no-op (once it has filtered for read-only exports), but other NBD implementations might return an err