commit | a34a8bfd4e6358c646928320d37b0425c0762f8a | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kmo@daterainc.com> | Thu Oct 24 17:07:04 2013 -0700 |
committer | Kent Overstreet <kmo@daterainc.com> | Sun Nov 10 21:56:02 2013 -0800 |
tree | 650dd57be0460f439551baca3514009b4287bb12 | |
parent | cdd972b164be8fc69f6ee8533c5a07b621da74c7 [diff] |
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: Kent Overstreet <kmo@daterainc.com>