ocfs2: live heartbeat depends on the local node configuration
authorJoel Becker <joel.becker@oracle.com>
Tue, 19 Jun 2007 18:34:03 +0000 (11:34 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 11 Jul 2007 00:19:43 +0000 (17:19 -0700)
commit16c6a4f24de2933b26477ad5dfb71f518220d641
treedd6e1efd95d00f84a7132b8ada3314bcea730d68
parent14829422be6d6b6721f61b1e749acf5a9cb664d8
ocfs2: live heartbeat depends on the local node configuration

Removing the local node configuration out from underneath a running
heartbeat is "bad".  Provide an API in the ocfs2 nodemanager to request
a configfs dependancy on the local node, then use it in heartbeat.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/cluster/heartbeat.c
fs/ocfs2/cluster/nodemanager.c
fs/ocfs2/cluster/nodemanager.h