Skip to content
Commit 17e21a9f authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcache: Have btree_split() insert into parent directly



The flow control in btree_insert_node() was... fragile... before,
this'll use more stack (but since our btrees are never more than depth
1, that shouldn't matter) and it should be significantly clearer and
less fragile.

Signed-off-by: default avatarKent Overstreet <kmo@daterainc.com>
parent 65d22e91
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