diff options
author | NeilBrown <neilb@suse.de> | 2011-07-28 11:31:48 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-07-28 11:31:48 +1000 |
commit | 1f68f0c4b677ccd6935ff61e4e6888787505f8dc (patch) | |
tree | aaff73efbc3fb7b6092eb2106e142e1684c4b554 /drivers/md/raid1.h | |
parent | 0b7d83865cb7a60b1768212c1e60b8fd7c280506 (diff) | |
download | linux-1f68f0c4b677ccd6935ff61e4e6888787505f8dc.tar.bz2 |
md/raid1: avoid writing to known-bad blocks on known-bad drives.
If we have seen any write error on a drive, then don't write to
any known-bad blocks on that drive.
If necessary, we divide the write request up into pieces just
like we do for reads, so each piece is either all written or
all not written to any given drive.
Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Namhyung Kim <namhyung@gmail.com>
Diffstat (limited to 'drivers/md/raid1.h')
0 files changed, 0 insertions, 0 deletions