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)
commit2b83256407687613e906bee93d98a25339128a4d
tree5886c51adcb20b3d735ccf38e1f7e70671aefb43
parent58896c4d0e5868360ea0693c607d5bf74f79da6b
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