mirror_zfs/include/linux
Brian Behlendorf fe71c0e567 Linux 3.1 compat, shrink_*cache_memory
As of Linux 3.1 the shrink_dcache_memory and shrink_icache_memory
functions have been removed.  This same task is now accomplished
more cleanly with per super block shrinkers.  This unfortunately
leaves us no easy way to support the dnlc_reduce_cache() function.

This support has always been entirely optional.  So when no
reasonable interface is available allow the dnlc_reduce_cache()
function to effectively become a no-op.

The downside of this change is that it will prevent the zfs arc
meta data limts from being enforced.  However, the current zfs
implementation in this regard is already flawed and needs to
be reworked.  If the arc needs to enfore a meta data limit it
will need to be extended to coordinate directly with the zpl.
This will allow us to drop all this compatibility code and get
more fine grained control over the cache management.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #52
2011-11-09 19:36:30 -08:00
..
bitops_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
compiler_compat.h Fix compilation error due to undefined ACCESS_ONCE macro. 2010-07-20 13:47:52 -07:00
file_compat.h Linux 3.1 compat, vfs_fsync() 2011-11-09 19:36:21 -08:00
kallsyms_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
list_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
Makefile.in Build system and packaging (RPM support) 2009-03-09 15:56:55 -07:00
math64_compat.h Add __divdi3(), remove __udivdi3() kernel dependency 2010-07-13 16:44:02 -07:00
mm_compat.h Linux 3.1 compat, shrink_*cache_memory 2011-11-09 19:36:30 -08:00
module_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
mutex_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
proc_compat.h Linux-2.6.33 compat, .ctl_name removed from struct ctl_table 2010-06-30 12:49:12 -07:00
rwsem_compat.h Correctly handle rwsem_is_locked() behavior 2010-08-10 16:43:00 -07:00
smp_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
sysctl_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
time_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
uaccess_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
workqueue_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
zlib_compat.h Linux 2.6.39 compat, zlib_deflate_workspacesize() 2011-04-20 14:39:15 -07:00