]> err.no Git - linux-2.6/commit
[PATCH] md: better handling for read error in raid1 during resync
authorNeilBrown <neilb@suse.de>
Fri, 6 Jan 2006 08:20:22 +0000 (00:20 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:34:04 +0000 (08:34 -0800)
commit69382e85371c232df71524137a806b9c210ec021
tree03e49cece85cb74ce38e37afbdef718efa2b3695
parent3e198f7826f830604f3aa7c20359a773e70cbeaa
[PATCH] md: better handling for read error in raid1 during resync

Handling of read errors during resync is separate from handling of read errors
during normal IO in raid1.  A previous patch added support for read errors
during normal IO.  This one adds support for read errors during resync or
recovery.

The key differences are that we don't need to freeze the array, because the
normal handling of resync means that this part of the array will be idle
except for resync, and the read/overwrite/re-read is needed in a separate
piece of code.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid1.c