aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-07-28 11:39:22 +1000
committerNeilBrown <neilb@suse.de>2011-07-28 11:39:22 +1000
commitbc2607f393bd4fb844c1886a02af929ca0372056 (patch)
tree45c7f9c538b5e196e389454286771f3beb8628ba /kernel/sysctl.c
parentmd/raid5: use bad-block log to improve handling of uncorrectable read errors. (diff)
downloadwireguard-linux-bc2607f393bd4fb844c1886a02af929ca0372056.tar.xz
wireguard-linux-bc2607f393bd4fb844c1886a02af929ca0372056.zip
md/raid5: write errors should be recorded as bad blocks if possible.
When a write error is detected, don't mark the device as failed immediately but rather record the fact for handle_stripe to deal with. Handle_stripe then attempts to record a bad block. Only if that fails does the device get marked as faulty. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions