]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: Add hysteresis to waiting on btree key cache flush
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 10 Aug 2024 18:40:09 +0000 (14:40 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 14 Aug 2024 03:00:34 +0000 (23:00 -0400)
commit7254555c440ff6b136aa97fb3c33fd5e0bb4fb9f
treecbd1d05109b68ad910a4f5133c780be31ae7b71e
parentb2f11c6f3e1fc60742673b8675c95b78447f3dae
bcachefs: Add hysteresis to waiting on btree key cache flush

This helps ensure key cache reclaim isn't contending with threads
waiting for the key cache to be helped, and fixes a severe performance
bug.

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