]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Enable automatic shrinking for rhashtables
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 6 Jun 2024 22:56:59 +0000 (18:56 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 10 Jun 2024 17:17:16 +0000 (13:17 -0400)
commit5ae67abcdfdfa49de84be00320ffe8a669ef674f
tree9cfe080089fc9f1f5978def0ab34cd62dd9567ab
parent26447d224a7f48f669bf95a98fa29c8f50da4d63
bcachefs: Enable automatic shrinking for rhashtables

Since the key cache shrinker walks the rhashtable, a mostly empty
rhashtable leads to really nasty reclaim performance issues.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_cache.c
fs/bcachefs/btree_key_cache.c
fs/bcachefs/io_read.c
fs/bcachefs/movinggc.c