diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-10 00:01:05 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-22 03:15:04 +0300 |
commit | 39cea302f13a0a9dc4cf39248529a42e79d06842 (patch) | |
tree | 8b4746647732b5e7bcd49d669207a48cd9b43f9e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 15f969326ee296f7b7faf7704105a99fa02c288d (diff) | |
download | linux-39cea302f13a0a9dc4cf39248529a42e79d06842.tar.xz |
bcachefs: bch2_check_bucket_backpointer_mismatch()
Detect buckets with missing backpointers, and run repair on demand.
__bch2_move_data_phys() now calls
bch2_check_bucket_backpointer_mismatch() as it walks buckets, which
checks for missing backpointers by comparing backpointers against bucket
sector counts.
When missing backpointers are detected, we kick off
bch2_check_extents_to_backpointers() asynchronously - right away if
we're trying to evacuate, or with a threshold if we're just running
copygc.
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