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:20:25 -0400 |
commit | 6c8393a72cfb3209aa1167410aaf972a2edf8625 (patch) | |
tree | 9a75d62d08bb83c1f46e961585f7dd366b91e546 /drivers/usb/isp1760 | |
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.
Reported-by: Jérôme Poulin <jeromepoulin@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'drivers/usb/isp1760')
0 files changed, 0 insertions, 0 deletions