ocfs2_dlm: Add timeout to dlm join domain
authorSunil Mushran <sunil.mushran@oracle.com>
Mon, 29 Jan 2007 23:44:27 +0000 (15:44 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 7 Feb 2007 20:10:39 +0000 (12:10 -0800)
commit0dd82141b236ce36253e3056c6068ee3d5732196
tree51c4c4746ffa390d4dba6a342aeaa526a35cb4eb
parente4968476a9bc5a6b30076076b4f3ce3e692e0d79
ocfs2_dlm: Add timeout to dlm join domain

Currently the ocfs2 dlm has no timeout during dlm join domain. While this is
not a problem in normal operation, this does become an issue if, say, the
other node is refusing to let the node join the domain because of a stuck
recovery. This patch adds a 90 sec timeout.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmdomain.c