summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Pestov <sp@daterainc.com>2015-01-31 17:09:10 -0800
committerKent Overstreet <kmo@daterainc.com>2015-02-12 23:43:34 -0800
commit2bb86ead66d5eba69afcf53fcc0888f086017086 (patch)
treeda9abb0d86d48e0af09784cbbecc5d797c2a1601
parent77f78518c17583dee6d5dc41b30531d103c037d1 (diff)
bcache: don't need to call journal_reclaim() when kicking off journal write
Change-Id: I187e208bde9665f61bb95722df54d2267da88fd6
-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 37f9861b986f..9adec27cd551 100644
--- a/drivers/md/bcache/journal.c
+++ b/drivers/md/bcache/journal.c
@@ -1045,7 +1045,7 @@ static void journal_write_locked(struct closure *cl)
atomic_dec_bug(&fifo_back(&c->journal.pin));
bch_journal_next(&c->journal);
- journal_reclaim(c, NULL);
+ wake_up(&c->journal.wait);
spin_unlock(&c->journal.lock);