]> git.baikalelectronics.ru Git - kernel.git/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)
commit17dbf429b8f3273e375508af6c7aeef33840cb82
tree03e49cece85cb74ce38e37afbdef718efa2b3695
parent1d3a57c92a58bc3ec211190f586a7e14c57d2e77
[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