aboutsummaryrefslogtreecommitdiffstats
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2013-02-04 08:18:06 -0500
committerJ. Bruce Fields <bfields@redhat.com>2013-02-04 17:19:13 -0500
commitb4e7f2c9450968303d24b48fec9da8abebcc0036 (patch)
treec3fd66317bf1df16cfd939bcf30e643d2146239f /fs/read_write.c
parentaca8a23de60c705e2458b2c6731ad59aa0717f83 (diff)
nfsd: register a shrinker for DRC cache entries
Since we dynamically allocate them now, allow the system to call us up to release them if it gets low on memory. Since these entries aren't replaceable, only free ones that are expired or that are over the cap. The the seeks value is set to '1' however to indicate that freeing the these entries is low-cost. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions