md bugfixes for 3.4-rc
Hi Linus,
a few md updates.
Thanks,
NeilBrown
The following changes since commit dd775ae2549217d3ae09363e3edb305d0fa19928:
Linux 3.4-rc1 (2012-03-31 16:24:09 -0700)
are available in the git repository at:
git://neil.brown.name/md/ tags/md-3.4-fixes
for you to fetch changes up to 5020ad7d143ccfcf8149974096220d59e5572120:
md/raid1,raid10: don't compare excess byte during consistency check. (2012-04-03 15:39:23 +1000)
----------------------------------------------------------------
md: Assort fixes for 3.4-rc
- some RAID levels didn't clear up properly if md_integrity_register failed
- a 'check' of RAID5/RAID6 doesn't actually read any data since a recent patch - so fix that (and mark for -stable)
- a couple of other minor bugs.
----------------------------------------------------------------
Jes Sorensen (1):
md: Avoid OOPS when reshaping raid1 to raid0
NeilBrown (2):
md/raid5: fix handling of bad blocks during recovery. md/raid1,raid10: don't compare excess byte during consistency check.
majianpeng (5):
md/linear: If md_integrity_register() fails, linear_run() must free the mem. md/raid0: If md_integrity_register() fails, raid0_run() must free the mem. md/raid1: If md_integrity_register() failed,run() must free the mem md/raid1:Remove unnecessary rcu_dereference(conf->mirrors[i].rdev). md/raid5: Fix a bug about judging if the operation is syncing or replacing
drivers/md/linear.c | 9 +++++++- drivers/md/raid0.c | 27 +++++++++++++++++++++-- drivers/md/raid1.c | 13 ++++++++---- drivers/md/raid10.c | 2 +- drivers/md/raid5.c | 59 ++++++++++++++++++++++++++++----------------------- 5 files changed, 75 insertions(+), 35 deletions(-)