Message ID | 20200811114451.28862-1-wqu@suse.com (mailing list archive) |
---|---|
Headers | show |
Series | btrfs-progs: check: add the ability to repair extent item generation corruption | expand |
On Tue, Aug 11, 2020 at 07:44:47PM +0800, Qu Wenruo wrote: > Although we have introduced the check ability to detect bad extent item > generation, there is no repair ability. > > I thought it would be rare to hit, but real world cases prove I'm a > total idiot. > > So this patchset will add the ability to repair, for both lowmem mode > and original mode, along with enhanced test images. > > There is also a bug fix for original mode, which fails to detect such > problem if it's a tree block. > > Changelog: > v2: > - Fix a type in the subject of the 4th patch > - Fix a bracket for for a logical and and bit and > The old code is fine and bit and has higher priority, but > the bracket is intended to make that higher priority more obvious. > > Qu Wenruo (4): > btrfs-progs: check/lowmem: add the ability to repair extent item > generation > btrfs-progs: check/original: don't reset extent generation for > check_block() > btrfs-progs: check/original: add the ability to repair extent item > generation > btrfs-progs: tests/fsck: enhance invalid extent item generation test > cases Added to devel, thanks.