commit | 53b1c6f44b1a98ea6def11b74c1fde9710f2a0b9 | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@linux.dev> | Fri Oct 14 07:02:36 2022 -0400 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Sun Oct 22 17:09:51 2023 -0400 |
tree | c159854a027182913261e2e4bea9aff9ae34e401 | |
parent | b32f9a577b8d532d31ee7d71e58d1ec512a25a9a [diff] |
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: Kent Overstreet <kent.overstreet@linux.dev>