Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2005 06:55:27 +0000 (UTC)
From:      Poul-Henning Kamp <phk@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:  <200509190655.j8J6tSNH011292@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2005-09-19 06:55:27 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/md           md.c 
  Log:
  Fix configuration locking in MD.
  
  Remove  md_mtx.
  
  Remove GIANT from the mdctl device driver and avoid DROP_GIANT,
  PICKUP_GIANT and geom events since we can call into GEOM directly
  now.
  
  Pick up Giant around vn_close().
  
  Apply an exclusive sx around mdctls ioctl and preloading to protect
  lists etc..
  
  Don't initialize our lock (md_mtx or md_sx) from a
  SYSINIT when there is a perfectly good pair of _fini/_init
  functions to do it from.
  
  Prune any final fractional sector from the mediasize to
  keep GEOM happy.
  
  Cleanups:
  
  Unify MDIOVERSION check in (x)mdctlioctl()
  
  Add pointer to start() routine to softc to eliminate a switch{}
  
  Inline guts of mddetach().
  
  Always pass error pointer to mdnew(), simplify implementation.
  
  Revision  Changes    Path
  1.157     +80 -116   src/sys/dev/md/md.c



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