summaryrefslogtreecommitdiff
path: root/fs/bcachefs/sb-downgrade.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-04-20 14:49:22 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-04-20 15:48:23 -0400
commite14313eb4f673721b55dd32f5c82d3eaf6706d14 (patch)
treef2c8e8a21c3f54fdba7f6dc89399c9678a7a7603 /fs/bcachefs/sb-downgrade.c
parent18c837d2faaffbc252dd648a3991b255300bd4a1 (diff)
bcachefs: Btree key cache instrumentationbcachefs-memalloc-profiling
It turns out the btree key cache shrinker wasn't actually reclaiming anything, prior to the previous patch. This adds instrumentation so that if we have further issues we can see what's going on. Specifically, sysfs internal/btree_key_cache is greatly expanded with new counters, and the SRCU sequence numbers of the first 10 entries on each pending freelist, and we also add trigger_btree_key_cache_shrink for testing without having to prune all the system caches. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/sb-downgrade.c')
0 files changed, 0 insertions, 0 deletions