Skip to content
Snippets Groups Projects
Commit 57f2d209 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Reduce would_deadlock restarts


We don't have to take locks in any particular ordering - we'll make
forward progress just fine - but if we try to stick to an ordering, it
can help to avoid excessive would_deadlock transaction restarts.

This tweaks the reflink path to take extents btree locks in the right
order.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 5b14ce35
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment