linux/fs/dlm
Lon Hohberger 6bd8fedaa1 dlm: bind connections from known local address when using TCP
A common problem occurs when multiple IP addresses within the same
subnet are assigned to the same NIC.  If we make a connection attempt to
another address on the same subnet as one of those addresses, the
connection attempt will not necessarily be routed from the address we
want.

In the case of the DLM, the other nodes will quickly drop the connection
attempt, causing problems.

This patch makes the DLM bind to the local address it acquired from the
cluster manager when using TCP prior to making a connection, obviating
the need for administrators to "fix" their systems or use clever routing
tricks.

Signed-off-by: Lon Hohberger <lhh@redhat.com>
Signed-off-by: Patrick Caulfield <pcaulfie@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
2008-01-29 16:44:25 -06:00
..
Kconfig menuconfig: transform NLS and DLM menus 2007-10-17 08:43:00 -07:00
Makefile [DLM] add lock timeouts and warnings [2/6] 2007-07-09 08:22:33 +01:00
ast.c [DLM] fs/dlm/ast.c should #include "ast.h" 2007-05-01 09:11:25 +01:00
ast.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
config.c configfs: Convert subsystem semaphore to mutex 2007-07-10 17:10:56 -07:00
config.h [DLM] add lock timeouts and warnings [2/6] 2007-07-09 08:22:33 +01:00
debug_fs.c [DLM] dump more lock values 2007-07-09 08:24:13 +01:00
dir.c [DLM] Update DLM to the latest patch level 2006-01-20 08:47:07 +00:00
dir.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
dlm_internal.h [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
lock.c [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
lock.h [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
lockspace.c Kobject: convert fs/* from kobject_unregister() to kobject_put() 2008-01-24 20:40:40 -08:00
lockspace.h [DLM] dlm: user locks 2006-07-13 09:25:34 -04:00
lowcomms.c dlm: bind connections from known local address when using TCP 2008-01-29 16:44:25 -06:00
lowcomms.h [DLM] Clean up lowcomms 2006-12-07 09:25:13 -05:00
lvb_table.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
main.c [DLM] add lock timeouts and warnings [2/6] 2007-07-09 08:22:33 +01:00
member.c [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
member.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
memory.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
memory.h [DLM] Remove range locks from the DLM 2006-02-23 09:56:38 +00:00
midcomms.c [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
midcomms.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
netlink.c [DLM] timeout fixes 2007-07-09 08:22:52 +01:00
rcom.c [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
rcom.h [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
recover.c [DLM] fix master recovery 2007-02-05 13:36:58 -05:00
recover.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
recoverd.c [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
recoverd.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00
requestqueue.c [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
requestqueue.h [DLM] block dlm_recv in recovery transition 2007-10-10 08:56:38 +01:00
user.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
user.h [DLM] dlm: user locks 2006-07-13 09:25:34 -04:00
util.c [DLM] fix old rcom messages 2007-02-05 13:35:50 -05:00
util.h [DLM] The core of the DLM for GFS2/CLVM 2006-01-18 09:30:29 +00:00