diff options
author | Dave Chinner <dchinner@redhat.com> | 2011-07-08 04:14:44 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-21 00:47:41 (GMT) |
commit | 0e1fdafd93980eac62e778798549ce0f6073905c (patch) | |
tree | a8b21525d195d436fa738e9a470e64eaa21e6736 /lib/bitrev.c | |
parent | 4f8c19fdf3f97402b68f058b1c72a6c7166c9e59 (diff) | |
download | linux-fsl-qoriq-0e1fdafd93980eac62e778798549ce0f6073905c.tar.xz |
superblock: add filesystem shrinker operations
Now we have a per-superblock shrinker implementation, we can add a
filesystem specific callout to it to allow filesystem internal
caches to be shrunk by the superblock shrinker.
Rather than perpetuate the multipurpose shrinker callback API (i.e.
nr_to_scan == 0 meaning "tell me how many objects freeable in the
cache), two operations will be added. The first will return the
number of objects that are freeable, the second is the actual
shrinker call.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib/bitrev.c')
0 files changed, 0 insertions, 0 deletions