md fixes for 2.6.36
Hi Linus,
It turns out there is a regression:
https://bugzilla.kernel.org/show_bug.cgi?id=19642
that was my fault.
The first of these three patches (avoid overflow...) fixes it. The other two are very small fixes that seem suitable to include at this time.
Thanks,
NeilBrown
The following changes since commit 7c6d45e665d5322401e4439060bbf758b08422d4:
powerpc: remove unused variable (2010-10-05 17:27:54 -0700)
are available in the git repository at:
git://neil.brown.name/md for-linus
NeilBrown (2):
md/raid1: avoid overflow in raid1 resync when bitmap is in use. md/raid1: minor bio initialisation improvements.
Vasiliy Kulikov (1):
md: check return code of read_sb_page
drivers/md/bitmap.c | 9 +++++---- drivers/md/raid1.c | 4 +++- 2 files changed, 8 insertions(+), 5 deletions(-)
Quoted 6 lines
Hi Linus,
It turns out there is a regression:https://bugzilla.kernel.org/show_bug.cgi?id=19642that was my fault.
The first of these three patches (avoid overflow...) fixes it.
Just a confirmation that the patch series (I didn't try them one at a time) fixes the regression. I'd also like to agitate for inclusion in 2.6.36.
Thank you very much; this was obviously a slightly obscure bug!