mirror_zfs/include
Richard Yao c3d9c0df3e Linux 3.12 compat: New shrinker API
torvalds/linux@24f7c6 introduced a new shrinker API while
torvalds/linux@a0b021 dropped support for the old shrinker API.
This patch adds support for the new shrinker API by wrapping
the old one with the new one.

This change also reorganizes the autotools checks on the shrinker
API such that the configure script will fail early if an unknown
API is encountered in the future.

Support for the set_shrinker() API which was used by Linux 2.6.22
and older has been dropped.  As a general rule compatibility is
only maintained back to Linux 2.6.26.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes zfsonlinux/zfs#1732
Closes zfsonlinux/zfs#1822
Closes #293
Closes #307
2013-11-06 13:23:40 -08:00
..
fs Change spl-kmod-devel install path 2013-03-14 12:01:05 -07:00
linux Linux 3.12 compat: New shrinker API 2013-11-06 13:23:40 -08:00
rpc Change spl-kmod-devel install path 2013-03-14 12:01:05 -07:00
sharefs Change spl-kmod-devel install path 2013-03-14 12:01:05 -07:00
sys Emulate illumos interface cv_timedwait_hires() 2013-11-04 09:49:24 -08:00
util Change spl-kmod-devel install path 2013-03-14 12:01:05 -07:00
vm Change spl-kmod-devel install path 2013-03-14 12:01:05 -07:00
Makefile.am Change spl-kmod-devel install path 2013-03-14 12:01:05 -07:00
spl-ctl.h Refresh links to web site 2013-03-04 19:09:34 -08:00
spl-debug.h Refresh links to web site 2013-03-04 19:09:34 -08:00
spl-device.h Refresh links to web site 2013-03-04 19:09:34 -08:00
spl-trace.h Refresh links to web site 2013-03-04 19:09:34 -08:00
splat-ctl.h Refresh links to web site 2013-03-04 19:09:34 -08:00
strings.h Refresh links to web site 2013-03-04 19:09:34 -08:00
unistd.h Refresh links to web site 2013-03-04 19:09:34 -08:00