Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Sep 2005 16:02:37 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/md md.c
Message-ID:  <200509031602.j83G2bEg061874@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2005-09-03 16:02:37 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/md           md.c 
  Log:
  MFC:    sys/dev/md/md.c 1.155
  
  - Add md_mtx lock to protect ID number and list of devices.
  - Always check mdnew() return value, as even in !autounit case
    kthread_create() can fail.
  
  Those two changes fix serval panics provoked by simple stress test.
  
  Tested by:      Kris The BugMagnet
  Approved by:    re (scottl)
  
  Revision   Changes    Path
  1.153.2.1  +37 -25    src/sys/dev/md/md.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509031602.j83G2bEg061874>