sgi-xpc: prevent false heartbeat failures
commita374c57b0764432a80303abee3d1afd1939b5a0a
authorRobin Holt <holt@sgi.com>
Mon, 13 Apr 2009 21:40:18 +0000 (13 14:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Apr 2009 22:04:33 +0000 (13 15:04 -0700)
treeb3e15b590d5342e5de6c2b62da4dd61fb2ad0836
parenta06bba4643ae10ac6b202dade1cde38bc5e08b25
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