]> git.baikalelectronics.ru Git - kernel.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)
commit157f8ddcfac1ee0641dcfa95a22b08bb2911a0d0
treeaf6c5a5c6ae179051caf725e46f11ff8e2f0f7c8
parentca78ef47566ca23841494410f95e8c998ac9f8ba
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