commit | 6d548079fce3fd78770c045772f1370b0d1ce9d4 | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Tue Sep 19 19:25:41 2017 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Aug 04 09:33:36 2019 +0200 |
tree | 48fccab3b8e498cdbc9b9bd9849d9677b7d0feeb | |
parent | dbd040b42d987f6d73192e9721b8722816d38c06 [diff] |
nfsd: give out fewer session slots as limit approaches [ Upstream commit de766e570413bd0484af0b580299b495ada625c3 ] Instead of granting client's full requests until we hit our DRC size limit and then failing CREATE_SESSIONs (and hence mounts) completely, start granting clients smaller slot tables as we approach the limit. The factor chosen here is pretty much arbitrary. Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>