ocfs2_dlm: Flush dlm workqueue before starting to migrate
authorKurt Hackel <kurt.hackel@oracle.com>
Wed, 17 Jan 2007 22:53:37 +0000 (14:53 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 7 Feb 2007 20:03:02 +0000 (12:03 -0800)
commit1cd04dbe3364be71b93e3aaf4545daa1e261aaa1
treee155456258e0700303bf2bca0326124ddbc2c327
parente17e75ecb86b8ce9b51b219b5348517561031f80
ocfs2_dlm: Flush dlm workqueue before starting to migrate

This is to prevent the condition in which a previously queued
up assert master asserts after we start the migration. Now
migration ensures the workqueue is flushed before proceeding
with migrating the lock to another node. This condition is
typically encountered during parallel umounts.

Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmmaster.c