• Kent Overstreet's avatar
    bcachefs: Clean up interior update paths · a88171c9
    Kent Overstreet authored
    Btree node merging now happens prior to transaction commit, not after,
    so we don't need to pay attention to BTREE_INSERT_NOUNLOCK.
    
    Also, foreground_maybe_merge shouldn't be calling
    bch2_btree_iter_traverse_all() - this is becoming private to the btree
    iterator code and should only be called by bch2_trans_begin().
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
    a88171c9
btree_iter.h 10.4 KB