diff options
author | Jeff Layton <jlayton@redhat.com> | 2013-02-04 08:18:05 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-02-04 17:19:12 -0500 |
commit | aca8a23de60c705e2458b2c6731ad59aa0717f83 (patch) | |
tree | 9b6d8ae1402b9ee701b907023d72b4f29fd41fb7 /block/compat_ioctl.c | |
parent | 2c6b691c05bf77c4bc7c9f1a9b6d93a160928421 (diff) |
nfsd: add recurring workqueue job to clean the cache
It's not sufficient to only clean the cache when requests come in. What
if we have a flurry of activity and then the server goes idle? Add a
workqueue job that will clean the cache every RC_EXPIRE period.
Care is taken to only run this when we expect to have entries expiring.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'block/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions