commit | 10717f45639f6c1bc27b56405252c3a027406d92 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trondmy@gmail.com> | Mon Jan 27 09:58:19 2020 -0500 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Mon Feb 03 16:35:07 2020 -0500 |
tree | 1e662a1cf98f5fbef1a540f53732bd3facc1afea | |
parent | d2269ea14ebd2a73f291d6b3a7a7d320ec00270c [diff] |
NFSv4: Limit the total number of cached delegations Delegations can be expensive to return, and can cause scalability issues for the server. Let's therefore try to limit the number of inactive delegations we hold. Once the number of delegations is above a certain threshold, start to return them on close. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>