Commit 1f0f731f authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Btree splits now only take the locks they need



Previously, bch2_btree_update_start() would always take all intent
locks, all the way up to the root.

We've finally got data from users where this became a scalability issue
- so, this patch fixes bch2_btree_update_start() to only take the locks
we need.

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