• Kent Overstreet's avatar
    bcache: Refactor journalling flow control · a34a8bfd
    Kent Overstreet authored
    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>
    a34a8bfd
request.c 34.2 KB