bcachefs: Delete weird hacky transaction restart injection
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 11 Jun 2023 22:24:04 +0000 (18:24 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:04 +0000 (17:10 -0400)
commit25c70097a65a22a5799442c8935fa927d91bddaf
treecdf319c374957ddfd7641c6154efcfa9bf7af5f4
parent8e5b1115f1dd88125cbb06c344ba1f4214265042
bcachefs: Delete weird hacky transaction restart injection

since we currently don't have a good fault injection library,
bch2_btree_insert_node() was randomly injecting faults based on
local_clock().

At the very least this should have been a debug mode only thing, but
this is a brittle method so let's just delete it.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_update_interior.c