zfs/include/linux
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
..
Makefile.am Remove proc_handler() wrapper 2014-10-17 15:11:52 -07:00
bitops_compat.h Map highbit64() to fls64() 2014-10-17 15:11:50 -07:00
compiler_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
delay_compat.h Emulate illumos interface cv_timedwait_hires() 2013-11-04 09:49:24 -08:00
file_compat.h Remove vfs_fsync() wrapper 2014-10-17 15:11:52 -07:00
list_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
math64_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
mm_compat.h Linux 3.12 compat: shrinker semantics 2014-10-28 09:20:13 -07:00
module_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
proc_compat.h Remove CTL_UNNUMBERED sysctl interface 2014-10-17 15:11:50 -07:00
rwsem_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
wait_compat.h Linux 3.17 compat: remove wait_on_bit action function 2014-08-11 14:17:00 -07:00
zlib_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00