[PATCH] ocfs2: add dlm_wait_for_node_death
authorKurt Hackel <kurt.hackel@oracle.com>
Thu, 19 Jan 2006 01:05:38 +0000 (17:05 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Thu, 16 Feb 2006 20:01:38 +0000 (12:01 -0800)
commit44465a7daf7c4e34199b2b0ebb3c5101619dcb9d
treeec10b2c1a93a41b16abeb1535c25944c628b447c
parente2b5e4506f5c5187b91d7a79fbad28fe3ebd2fc5
[PATCH] ocfs2: add dlm_wait_for_node_death

* add dlm_wait_for_node_death function to be used after receiving a network
  error.  this will wait for the given timeout to allow the heartbeat
  callbacks to update the domain map.  without this, some paths may spin
  and consume enough cpu that the heartbeat gets starved and never updates.

Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmcommon.h
fs/ocfs2/dlm/dlmconvert.c
fs/ocfs2/dlm/dlmlock.c
fs/ocfs2/dlm/dlmrecovery.c