---
...bcache-Fix-to-remove-the-rcu_sched-stalls.patch | 35 ++++++++++++++++++++++
series.conf | 1 +
2 files changed, 36 insertions(+)
create mode 100644 patches.fixes/0002-bcache-Fix-to-remove-the-rcu_sched-stalls.patch
diff --git a/patches.fixes/0002-bcache-Fix-to-remove-the-rcu_sched-stalls.patch b/patches.fixes/0002-bcache-Fix-to-remove-the-rcu_sched-stalls.patch
new file mode 100644
index 0000000..9292369
--- /dev/null
+++ b/patches.fixes/0002-bcache-Fix-to-remove-the-rcu_sched-stalls.patch
@@ -0,0 +1,35 @@
+From 9a8baefa2764b9ca62f97c34348202c5f4ce91a1 Mon Sep 17 00:00:00 2001
+From: Surbhi Palande
+Date: Thu, 10 Apr 2014 16:09:51 -0700
+Subject: [PATCH 02/14] bcache: Fix to remove the rcu_sched stalls.
+Git-commit: dbd810ab678d262d3772d29b65844d7b20dc47bc
+Patch-mainline: v3.17
+References: bnc#908589
+
+while loop was executing infinitely.
+This fix ends the while loop gracefully.
+
+Signed-off-by: Surbhi Palande
+Signed-off-by: Kent Overstreet
+Signed-off-by: Joshua Schmid
+---
+ drivers/md/bcache/journal.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/md/bcache/journal.c b/drivers/md/bcache/journal.c
+index 363b881..ead001c 100644
+--- a/drivers/md/bcache/journal.c
++++ b/drivers/md/bcache/journal.c
+@@ -194,7 +194,8 @@ int bch_journal_read(struct cache_set *c, struct list_head *list)
+ continue;
+ bsearch:
+ /* Binary search */
+- m = r = find_next_bit(bitmap, ca->sb.njournal_buckets, l + 1);
++ m = l;
++ r = find_next_bit(bitmap, ca->sb.njournal_buckets, l + 1);
+ pr_debug("starting binary search, l %u r %u", l, r);
+
+ while (l + 1 < r) {
+--
+2.1.2
+
diff --git a/series.conf b/series.conf
index 6a6bb44..f2caece 100644
--- a/series.conf
+++ b/series.conf
@@ -422,6 +422,7 @@
patches.fixes/blk-merge-fix-blk_recount_segments
patches.fixes/0001-bcache-Fix-a-journal-replay-bug.patch
+ patches.fixes/0002-bcache-Fix-to-remove-the-rcu_sched-stalls.patch
########################################################
# DRM/Video
--
2.1.2
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org