Re: [PATCH v4.0 for testing] nbd: Fix timeout detection

2015-07-09 Thread Markus Pargmann
Hi Hermann, On Thu, Jul 09, 2015 at 10:06:52AM +0200, Hermann Lauer wrote: > Hello Markus, > > > On Fri, Apr 24, 2015 at 09:35:33AM +0200, Markus Pargmann wrote: > > > At the moment the nbd timeout just detects hanging tcp operations. This > > > is not enough to detect a hanging or bad connection

Re: [PATCH v4.0 for testing] nbd: Fix timeout detection

2015-07-09 Thread Hermann Lauer
Hello Markus, > On Fri, Apr 24, 2015 at 09:35:33AM +0200, Markus Pargmann wrote: > > At the moment the nbd timeout just detects hanging tcp operations. This > > is not enough to detect a hanging or bad connection as expected of a > > timeout. > ... > > Cc: Michal Belczyk > > Cc: Hermann Lauer >

Re: [PATCH v4.0 for testing] nbd: Fix timeout detection

2015-04-24 Thread Hermann Lauer
Hello Markus, On Fri, Apr 24, 2015 at 09:35:33AM +0200, Markus Pargmann wrote: > At the moment the nbd timeout just detects hanging tcp operations. This > is not enough to detect a hanging or bad connection as expected of a > timeout. ... > Cc: Michal Belczyk > Cc: Hermann Lauer > Signed-off-by:

[PATCH v4.0 for testing] nbd: Fix timeout detection

2015-04-24 Thread Markus Pargmann
At the moment the nbd timeout just detects hanging tcp operations. This is not enough to detect a hanging or bad connection as expected of a timeout. This patch redesigns the timeout detection to include some more cases. The timeout is now in relation to replies from the server. If the server does