Commit b5ac23c4 authored by Daniel Hill's avatar Daniel Hill Committed by Kent Overstreet
Browse files

bcachefs: improve behaviour of btree_cache_scan()



Appending new nodes to the end of the list means we're more likely to
evict old entries when btree_cache_scan() is started.

Signed-off-by: default avatarDaniel Hill <daniel@gluo.nz>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent bd954215
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