]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2/dlm: Fix a race between migrate request and exit domain
authorSunil Mushran <sunil.mushran@oracle.com>
Tue, 16 Dec 2008 23:49:19 +0000 (15:49 -0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:35 +0000 (08:40 -0800)
commit176a86abeded53edb0b2d1ed43460b18156ccd18
tree5886c51adcb20b3d735ccf38e1f7e70671aefb43
parentd3e0264c20deb10250eb3d1bac73c33d21b431f1
ocfs2/dlm: Fix a race between migrate request and exit domain

Patch address a racing migrate request message and an exit domain message.
Instead of blocking exit domains for the duration of the migrate, we ignore
failure to deliver that message. This is because an exiting domain should
not have any active locks and thus has no role to play in the migration.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/dlm/dlmmaster.c