Skip to content
Commit 0ef8e451 authored by Jan Schmidt's avatar Jan Schmidt
Browse files

btrfs scrub: add fixup code for errors on nodatasum files



This removes a FIXME comment and introduces the first part of nodatasum
fixup: It gets the corresponding inode for a logical address and triggers a
regular readpage for the corrupted sector.

Once we have on-the-fly error correction our error will be automatically
corrected. The correction code is expected to clear the newly introduced
EXTENT_DAMAGED flag, making scrub report that error as "corrected" instead
of "uncorrectable" eventually.

Signed-off-by: default avatarJan Schmidt <list.btrfs@jan-o-sch.net>
parent e12fa9cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment