Commit 53b1c6f4 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Don't use key cache during fsck



The btree key cache mainly helps with lock contention, at the cost of
additional memory overhead. During some fsck passes the memory overhead
really matters, but fsck is single threaded so lock contention is an
issue - so skipping the key cache during fsck will help with
performance.

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