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

git: DragonFly_RELEASE_3_0 kernel -- ffs: Softdep lock and assorted fixes


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Aug 2012 19:24:53 -0700 (PDT)

commit 091cd5fc55acc746c572109574cac55c72e27d6f
Author: Venkatesh Srinivas <me@endeavour.zapto.org>
Date:   Mon May 7 08:28:48 2012 -0700

    kernel -- ffs: Softdep lock and assorted fixes
    
    * Remove interlocked_sleep; we can just use lksleep directly
    
    * sema_get no longer eats the interlock passed in; all of its
      callers were retaking the lock eventually or immediately.
    
    * softdep was setting up a callout to wake itself in request_cleanup.
      Switch to directly using timeout in lksleep for this purpose.
    
    * Do not access inodedep structure outside of softdep lock in
      softdep_update_inodeblock for buffer field.
    
    * Remove prio field from semaphores; they were unused and the DFly
      tsleep routines do not respect priority anyway.
    
    * Do not release softdep lock before panic()ing

Summary of changes:
 sys/vfs/ufs/ffs_softdep.c |  140 ++++++++-------------------------------------
 1 files changed, 25 insertions(+), 115 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/091cd5fc55acc746c572109574cac55c72e27d6f


-- 
DragonFly BSD source repository



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