Commit 751c025f authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Kill bch_write_op->btree_update_ready



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>
parent e28ef07e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment