diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-09 17:01:05 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-21 20:15:04 -0400 |
| commit | 39cea302f13a0a9dc4cf39248529a42e79d06842 (patch) | |
| tree | 8b4746647732b5e7bcd49d669207a48cd9b43f9e /drivers/fpga/fpga-mgr.c | |
| parent | 15f969326ee296f7b7faf7704105a99fa02c288d (diff) | |
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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
