commit | aca8a23de60c705e2458b2c6731ad59aa0717f83 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Mon Feb 04 08:18:05 2013 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Mon Feb 04 17:19:12 2013 -0500 |
tree | 9b6d8ae1402b9ee701b907023d72b4f29fd41fb7 | |
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>