J. Bruce Fields 3d583a3884 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>
2019-07-31 07:28:48 +02:00
..
2018-07-08 15:30:51 +02:00
2019-07-31 07:28:47 +02:00
2018-12-17 09:28:54 +01:00
2018-12-21 14:13:04 +01:00
2017-09-04 19:05:15 -04:00
2019-03-13 14:03:11 -07:00