]> git.baikalelectronics.ru Git - kernel.git/commit
sgi-xpc: prevent false heartbeat failures
authorRobin Holt <holt@sgi.com>
Mon, 13 Apr 2009 21:40:18 +0000 (14:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Apr 2009 22:04:33 +0000 (15:04 -0700)
commit60d28ca7fbcf87ddc9c90af06f5f2946f8658977
treeb3e15b590d5342e5de6c2b62da4dd61fb2ad0836
parentda8b71b45124d8254d867a0a848fd682f837b2e1
sgi-xpc: prevent false heartbeat failures

The heartbeat timeout functionality in sgi-xpc is currently not trained to
the connection time.  If a connection is made and the code is in the last
polling window prior to doing a timeout, the next polling window will see
the heartbeat as unchanged and initiate a no-heartbeat disconnect.

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Dean Nelson <dcn@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/sgi-xp/xpc.h
drivers/misc/sgi-xp/xpc_main.c
drivers/misc/sgi-xp/xpc_sn2.c
drivers/misc/sgi-xp/xpc_uv.c