cvs commit: src/sys/dev/md md.c

Pawel Jakub Dawidek pjd at
Wed Aug 31 19:45:12 GMT 2005

pjd         2005-08-31 19:45:11 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/md           md.c 
  - 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 provked by simple stress test.
  Tested by:      Kris The BugMagnet
  MFC after:      3 days
  Revision  Changes    Path
  1.155     +37 -25    src/sys/dev/md/md.c

More information about the cvs-src mailing list