diff options
author | Srinivas Eeda <srinivas.eeda@oracle.com> | 2007-01-30 00:31:35 +0100 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-02-07 21:09:14 +0100 |
commit | 1faf289454b9eeb6e463da3eee47f7009668370d (patch) | |
tree | fe77643771a985a20c3782fb2a952cf9c05937a5 /fs/partitions/ldm.c | |
parent | ocfs2_dlm: Ensure correct ordering of set/clear refmap bit on lockres (diff) | |
download | linux-1faf289454b9eeb6e463da3eee47f7009668370d.tar.xz linux-1faf289454b9eeb6e463da3eee47f7009668370d.zip |
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>
Diffstat (limited to 'fs/partitions/ldm.c')
0 files changed, 0 insertions, 0 deletions