Re: [Libguestfs] [PATCH v2 2/6] spec: Tweak description of maximum block size

2022-12-17 Thread Vladimir Sementsov-Ogievskiy
On 11/15/22 01:46, Eric Blake wrote: Commit 9f30fedb improved the spec to allow non-payload requests that exceed any advertised maximum block size. Take this one step further by permitting the server to use NBD_EOVERFLOW as a hint to the client when a request is oversize (while permitting

Re: [Libguestfs] [PATCH v2 1/6] spec: Recommend cap on NBD_REPLY_TYPE_BLOCK_STATUS length

2022-12-17 Thread Vladimir Sementsov-Ogievskiy
On 11/15/22 01:46, Eric Blake wrote: The spec was silent on how many extents a server could reply with. However, both qemu and nbdkit (the two server implementations known to have implemented the NBD_CMD_BLOCK_STATUS extension) implement a hard cap, and will truncate the amount of extents in a