HAMMER - Add live_dedup_cache_size sysctl
authorIlya Dryomov <idryomov@gmail.com>
Tue, 4 Jan 2011 16:15:48 +0000 (18:15 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 4 Jan 2011 19:39:57 +0000 (21:39 +0200)
commite2ef7a952eb731a891bead7cbf328dd8d44c4293
tree3eb015d1c506bf3a998de770e30cd215cd4f70b5
parentf06b3d6d45b779f7f3e1375163b28faf49961fa7
HAMMER - Add live_dedup_cache_size sysctl

* There is now a hammer_live_dedup_cache_size variable which can be
  set via sysctl vfs.hammer.live_dedup_cache_size.  The default is 4096.

* A better solution is to make it scale automatically according to
  nbufs or a number of vnodes.
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_dedup.c
sys/vfs/hammer/hammer_vfsops.c