git: kernel - Use atomic ops to update hammer_count_refedbufs

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 2 11:29:45 PST 2012


commit c1745db97f7e31c341644220c7b85281c8dd6013
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jan 2 11:27:56 2012 -0800

    kernel - Use atomic ops to update hammer_count_refedbufs
    
    * This global is used only for statistical reporting via sysctl and has
      no operational effect.
    
    * Use atomic ops to avoid tracking errors from multiple hammer mounts.

Summary of changes:
 sys/vfs/hammer/hammer_ondisk.c  |   12 ++++++------
 sys/vfs/hammer/hammer_recover.c |    2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list