summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-12-05 16:49:13 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2022-12-19 16:09:56 -0500
commit2e8463c770e9f1e2269e0fc9f64d044424758f4f (patch)
tree7f7643df638e63432fd1d8d11e25aee8ccafdd97 /tools/perf/scripts/python/export-to-postgresql.py
parentc801fa69f0e35d0e203af95fc59240f96a04d107 (diff)
bcachefs: Rework lru btree
This patch changes how the LRU index works: Instead of using KEY_TYPE_lru where the bucket the lru entry points to is part of the value, this switches to KEY_TYPE_set and encoding the bucket we refer to in the low bits of the key. This means that we no longer have to check for collisions when inserting LRU entries. We'll be making using of this in the next patch, which adds a btree write buffer - a pure write buffer for btree updates, where updates are appended to a simple array and then periodically sorted and batch inserted. This is a new on disk format version, and a forced upgrade. 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