Re: [Qemu-devel] [PATCH 2/4] nbd/client: Refactor in preparation for more limits

2018-05-03 Thread Vladimir Sementsov-Ogievskiy
02.05.2018 00:13, Eric Blake wrote: The next patch will ask the server for more items of NBD_INFO. However, the server is free to respond with INFO items in a different order than what we request, so performing any sanity checks about constraints that occur between multiple INFO items must be don

[Qemu-devel] [PATCH 2/4] nbd/client: Refactor in preparation for more limits

2018-05-01 Thread Eric Blake
The next patch will ask the server for more items of NBD_INFO. However, the server is free to respond with INFO items in a different order than what we request, so performing any sanity checks about constraints that occur between multiple INFO items must be done after all items have been received.