aboutsummaryrefslogtreecommitdiff
path: root/fs/ocfs2/cluster/tcp.c
AgeCommit message (Collapse)AuthorFilesLines
2006-12-11[patch 3/3] OCFS2 Configurable timeouts - Protocol changesAndrew Beekhof1-9/+83
Modify the OCFS2 handshake to ensure essential timeouts are configured identically on all nodes. Only allow changes when there are no connected peers Improves the logic in o2net_advance_rx() which broke now that sizeof(struct o2net_handshake) is greater than sizeof(struct o2net_msg) Included is the field for userspace-heartbeat timeout to avoid the need for further protocol changes. Uses a global spinlock to ensure the decisions to update configfs entries are made on the correct value. The region covered by the spinlock when incrementing the counter is much larger as this is the more critical case. Small cleanup contributed by Adrian Bunk <[email protected]> Signed-off-by: Andrew Beekhof <[email protected]> Signed-off-by: Mark Fasheh <[email protected]>
2006-12-07[patch 2/3] OCFS2 Configurable timeoutsJeff Mahoney1-12/+48
Allow configuration of OCFS2 timeouts from userspace via configfs Signed-off-by: Andrew Beekhof <[email protected]> Signed-off-by: Mark Fasheh <[email protected]>
2006-11-22WorkStruct: make allyesconfigDavid Howells1-34/+44
Fix up for make allyesconfig. Signed-Off-By: David Howells <[email protected]>
2006-06-29ocfs2: Cleanup message printsSunil Mushran1-7/+7
Signed-off-by: Sunil Mushran <[email protected]> Signed-off-by: Mark Fasheh <[email protected]>
2006-06-27[PATCH] spin/rwlock init cleanupsIngo Molnar1-1/+1
locking init cleanups: - convert " = SPIN_LOCK_UNLOCKED" to spin_lock_init() or DEFINE_SPINLOCK() - convert rwlocks in a similar manner this patch was generated automatically. Motivation: - cleanliness - lockdep needs control of lock initialization, which the open-coded variants do not give - it's also useful for -rt and for lock debugging in general Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Arjan van de Ven <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-03-01[PATCH] ocfs2: added source addr to bind() in o2net_start_connect()Sunil Mushran1-2/+12
to prevent confusion when a virtual ip is created on the same interface Signed-off-by: Sunil Mushran <[email protected]> Signed-off-by: Mark Fasheh <[email protected]>
2006-02-03[PATCH] ocfs2: fix compile warningsMark Fasheh1-7/+9
Fix a couple of compile warnings found when compiling on a ppc64 build box. Signed-off-by: Mark Fasheh <[email protected]>
2006-01-03[PATCH] OCFS2: The Second Oracle Cluster FilesystemZach Brown1-0/+1829
Node messaging via tcp. Used by the dlm and the file system for point to point communication between nodes. Signed-off-by: Mark Fasheh <[email protected]> Signed-off-by: Kurt Hackel <[email protected]>