aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_trans_commit.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2025-05-09 21:01:05 +0000
committerKent Overstreet <[email protected]>2025-05-22 00:15:04 +0000
commit39cea302f13a0a9dc4cf39248529a42e79d06842 (patch)
tree8b4746647732b5e7bcd49d669207a48cd9b43f9e /fs/bcachefs/btree_trans_commit.c
parentbcachefs: Improve bucket_bitmap code (diff)
downloadkernel-39cea302f13a0a9dc4cf39248529a42e79d06842.tar.gz
kernel-39cea302f13a0a9dc4cf39248529a42e79d06842.zip
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 <[email protected]>
Diffstat (limited to 'fs/bcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions