projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b4e926
)
[DLM] schedule during long loop through locks
author
David Teigland
<teigland@redhat.com>
Tue, 25 Jul 2006 19:05:09 +0000
(14:05 -0500)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Wed, 26 Jul 2006 12:42:57 +0000
(08:42 -0400)
The loop through all waiting locks in recover_waiters can potentially be
long, so we should schedule explicitly.
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/dlm/lock.c
patch
|
blob
|
history
diff --git
a/fs/dlm/lock.c
b/fs/dlm/lock.c
index
eaad28e
..
7d38f91
100644
(file)
--- a/
fs/dlm/lock.c
+++ b/
fs/dlm/lock.c
@@
-3193,6
+3193,7
@@
void dlm_recover_waiters_pre(struct dlm_ls *ls)
log_error(ls, "invalid lkb wait_type %d",
lkb->lkb_wait_type);
}
+ schedule();
}
mutex_unlock(&ls->ls_waiters_mutex);
}