]> git.proxmox.com Git - mirror_spl.git/commit
Remove sysctl_vfs_cache_pressure assumption
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 30 Sep 2014 18:51:53 +0000 (14:51 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 17 Oct 2014 22:07:28 +0000 (15:07 -0700)
commitaa363c5c0507ed660f57655211df1fe2c30b380e
treebf52fffce21075b7f676ee06ef11709379a01da5
parenta80d69caf0daa28d661c88cb699bee02de2e312d
Remove sysctl_vfs_cache_pressure assumption

The generic SPL cache shrinkers make the assumption that the
caches only contain VFS cache data and therefore should be scaled
based on vfs_cache_pressure.  This is not strictly true and it
should not be assumed.

Removing this tuning should not have any impact on the stock
behavior because vfs_cache_pressure=100 by default.  This means
that no scaling will take place.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/spl/spl-kmem.c