diff options
author | NeilBrown <neilb@suse.de> | 2011-05-11 06:50:37 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-05-11 06:50:37 +0200 |
commit | 7ca78d57d11a91bc93b35342fa58647b85bedeb1 (patch) | |
tree | 398f2f91e5252b45872506763ae3677e1f35c026 /drivers/acpi | |
parent | md/raid1: tidy up new functions: process_checks and fix_sync_read_error. (diff) | |
download | linux-7ca78d57d11a91bc93b35342fa58647b85bedeb1.tar.xz linux-7ca78d57d11a91bc93b35342fa58647b85bedeb1.zip |
md/raid1: try fix_sync_read_error before process_checks.
If we get a read error during resync/recovery we current repeat with
single-page reads to find out just where the error is, and possibly
read each page from a different device.
With check/repair we don't currently do that, we just fail.
However it is possible that while all devices fail on the large 64K
read, we might be able to satisfy each 4K from one device or another.
So call fix_sync_read_error before process_checks to maximise the
chance of finding good data and writing it out to the devices with
read errors.
For this to work, we need to set the 'uptodate' flags properly after
fix_sync_read_error has succeeded.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions