]> git.baikalelectronics.ru Git - kernel.git/commit
dlm: reject messages from non-members
authorDavid Teigland <teigland@redhat.com>
Tue, 8 Jan 2008 22:24:00 +0000 (16:24 -0600)
committerDavid Teigland <teigland@redhat.com>
Wed, 30 Jan 2008 17:04:42 +0000 (11:04 -0600)
commita151e79fc4eadc65fce4db885edc229d929e3e5b
treed5a1c23ba3bb40ff2fcea4e635c72f2a33ff6ba7
parent24b05eae96a09468a0da04aee3e3477094105d57
dlm: reject messages from non-members

Messages from nodes that are no longer members of the lockspace should be
ignored.  When nodes are removed from the lockspace, recovery can
sometimes complete quickly enough that messages arrive from a removed node
after recovery has completed.  When processed, these messages would often
cause an error message, and could in some cases change some state, causing
problems.

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