bcache: Refactor journalling flow control
authorKent Overstreet <kmo@daterainc.com>
Fri, 25 Oct 2013 00:07:04 +0000 (17:07 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 11 Nov 2013 05:56:02 +0000 (21:56 -0800)
Making things less asynchronous that don't need to be - bch_journal()
only has to block when the journal or journal entry is full, which is
emphatically not a fast path. So make it a normal function that just
returns when it finishes, to make the code and control flow easier to
follow.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>

No differences found