diff options
author | NeilBrown <neilb@suse.de> | 2012-07-03 02:37:30 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-07-03 02:37:30 +0200 |
commit | fc448a18ae6219af9a73257b1fbcd009efab4a81 (patch) | |
tree | 4060ac0bb5a476696be56ae1d60b7242715baf46 /Documentation/nfc | |
parent | Linux 3.5-rc4 (diff) | |
download | linux-fc448a18ae6219af9a73257b1fbcd009efab4a81.tar.xz linux-fc448a18ae6219af9a73257b1fbcd009efab4a81.zip |
md/raid10: Don't try to recovery unmatched (and unused) chunks.
If a RAID10 has an odd number of chunks - as might happen when there
are an odd number of devices - the last chunk has no pair and so is
not mirrored. We don't store data there, but when recovering the last
device in an array we retry to recover that last chunk from a
non-existent location. This results in an error, and the recovery
aborts.
When we get to that last chunk we should just stop - there is nothing
more to do anyway.
This bug has been present since the introduction of RAID10, so the
patch is appropriate for any -stable kernel.
Cc: stable@vger.kernel.org
Reported-by: Christian Balzer <chibi@gol.com>
Tested-by: Christian Balzer <chibi@gol.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Documentation/nfc')
0 files changed, 0 insertions, 0 deletions