diff options
author | NeilBrown <neilb@suse.de> | 2011-07-28 01:31:48 (GMT) |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-07-28 01:31:48 (GMT) |
commit | 06f603851fa90bcd236328438278d4dc8b655495 (patch) | |
tree | 49a7f239a9c2de4bf97d998f161b229a565e33cd /drivers/pci/syscall.c | |
parent | d2eb35acfdccbe2a3622ed6cc441a5482148423b (diff) | |
download | linux-06f603851fa90bcd236328438278d4dc8b655495.tar.xz |
md/raid1: avoid reading known bad blocks during resync
When performing resync/etc, keep the size of the request
small enough that it doesn't overlap any known bad blocks.
Devices with badblocks at the start of the request are completely
excluded.
If there is nowhere to read from due to bad blocks, record
a bad block on each target device.
Now that we never read from known-bad-blocks we can allow devices with
known-bad-blocks into a RAID1.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/pci/syscall.c')
0 files changed, 0 insertions, 0 deletions