]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Limit the size of the access cache by default
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 8 Feb 2020 14:14:11 +0000 (09:14 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 16 Mar 2020 12:34:29 +0000 (08:34 -0400)
commit0074c30149ebec1fa5a0df67e5e6d0dce0600e87
treeca983a1a3652133a2bb35a34e9eefb05f8c824b4
parent4c092ce8c46a95e782be1fd8ffe5670516b9bdc0
NFS: Limit the size of the access cache by default

Currently, we have no real limit on the access cache size (we set it
to ULONG_MAX). That can lead to credentials getting pinned for a
very long time on lots of files if you have a system with a lot of
memory.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/dir.c