]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2/dlm: Target node death during resource migration leads to thread spin
authorSunil Mushran <sunil.mushran@oracle.com>
Wed, 4 May 2011 17:28:07 +0000 (10:28 -0700)
committerJoel Becker <jlbec@evilplan.org>
Fri, 13 May 2011 18:27:30 +0000 (11:27 -0700)
commit95996f2bf2c9a07ded24ebc9f144427d290db95c
tree84d2737f5c7ce101aefb98a0b1b3ae1c761cde5e
parent79375d6d163bf6658d6a43c19c64d12bbd20e070
ocfs2/dlm: Target node death during resource migration leads to thread spin

During resource migration, if the target node were to die, the thread doing
the migration spins until the target node is not removed from the domain map.
This patch slows the spin by making the thread wait for the recovery to kick in.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
fs/ocfs2/dlm/dlmmaster.c