summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorJan Schmidt2011-08-04 18:11:04 +0200
committerJan Schmidt2011-09-29 13:38:43 +0200
commit5da6fcbc4eb50c0f55d520750332f5a6ab13508c (patch)
treef9f681b494b8120ab7298a04d45f6081a41869e2 /fs/btrfs/volumes.c
parentbtrfs: Moved repair code from inode.c to extent_io.c (diff)
downloadkernel-qcow2-linux-5da6fcbc4eb50c0f55d520750332f5a6ab13508c.tar.gz
kernel-qcow2-linux-5da6fcbc4eb50c0f55d520750332f5a6ab13508c.tar.xz
kernel-qcow2-linux-5da6fcbc4eb50c0f55d520750332f5a6ab13508c.zip
btrfs: integrating raid-repair and scrub-fixup-nodatasum
This ties nodatasum fixup in scrub together with raid repair patches. While both series are working fine alone, scrub will report uncorrectable errors if they occur in a nodatasum extent *and* the page is in the page cache. Previously, we would have triggered readpage to find good data and do the repair. However, readpage wouldn't read anything in the case where the page is up to date in the cache. So, we simply take that good data we have and call repair_io_failure directly (unless the page in the cache is dirty). Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Diffstat (limited to 'fs/btrfs/volumes.c')
0 files changed, 0 insertions, 0 deletions