Skip to content
Commit 2b3e79fe authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Don't use bch2_btree_node_lock_write_nofail() in btree split path



It turns out - btree splits happen with the rest of the transaction
still locked, to avoid unnecessary restarts, which means using nofail
doesn't work here - we can deadlock.

Fortunately, we now have the ability to return errors here.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 1189bdda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment