bcache: Performance fix for when journal entry is full
authorKent Overstreet <kmo@daterainc.com>
Wed, 11 Dec 2013 00:10:46 +0000 (16:10 -0800)
committerKent Overstreet <kmo@daterainc.com>
Wed, 8 Jan 2014 21:05:07 +0000 (13:05 -0800)
commit5775e2133dfa0dc1f4c7f233e2144d32cb516f54
tree0551435b581a0edf3cc0c17a85eb98962252374c
parentb3fa7e77e67e647db3db2166b65083a427d84ed3
bcache: Performance fix for when journal entry is full

We were unnecessarily waiting on a journal write to complete when we just needed
to start a journal write and start setting up the next one.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/journal.c