The following patches fix up the garbage collection for the knfsd file cache, to make the behaviour under load be more predictable. It also separates out the garbage collectors for knfsd instances running under different containers to ensure that a close() or fput() of a file in one container that hangs or is slow won't gum up the system for all the other containers. Trond Myklebust (6): nfsd: fix filecache lookup nfsd: cleanup nfsd_file_lru_dispose() nfsd: Containerise filecache laundrette nfsd: Remove unused constant NFSD_FILE_LRU_RESCAN nfsd: Schedule the laundrette regularly irrespective of file errors nfsd: Reduce the number of calls to nfsd_file_gc() fs/nfsd/filecache.c | 285 ++++++++++++++++++++++++++++++++++---------- fs/nfsd/filecache.h | 2 + fs/nfsd/nfssvc.c | 9 +- 3 files changed, 230 insertions(+), 66 deletions(-) -- 2.24.1