kernel - Use atomic ops to update hammer_count_refedbufs
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 2 Jan 2012 19:27:56 +0000 (11:27 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 2 Jan 2012 19:27:56 +0000 (11:27 -0800)
commitc1745db97f7e31c341644220c7b85281c8dd6013
tree5239a9f39c2f0e01181827054c993be12775fabe
parentb6ced256cfe16d9647086e80fb1f6d86ad03f3da
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.
sys/vfs/hammer/hammer_ondisk.c
sys/vfs/hammer/hammer_recover.c