Skip to content
Commit 6ded34d1 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcache: Improve lazy sorting



The old lazy sorting code was kind of hacky - rewrite in a way that
mathematically makes more sense; the idea is that the size of the sets
of keys in a btree node should increase by a more or less fixed ratio
from smallest to biggest.

Signed-off-by: default avatarKent Overstreet <koverstreet@google.com>
parent 85b1492e
Loading
Loading
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