diff options
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2011-06-13 20:04:15 +0200 |
---|---|---|
committer | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2011-09-29 12:54:28 +0200 |
commit | 0ef8e45158f97dde4801b535e25f70f7caf01a27 (patch) | |
tree | d1c29055e475402613d529738225df79d8789d20 /fs/btrfs/ioctl.c | |
parent | e12fa9cd390f8e93a9144bd99bd6f6ed316fbc1e (diff) |
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: Jan Schmidt <list.btrfs@jan-o-sch.net>
Diffstat (limited to 'fs/btrfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions