summaryrefslogtreecommitdiff
path: root/fs/bcachefs/btree_locking.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-09-25 21:49:14 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:41 +0300
commitc36ff038fd3af6092e356cb4ed1c79a041b77b19 (patch)
tree14484a7b3d2027364026224c8bc9999bde06aa6c /fs/bcachefs/btree_locking.h
parentc6cf49a95ac7aea3450cacb66b7de1d46671deeb (diff)
downloadlinux-c36ff038fd3af6092e356cb4ed1c79a041b77b19.tar.xz
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: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_locking.h')
0 files changed, 0 insertions, 0 deletions