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-05 12:42:43 -0400
commit41e92969b73401caece14f393422382f134fe373 (patch)
tree0578c50689ed13c474c04c3b5a52204699817809 /tools/perf/scripts/python/export-to-postgresql.py
parent75b7fbdd86d31d4735c06984f2c50d4186a912ff (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