projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2a4f31
)
bcache: Fix a flush/fua performance bug
author
Kent Overstreet
<kmo@daterainc.com>
Tue, 24 Sep 2013 06:17:32 +0000
(23:17 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 24 Sep 2013 21:41:43 +0000
(14:41 -0700)
bch_journal_meta() was missing the flush to make the journal write
actually go down (instead of waiting up to journal_delay_ms)...
Whoops
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/journal.c
patch
|
blob
|
history
diff --git
a/drivers/md/bcache/journal.c
b/drivers/md/bcache/journal.c
index f5203dfc4cfe95d3c27d5935ac1455d8fc7bc53c..8435f81e5d858012e8aca6be8204e923a34b1d01 100644
(file)
--- a/
drivers/md/bcache/journal.c
+++ b/
drivers/md/bcache/journal.c
@@
-695,6
+695,7
@@
void bch_journal_meta(struct cache_set *c, struct closure *cl)
if (cl)
BUG_ON(!closure_wait(&w->wait, cl));
+ closure_flush(&c->journal.io);
__journal_try_write(c, true);
}
}