projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1394d67
)
bcache: Fix a dumb CPU spinning bug in writeback
author
Kent Overstreet
<kmo@daterainc.com>
Tue, 24 Sep 2013 06:17:33 +0000
(23:17 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 24 Sep 2013 21:41:43 +0000
(14:41 -0700)
schedule_timeout() != schedule_timeout_uninterruptible()
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: linux-stable <stable@vger.kernel.org> # >= v3.10
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/bcache/writeback.c
patch
|
blob
|
history
diff --git
a/drivers/md/bcache/writeback.c
b/drivers/md/bcache/writeback.c
index 27ac51934822a81560c6850bf3ff66a0769a2486..ba3ee48320f2a38509adb2603f766c55e67f1da1 100644
(file)
--- a/
drivers/md/bcache/writeback.c
+++ b/
drivers/md/bcache/writeback.c
@@
-397,8
+397,7
@@
static void read_dirty(struct closure *cl)
if (delay > 0 &&
(KEY_START(&w->key) != dc->last_read ||
jiffies_to_msecs(delay) > 50))
- while (delay)
- delay = schedule_timeout(delay);
+ delay = schedule_timeout_uninterruptible(delay);
dc->last_read = KEY_OFFSET(&w->key);