summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-06-24 15:55:40 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-07-05 12:42:42 -0400
commit75b7fbdd86d31d4735c06984f2c50d4186a912ff (patch)
treebabcb522fa1a7c55ae515d21e4eb9d1526d7803f /tools/perf/scripts/python/export-to-postgresql.py
parentaea02d5cad44d93735a9200a141e1dc7d41eddf2 (diff)
bcachefs: Don't peek key cache unless we have a real key
We require that if a key exists in the key cache it also be present in the underlying btree, for cache coherency reasons. So checking the key cache on whiteout is unnecessary. This is part of fixing a major performance bug when doing many unlinks all in a row - we end up scanning through a ton of key cache whiteouts before peek() can return a real key. Reported-by: John Schoenick <johns@valvesoftware.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions