From: Jeff Layton Date: Mon, 4 Feb 2013 13:18:05 +0000 (-0500) Subject: nfsd: add recurring workqueue job to clean the cache X-Git-Tag: v3.9-rc1~40^2~25 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aca8a23de60c705e2458b2c6731ad59aa0717f83;p=pandora-kernel.git 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 Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed