cvs commit: src/sys/dev/md md.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sat Sep 3 09:02:38 PDT 2005
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
More information about the cvs-src
mailing list