Commit af171183 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Kill bch_write_op.index_update_fn



This deletes bch_write_op.index_update_fn: indirect function calls have
gotten considerably more expensive post spectre/meltdown, and we only
have two different index_update_fns - this patch adds a flag to specify
which one to use (normal vs. data move path).

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 7e94eeff
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