• Kent Overstreet's avatar
    bcachefs: Kill bch_write_op->btree_update_ready · 751c025f
    Kent Overstreet authored
    This changes the write path to not add write ops to to the write_point's
    list of pending work items until it's ready; this means we have to
    change the lock protecting it to an irq-safe lock, but means
    bch2_write_point_do_index_updates() no longer has to iterate over the
    list, which is beneficial with the way the new BCH_WRITE_WAIT_FOR_EC
    code works.
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    751c025f
io.c 75.4 KB