android_kernel_xiaomi_sm7250/fs/ocfs2/dlm
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
..
dlmapi.h ocfs2: Allow binary names in the DLM 2006-09-24 13:50:42 -07:00
dlmast.c ocfs2: Added post handler callable function in o2net message handler 2007-02-07 12:06:56 -08:00
dlmcommon.h ocfs2_dlm: disallow a domain join if node maps mismatch 2007-02-07 12:09:14 -08:00
dlmconvert.c ocfs2: Added post handler callable function in o2net message handler 2007-02-07 12:06:56 -08:00
dlmconvert.h
dlmdebug.c ocfs2_dlm: Cookies in locks not being printed correctly in error messages 2007-02-07 12:06:24 -08:00
dlmdomain.c ocfs2_dlm: disallow a domain join if node maps mismatch 2007-02-07 12:09:14 -08:00
dlmdomain.h
dlmfs.c [PATCH] struct path: convert ocfs2 2006-12-08 08:28:48 -08:00
dlmfsver.c
dlmfsver.h
dlmlock.c ocfs2: Added post handler callable function in o2net message handler 2007-02-07 12:06:56 -08:00
dlmmaster.c ocfs2_dlm: Ensure correct ordering of set/clear refmap bit on lockres 2007-02-07 12:08:13 -08:00
dlmrecovery.c ocfs2: Added post handler callable function in o2net message handler 2007-02-07 12:06:56 -08:00
dlmthread.c ocfs2_dlm: Calling post handler function in assert master handler 2007-02-07 12:07:24 -08:00
dlmunlock.c ocfs2: Added post handler callable function in o2net message handler 2007-02-07 12:06:56 -08:00
dlmver.c
dlmver.h
Makefile
userdlm.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
userdlm.h ocfs2: Update dlmfs for new dlmlock() API 2006-09-24 13:50:42 -07:00