git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ocfs2_dlm: Check for migrateable lockres in dlm_empty_lockres()
[pandora-kernel.git]
/
fs
/
ocfs2
/
dlm
/
dlmdomain.c
diff --git
a/fs/ocfs2/dlm/dlmdomain.c
b/fs/ocfs2/dlm/dlmdomain.c
index
dbbac18
..
c558442
100644
(file)
--- a/
fs/ocfs2/dlm/dlmdomain.c
+++ b/
fs/ocfs2/dlm/dlmdomain.c
@@
-657,6
+657,8
@@
void dlm_unregister_domain(struct dlm_ctxt *dlm)
dlm_kick_thread(dlm, NULL);
while (dlm_migrate_all_locks(dlm)) {
+ /* Give dlm_thread time to purge the lockres' */
+ msleep(500);
mlog(0, "%s: more migration to do\n", dlm->name);
}
dlm_mark_domain_leaving(dlm);