android_kernel_xiaomi_sm8350/fs/ocfs2/cluster
Srinivas Eeda 1faf289454 ocfs2_dlm: disallow a domain join if node maps mismatch
There is a small window where a joining node may not see the node(s) that
just died but are still part of the domain. To fix this, we must disallow
join requests if the joining node has a different node map.

A new field node_map is added to dlm_query_join_request to send the current
nodes nodemap along with join request. On the receiving end the nodes that
are part of the cluster verifies if this new node sees all the nodes that
are still part of the cluster. They disallow the join if the maps mismatch.

Signed-off-by: Srinivas Eeda <srinivas.eeda@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2007-02-07 12:09:14 -08:00
..
endian.h
heartbeat.c ocfs2: export heartbeat thread pid via configfs 2006-12-28 16:40:32 -08:00
heartbeat.h
Makefile
masklog.c
masklog.h
nodemanager.c [PATCH] Fix numerous kcalloc() calls, convert to kzalloc() 2006-12-13 09:05:52 -08:00
nodemanager.h [patch 2/3] OCFS2 Configurable timeouts 2006-12-07 18:13:20 -08:00
ocfs2_heartbeat.h
ocfs2_nodemanager.h
quorum.c
quorum.h
sys.c
sys.h
tcp_internal.h ocfs2_dlm: disallow a domain join if node maps mismatch 2007-02-07 12:09:14 -08:00
tcp.c ocfs2: Binds listener to the configured ip address 2007-02-07 12:07:49 -08:00
tcp.h ocfs2: Added post handler callable function in o2net message handler 2007-02-07 12:06:56 -08:00
ver.c
ver.h