diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-11-17 07:53:07 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-29 21:30:39 +0300 |
commit | ebdca072683844e04fe8bd31f64745554b9119d4 (patch) | |
tree | 55a92e5ee5286c8a618119e47d7ea59c89852351 /tools/perf/scripts/python/gecko.py | |
parent | 6679e363f44121ec07e9daeb0c78464df410bc47 (diff) | |
download | linux-ebdca072683844e04fe8bd31f64745554b9119d4.tar.xz |
bcachefs: bcachefs_metadata_version_backpointer_bucket_gen
New on disk format version: backpointers new include the generation
number of the bucket they refer to, and the obsolete bucket_offset field
(no longer needed because we no longer store backpointers in alloc keys)
is gone.
This is an expensive forced upgrade - hopefully the last; we have to run
the extents_to_backpointers recovery pass to regenerate backpointers.
It's a forced incompatible upgrade because the alternative would've been
permamently making backpointers bigger, and as one of the biggest btrees
(along with the extents btree) that's not an ideal option.
It's worth it though, because this allows us to make the
check_extents_to_backpointers pass drastically cheaper: an upcoming
patch changes it to sum up backpointers in a bucket and check the sum
against the sector counts for that bucket, only looking for missing
backpointers if they don't match (and then only for specific buckets).
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions