projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad8100e
)
ocfs2: use cond_resched() in dlm_thread()
author
Kurt Hackel
<kurt.hackel@oracle.com>
Mon, 1 May 2006 21:27:41 +0000
(14:27 -0700)
committer
Mark Fasheh
<mark.fasheh@oracle.com>
Mon, 26 Jun 2006 21:43:13 +0000
(14:43 -0700)
yield() does not yield. cond_resched() does.
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmthread.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/dlm/dlmthread.c
b/fs/ocfs2/dlm/dlmthread.c
index
c1c10fd
..
0c822f3
100644
(file)
--- a/
fs/ocfs2/dlm/dlmthread.c
+++ b/
fs/ocfs2/dlm/dlmthread.c
@@
-731,7
+731,7
@@
in_progress:
/* yield and continue right away if there is more work to do */
if (!n) {
-
yiel
d();
+
cond_resche
d();
continue;
}