summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2017-09-19 20:51:31 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-04 09:34:55 +0200
commitc499d67f070f9147dea5199710a30ec1c4647065 (patch)
tree15adbb1aed79797f25fe4faafef2aa9757f83a1a /include/linux/timerqueue.h
parentb49ba75c3c9f225c1d60166efccbcc2e00fb9638 (diff)
nfsd: increase DRC cache limit
[ Upstream commit 44d8660d3bb0a1c8363ebcb906af2343ea8e15f6 ] An NFSv4.1+ client negotiates the size of its duplicate reply cache size in the initial CREATE_SESSION request. The server preallocates the memory for the duplicate reply cache to ensure that we'll never fail to record the response to a nonidempotent operation. To prevent a few CREATE_SESSIONs from consuming all of memory we set an upper limit based on nr_free_buffer_pages(). 1/2^10 has been too limiting in practice; 1/2^7 is still less than one percent. Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions