cvs commit: src/sys/vfs/hammer hammer.h hammer_btree.c hammer_cursor.c hammer_flusher.c hammer_inode.c hammer_mirror.c hammer_object.c hammer_prune.c hammer_reblock.c hammer_subs.c

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jul 10 18:24:11 PDT 2008


dillon      2008/07/10 18:22:29 PDT

DragonFly src repository

  Modified files:
    sys/vfs/hammer       hammer.h hammer_btree.c hammer_cursor.c 
                         hammer_flusher.c hammer_inode.c 
                         hammer_mirror.c hammer_object.c 
                         hammer_prune.c hammer_reblock.c 
                         hammer_subs.c 
  Log:
  HAMMER 61B/Many: Stabilization
  
  * Giving the sync_lock's exclusive locks priority over shared locks caused
    a 3-way deadlock, revert to using normal shared locks.
  
  * Move the syncer_lock deeper, closer to the code that actually needs to
    hold but still paying attention to atomicy requirements.  This reduces
    lock contention and improves performance with parallel loads.
  
  Reported-by: Michael Neumann (using his file-creator program)
  
  Revision  Changes    Path
  1.111     +0 -1      src/sys/vfs/hammer/hammer.h
  1.70      +3 -0      src/sys/vfs/hammer/hammer_btree.c
  1.41      +7 -3      src/sys/vfs/hammer/hammer_cursor.c
  1.35      +0 -3      src/sys/vfs/hammer/hammer_flusher.c
  1.99      +9 -4      src/sys/vfs/hammer/hammer_inode.c
  1.11      +18 -4     src/sys/vfs/hammer/hammer_mirror.c
  1.86      +7 -4      src/sys/vfs/hammer/hammer_object.c
  1.13      +2 -9      src/sys/vfs/hammer/hammer_prune.c
  1.26      +0 -3      src/sys/vfs/hammer/hammer_reblock.c
  1.34      +12 -29    src/sys/vfs/hammer/hammer_subs.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer.h.diff?r1=1.110&r2=1.111&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_btree.c.diff?r1=1.69&r2=1.70&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_cursor.c.diff?r1=1.40&r2=1.41&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_flusher.c.diff?r1=1.34&r2=1.35&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_inode.c.diff?r1=1.98&r2=1.99&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_mirror.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_object.c.diff?r1=1.85&r2=1.86&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_prune.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_reblock.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_subs.c.diff?r1=1.33&r2=1.34&f=u





More information about the Commits mailing list