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 16:01:33 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-07-01 19:33:47 -0400
commit8c64d1992b0345ff4a0847725d7f50c0b22b11b9 (patch)
treeb4141204d08e7b2692edc1e0370f71c94737fa7c /tools/perf/scripts/python/export-to-postgresql.py
parent1c404012f3150f2b4ad60815e0d9cbec0fc31a0e (diff)
bcachefs: Evict/bypass key cache when deleting
Fix a performance bug when doing many unlinks. The btree has optimizations to ensure we don't have too many whiteouts to scan in peek() before we find a real key to return, but unflushed key cache deletions break this. To fix this, tweak the existing code for redirecting updates that create a key to the underlying btree so that we can use it for deletions as well. 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