aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/dmu_objset.c
diff options
context:
space:
mode:
authorTim Chase <[email protected]>2014-10-02 07:21:08 -0500
committerBrian Behlendorf <[email protected]>2014-10-28 09:34:51 -0700
commited6e9cc235b47b5c940178926715f871bd36dc5e (patch)
tree53ba7485463ca7c97aa3d2790afab1536919e410 /module/zfs/dmu_objset.c
parent9635861742c6ac334877f944e17948aa11c2e57a (diff)
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. Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: Tim Chase <[email protected]> Closes #2837
Diffstat (limited to 'module/zfs/dmu_objset.c')
0 files changed, 0 insertions, 0 deletions