diff options
author | NeilBrown <neilb@suse.de> | 2013-07-04 16:41:53 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-07-04 16:42:57 +1000 |
commit | 1376512065b23f39d5f9a160948f313397dde972 (patch) | |
tree | 271ff9fe2a1616b45b24457e37b7088c4fd2923c /net | |
parent | fdcfbbb653b27964c4daa4d2bcb364259c257e7d (diff) | |
download | op-kernel-dev-1376512065b23f39d5f9a160948f313397dde972.zip op-kernel-dev-1376512065b23f39d5f9a160948f313397dde972.tar.gz |
md/raid10: fix bug which causes all RAID10 reshapes to move no data.
The recent comment:
commit 7e83ccbecd608b971f340e951c9e84cd0343002f
md/raid10: Allow skipping recovery when clean arrays are assembled
Causes raid10 to skip a recovery in certain cases where it is safe to
do so. Unfortunately it also causes a reshape to be skipped which is
never safe. The result is that an attempt to reshape a RAID10 will
appear to complete instantly, but no data will have been moves so the
array will now contain garbage.
(If nothing is written, you can recovery by simple performing the
reverse reshape which will also complete instantly).
Bug was introduced in 3.10, so this is suitable for 3.10-stable.
Cc: stable@vger.kernel.org (3.10)
Cc: Martin Wilck <mwilck@arcor.de>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions