mirror_zfs/include
Tim Chase 802a4a2ad5 Linux 3.12 compat: shrinker semantics
The new shrinker API as of Linux 3.12 modifies "struct shrinker" by
replacing the @shrink callback with the pair of @count_objects and
@scan_objects.  It also requires the return value of @count_objects to
return the number of objects actually freed whereas the previous @shrink
callback returned the number of remaining freeable objects.

This patch adds support for the new @scan_objects return value semantics
and updates the splat shrinker test case appropriately.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tim Chase <tim@chase2k.com>
Closes #403
2014-10-28 09:20:13 -07:00
..
fs Change spl-kmod-devel install path 2013-03-14 12:01:05 -07:00
linux Linux 3.12 compat: shrinker semantics 2014-10-28 09:20:13 -07: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 Remove proc_handler() wrapper 2014-10-17 15:11:52 -07: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 Update code to use misc_register()/misc_deregister() 2014-10-17 15:07:28 -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-trace.h Refresh links to web site 2013-03-04 19:09:34 -08:00
splat-ctl.h Update code to use misc_register()/misc_deregister() 2014-10-17 15:07:28 -07: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