1
0
Fork 0
alistair23-linux/include/linux/raid
NeilBrown 4044ba58dd md: don't retry recovery of raid1 that fails due to error on source drive.
If a raid1 has only one working drive and it has a sector which
gives an error on read, then an attempt to recover onto a spare will
fail, but as the single remaining drive is not removed from the
array, the recovery will be immediately re-attempted, resulting
in an infinite recovery loop.

So detect this situation and don't retry recovery once an error
on the lone remaining drive is detected.

Allow recovery to be retried once every time a spare is added
in case the problem wasn't actually a media error.

Signed-off-by: NeilBrown <neilb@suse.de>
2009-01-09 08:31:11 +11:00
..
Kbuild
bitmap.h Improve setting of "events_cleared" for write-intent bitmaps. 2008-06-28 08:31:22 +10:00
linear.h md: Convert remaining 1k representations in linear.c to sectors. 2008-10-13 11:55:12 +11:00
md.h md: remove space after function name in declaration and call. 2008-10-13 11:55:12 +11:00
md_k.h md: don't retry recovery of raid1 that fails due to error on source drive. 2009-01-09 08:31:11 +11:00
md_p.h md: need another print_sb for mdp_superblock_1 2009-01-09 08:31:08 +11:00
md_u.h [PATCH] md: the scheduled removal of the START_ARRAY ioctl for md 2006-10-03 08:04:16 -07:00
multipath.h
raid0.h md: raid0: make hash_spacing and preshift sector-based. 2009-01-09 08:31:08 +11:00
raid1.h [PATCH] md: Remove working_disks from raid1 state data 2006-10-03 08:04:17 -07:00
raid5.h md: replace R5_WantPrexor with R5_WantDrain, add 'prexor' reconstruct_states 2008-06-28 08:32:06 +10:00
raid10.h [PATCH] md: remove 'working_disks' from raid10 state 2006-10-03 08:04:17 -07:00
xor.h async_tx: add the async_tx api 2007-07-13 08:06:14 -07:00