summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/cluster/tcp.h
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2007-11-07 01:10:23 +0100
committerMark Fasheh <mark.fasheh@oracle.com>2008-01-26 00:05:45 +0100
commit17104683d262fc6ab58488c4a3f0415012acc636 (patch)
tree3e4aa5b62233834b9c55007e4bed6a11a702bfe4 /fs/ocfs2/cluster/tcp.h
parentocfs2: printf fixes (diff)
downloadlinux-17104683d262fc6ab58488c4a3f0415012acc636.tar.xz
linux-17104683d262fc6ab58488c4a3f0415012acc636.zip
ocfs2: Update default cluster timeouts
Lots of people are having trouble with the default timeouts, which are too low. These new values are derived from an informal survey taken on ocfs2-users, as well as data from bug reports. This should reduce the amount of cluster disconnects and subsequent fencing seen during normal workloads. Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to '')
-rw-r--r--fs/ocfs2/cluster/tcp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/cluster/tcp.h b/fs/ocfs2/cluster/tcp.h
index da880fc215f0..f36f66aab3dd 100644
--- a/fs/ocfs2/cluster/tcp.h
+++ b/fs/ocfs2/cluster/tcp.h
@@ -60,8 +60,8 @@ typedef void (o2net_post_msg_handler_func)(int status, void *data,
/* same as hb delay, we're waiting for another node to recognize our hb */
#define O2NET_RECONNECT_DELAY_MS_DEFAULT 2000
-#define O2NET_KEEPALIVE_DELAY_MS_DEFAULT 5000
-#define O2NET_IDLE_TIMEOUT_MS_DEFAULT 10000
+#define O2NET_KEEPALIVE_DELAY_MS_DEFAULT 2000
+#define O2NET_IDLE_TIMEOUT_MS_DEFAULT 30000
/* TODO: figure this out.... */