projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48c4100
)
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
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 5 Oct 2013 14:13:09 +0000
(07:13 -0700)
commit
1394d6761b6e9e15ee7c632a6d48791188727b40
upstream.
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/bcache/journal.c
patch
|
blob
|
history
diff --git
a/drivers/md/bcache/journal.c
b/drivers/md/bcache/journal.c
index
228f2c3
..
151a4ab
100644
(file)
--- a/
drivers/md/bcache/journal.c
+++ b/
drivers/md/bcache/journal.c
@@
-692,6
+692,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);
}
}