]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dlm: recover nodes that are removed and re-added
authorDavid Teigland <teigland@redhat.com>
Tue, 18 Mar 2008 19:22:11 +0000 (14:22 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 21 Apr 2008 16:18:01 +0000 (11:18 -0500)
commitd44e0fc704143624b3e88fbf8fbcfda7a83fd299
treeaf6c5a5c6ae179051caf725e46f11ff8e2f0f7c8
parent761b9d3ffc953c24ceb55d8e12ff7e02b17e0484
dlm: recover nodes that are removed and re-added

If a node is removed from a lockspace, and then added back before the
dlm is notified of the removal, the dlm will not detect the removal
and won't clear the old state from the node.  This is fixed by using a
list of added nodes so the membership recovery can detect when a newly
added node is already in the member list.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/config.c
fs/dlm/config.h
fs/dlm/dlm_internal.h
fs/dlm/member.c
fs/dlm/recoverd.c