Skip to contentSkip to conversation

md bugfix for 3.1

PULLREQUEST NeilBrown 1 participant 1 message Oct 6, 2011 MD RAID

lore
Share & tools
lore

NeilBrown

author
#0 lore raw

Hi Linus,
please pull this one patch which fixes a race in md thread wakeup at the same time as shutdown. This is also a case where it isn't a race but a definite "will try to wake up a non-existent thread" when trying to start RAID10 that doesn't have enough working disks.

This is tagged for -stable.

Thanks,
NeilBrown

The following changes since commit 976d167615b64e14bc1491ca51d424e2ba9a5e84:

Linux 3.1-rc9 (2011-10-04 18:11:50 -0700)

are available in the git repository at:
git://neil.brown.name/md/ for-linus

last commit being 01f96c0a9922cd9919baf9d16febdf7016177a12

NeilBrown (1):
md: Avoid waking up a thread after it has been freed.

 drivers/md/md.c        |   22 +++++++++++++++++++---
 drivers/md/md.h        |    2 +-
 drivers/md/multipath.c |    3 +--
 drivers/md/raid1.c     |    3 +--
 drivers/md/raid10.c    |    5 ++---
 drivers/md/raid5.c     |    6 ++----
 6 files changed, 26 insertions(+), 15 deletions(-)