DragonFly BSD
DragonFly commits List (threaded) for 2013-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel -- ccd: Concatenated disk MPLOCK rework.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 2 Jan 2013 01:58:51 -0800 (PST)

commit bf0d11829f31525ea6c0dbd5a7cfa25053a93766
Author: Venkatesh Srinivas <vsrinivas@ops101.org>
Date:   Wed Jan 2 00:36:25 2013 -0500

    kernel -- ccd: Concatenated disk MPLOCK rework.
    
    * Remove freelist of ccdbuf structures; kmalloc is good enough for them,
      removes a global list.
    
    * Rework ccdlock/ccdunlock to use a real lockmgr lock rather than a
      hand-rolled "lock" in the flags field.
    
    * Mark ccd disk D_MPSAFE; calls disk strategy routines without the MPLOCK.
    
    * Remove mplock from ccdiodone biodone callback; use ccdlock() on the
      softcontroller instead.
    
    * Remove unneeded critical section around ccdstart and in ccdioctl.
    
    * Remove mplock2.h.
    
    * Remove cb_freenext linkage from ccd buffers.

Summary of changes:
 sys/dev/disk/ccd/ccd.c |  103 +++++++++++++-----------------------------------
 sys/sys/ccdvar.h       |    3 +-
 2 files changed, 29 insertions(+), 77 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bf0d11829f31525ea6c0dbd5a7cfa25053a93766


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]