diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-04 21:11:50 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-04 21:15:38 -0400 |
commit | 2e10daabc105cf7b391f7af3db82ad568ab21b2f (patch) | |
tree | 9a75d62d08bb83c1f46e961585f7dd366b91e546 /drivers/gpu/drm/sun4i/sun4i_lvds.c | |
parent | 1d5af6a25c8598e2a05947faddba612d9ba06e83 (diff) |
bcachefs: Fix infinite loop in backpointers fsck on upgradebcachefs-testing
On upgrade from before bcachefs_metadata_version_backpointer_bucket_gen
we'll typically skip the write buffer flush, because we expect many
invalid/missing backpointers and it's faster to just repair them.
When we find backpointers that sum up to more than the bucket sector
counters, that's a special situation - we need to walk those
backpointers to kill the bad ones, and so that case needs a write buffer
flush to avoid an infinite loop.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun4i_lvds.c')
0 files changed, 0 insertions, 0 deletions