]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2/dlm: Retract fix for race between purge and migrate
authorSunil Mushran <sunil.mushran@oracle.com>
Tue, 3 Feb 2009 20:37:13 +0000 (12:37 -0800)
committerMark Fasheh <mfasheh@suse.com>
Thu, 26 Feb 2009 19:51:09 +0000 (11:51 -0800)
commitf1db83b092b23db4703e49a82a19cc9b832b024b
tree6073525b25fa7ab423099e808866cfdf96f668dd
parent5e176b27eef4ea4aa970f2196797a0a2c07cfa0b
ocfs2/dlm: Retract fix for race between purge and migrate

Mainline commit 74c17c94f4595f0817bab51fb3aea97831958fa2 attempts to delay
the dlm_thread from sending the drop ref message if the lockres is being
migrated. The problem is that we make the dlm_thread wait for the migration
to complete. This causes a deadlock as dlm_thread also participates in the
lockres migration process.

A better fix for the original oss bugzilla#1012 is in testing.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Acked-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/dlm/dlmthread.c