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

git: kernel - Use atomic ops to update hammer_count_refedbufs


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 2 Jan 2012 11:29:45 -0800 (PST)

commit c1745db97f7e31c341644220c7b85281c8dd6013
Author: Matthew Dillon <dillon@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



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