Commit c36ff038 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: bch2_btree_cache_scan() improvement



We're still seeing OOM issues caused by the btree node cache shrinker
not sufficiently freeing memory: thus, this patch changes the shrinker
to not exit if __GFP_FS was not supplied.

Instead, tweak btree node memory allocation so that we never invoke
memory reclaim while holding the btree node cache lock.

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