Re: [Qemu-block] [PATCH v2 for 2.10] block/nbd-client: always return EIO on and after the first io channel error

2017-08-14 Thread Eric Blake
On 08/14/2017 02:39 AM, Vladimir Sementsov-Ogievskiy wrote: > 12.08.2017 01:28, Eric Blake wrote: >> On 08/08/2017 10:26 AM, Vladimir Sementsov-Ogievskiy wrote: >> >> Initial review, I'm still playing with this one, and will reply again on >> Monday. >> >>> Do not communicate after the first error

Re: [Qemu-block] [PATCH v2 for 2.10] block/nbd-client: always return EIO on and after the first io channel error

2017-08-14 Thread Vladimir Sementsov-Ogievskiy
12.08.2017 01:28, Eric Blake wrote: On 08/08/2017 10:26 AM, Vladimir Sementsov-Ogievskiy wrote: Initial review, I'm still playing with this one, and will reply again on Monday. Do not communicate after the first error to avoid communicating throught s/throught/through a/ broken channel.

Re: [Qemu-block] [PATCH v2 for 2.10] block/nbd-client: always return EIO on and after the first io channel error

2017-08-11 Thread Eric Blake
On 08/08/2017 10:26 AM, Vladimir Sementsov-Ogievskiy wrote: Initial review, I'm still playing with this one, and will reply again on Monday. > Do not communicate after the first error to avoid communicating throught s/throught/through a/ > broken channel. The only exclusion is try to send

[Qemu-block] [PATCH v2 for 2.10] block/nbd-client: always return EIO on and after the first io channel error

2017-08-08 Thread Vladimir Sementsov-Ogievskiy
Do not communicate after the first error to avoid communicating throught broken channel. The only exclusion is try to send NBD_CMD_DISC anyway on in nbd_client_close. Signed-off-by: Vladimir Sementsov-Ogievskiy --- Hi all. Here is a patch, fixing a problem noted in