summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2016-08-13 21:25:01 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2016-08-16 22:44:22 -0800
commit1dc3be57a26320c3ff63c57da0f745a38719a512 (patch)
tree9bcd2312213c20a27c9d2d2764084a3c7e0a6fd9
parent1daffe5649834c0fbf3a9ed15cafd0c1ec679a6a (diff)
bcache: fix a journal assertion
When journal pipelining was increased, this should have been increased too
-rw-r--r--drivers/md/bcache/journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/journal.c b/drivers/md/bcache/journal.c
index c900f4c131f1..fc76867d2201 100644
--- a/drivers/md/bcache/journal.c
+++ b/drivers/md/bcache/journal.c
@@ -264,7 +264,7 @@ static int __bch_journal_seq_blacklisted(struct cache_set *c, u64 seq,
if (seq <= j->seq)
return 0;
- cache_set_inconsistent_on(seq > j->seq + 1, c,
+ cache_set_inconsistent_on(seq > j->seq + 2, c,
"bset journal seq too far in the future: %llu > %llu",
seq, j->seq);