Skip to content
Commit a34a8bfd authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcache: Refactor journalling flow control



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: default avatarKent Overstreet <kmo@daterainc.com>
parent cdd972b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment