[GIT PULL REQUEST] late md/raid1 bug fixes for 3.17
From: NeilBrown
Date: Tue Sep 23 2014 - 22:18:48 EST
Hi Linus,
it is amazing how much easier it is to find bugs when you know one is there.
Two bug reports resulted in finding 7 bugs!!
All are tagged for -stable. Those that can't cause (rare) data corruption,
cause lockups.
Thanks,
NeilBrown
The following changes since commit d030671f3f261e528dc6e396a13f10859a74ae7c:
Merge branch 'for-3.17-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup (2014-09-07 20:20:16 -0700)
are available in the git repository at:
git://git.neil.brown.name/md/ tags/md/3.17-more-fixes
for you to fetch changes up to b8cb6b4c121e1bf1963c16ed69e7adcb1bc301cd:
md/raid1: fix_read_error should act on all non-faulty devices. (2014-09-22 11:26:01 +1000)
----------------------------------------------------------------
Bugfixes for md/raid1
particularly, but not only, fixing new "resync" code.
----------------------------------------------------------------
NeilBrown (8):
md/raid1: intialise start_next_window for READ case to avoid hang
md/raid1: be more cautious where we read-balance during resync.
md/raid1: clean up request counts properly in close_sync()
md/raid1: make sure resync waits for conflicting writes to complete.
md/raid1: Don't use next_resync to determine how far resync has progressed
md/raid1: update next_resync under resync_lock.
md/raid1: count resync requests in nr_pending.
md/raid1: fix_read_error should act on all non-faulty devices.
drivers/md/raid1.c | 40 ++++++++++++++++++++++------------------
1 file changed, 22 insertions(+), 18 deletions(-)
Attachment:
signature.asc
Description: PGP signature