Re: [PATCH] nbd: clear disconnected on reconnect

2017-07-25 Thread Jens Axboe
On 07/25/2017 11:31 AM, jo...@toxicpanda.com wrote: > From: Josef Bacik > > If our device loses its connection for longer than the dead timeout we > will set NBD_DISCONNECTED in order to quickly fail any pending IO's that > flood in after the IO's that were waiting during the dead timer. > Howeve

[PATCH] nbd: clear disconnected on reconnect

2017-07-25 Thread josef
From: Josef Bacik If our device loses its connection for longer than the dead timeout we will set NBD_DISCONNECTED in order to quickly fail any pending IO's that flood in after the IO's that were waiting during the dead timer. However if we re-connect at some point in the future we'll still see t