Re: [Qemu-block] [PATCH v4 09/10] block/nbd-client: nbd reconnect

2019-02-05 Thread Eric Blake
On 2/5/19 11:07 AM, Vladimir Sementsov-Ogievskiy wrote: >> Or, put another way, we KNOW we have (corner) cases where a mis-aligned >> image can currently cause the server to return BLOCK_STATUS replies that >> aren't aligned to the advertised minimumm block size. Attempting to >> read the last

Re: [Qemu-block] [PATCH v4 09/10] block/nbd-client: nbd reconnect

2019-02-05 Thread Vladimir Sementsov-Ogievskiy
16.01.2019 20:04, Eric Blake wrote: > On 7/31/18 12:30 PM, Vladimir Sementsov-Ogievskiy wrote: >> Implement reconnect. To achieve this: >> >> 1. add new modes: >> connecting-wait: means, that reconnecting is in progress, and there >> were small number of reconnect attempts, so all

Re: [Qemu-block] [PATCH v4 09/10] block/nbd-client: nbd reconnect

2019-01-16 Thread Eric Blake
On 7/31/18 12:30 PM, Vladimir Sementsov-Ogievskiy wrote: > Implement reconnect. To achieve this: > > 1. add new modes: >connecting-wait: means, that reconnecting is in progress, and there > were small number of reconnect attempts, so all requests are > waiting for the connection. >

Re: [Qemu-block] [PATCH v4 09/10] block/nbd-client: nbd reconnect

2018-11-02 Thread Vladimir Sementsov-Ogievskiy
31.07.2018 20:30, Vladimir Sementsov-Ogievskiy wrote: > Implement reconnect. To achieve this: > > 1. add new modes: > connecting-wait: means, that reconnecting is in progress, and there > were small number of reconnect attempts, so all requests are > waiting for the connection. >

[Qemu-block] [PATCH v4 09/10] block/nbd-client: nbd reconnect

2018-07-31 Thread Vladimir Sementsov-Ogievskiy
Implement reconnect. To achieve this: 1. add new modes: connecting-wait: means, that reconnecting is in progress, and there were small number of reconnect attempts, so all requests are waiting for the connection. connecting-nowait: reconnecting is in progress, there were a lot of