]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix a scrub regression in case of write errors
authorStefan Behrens <sbehrens@giantdisaster.de>
Tue, 27 Nov 2012 17:39:51 +0000 (17:39 +0000)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:14 +0000 (20:46 -0500)
commit39f28be8ee5a79787c7dacc74a6de57b7dcc679b
treea508ceac2567883c6cbfac5c8e06761db80d2b20
parent5fa0ba35d169bf1c2f960a9e2b673a546de9b660
Btrfs: fix a scrub regression in case of write errors

This regression was introduced by the device-replace patches.
Scrub immediately stops checking those disks that have write errors.
This is nothing that happens in the real world, but it is wrong
since scrub is the tool to detect and repair defects. Fix it.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/scrub.c