summaryrefslogtreecommitdiff
path: root/fs/ocfs2/cluster/nodemanager.h
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.de>2006-12-04 14:04:54 +0100
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-07 18:13:20 -0800
commitb5dd80304da482d77b2320e1a01a189e656b9770 (patch)
tree03614e8ba0016a65c52a119a047de98ea50afaac /fs/ocfs2/cluster/nodemanager.h
parent296b75ed6a3b35f613961cefe4962ce1cf586d77 (diff)
[patch 2/3] OCFS2 Configurable timeouts
Allow configuration of OCFS2 timeouts from userspace via configfs Signed-off-by: Andrew Beekhof <abeekhof@suse.de> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/cluster/nodemanager.h')
-rw-r--r--fs/ocfs2/cluster/nodemanager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ocfs2/cluster/nodemanager.h b/fs/ocfs2/cluster/nodemanager.h
index b571cda9fbb7..8fb23cacc2f5 100644
--- a/fs/ocfs2/cluster/nodemanager.h
+++ b/fs/ocfs2/cluster/nodemanager.h
@@ -60,6 +60,9 @@ struct o2nm_cluster {
rwlock_t cl_nodes_lock;
struct o2nm_node *cl_nodes[O2NM_MAX_NODES];
struct rb_root cl_node_ip_tree;
+ unsigned int cl_idle_timeout_ms;
+ unsigned int cl_keepalive_delay_ms;
+ unsigned int cl_reconnect_delay_ms;
/* this bitmap is part of a hack for disk bitmap.. will go eventually. - zab */
unsigned long cl_nodes_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];