summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKent Overstreet2021-01-26 20:15:46 -0500
committerKent Overstreet2023-10-22 17:08:52 -0400
commit5b593ee172bd536a2c9fd717de7e4a16d682ef23 (patch)
tree2cc9e4d8acf85afef16a7336feebfb1c2161e72b /tools/perf/scripts/python
parent51d2dfb82d0553c5764689d30adabbf6d0927be5 (diff)
bcachefs: Add support for doing btree updates prior to journal replay
Some errors may need to be fixed in order for GC to successfully run - walk and mark all metadata. But we can't start the allocators and do normal btree updates until after GC has completed, and allocation information is known to be consistent, so we need a different method of doing btree updates. Fortunately, we already have code for walking the btree while overlaying keys from the journal to be replayed. This patch adds an update path that adds keys to the list of keys to be replayed by journal replay, and also fixes up iterators. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions