Files
android_kernel_xiaomi_sm8450/fs/nfsd
J. Bruce Fields 44d8660d3b nfsd: increase DRC cache limit
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>
2017-10-04 16:25:01 -04:00
..
2014-07-08 17:14:27 -04:00
2016-10-07 18:46:30 -07:00
2016-03-18 11:42:53 -04:00
2014-08-17 12:00:12 -04:00
2017-06-05 16:56:38 +02:00
2017-02-27 18:43:47 -08:00
2017-10-04 16:25:01 -04:00
2017-06-28 13:34:15 -04:00
2016-05-29 19:08:00 -04:00
2016-01-14 17:32:51 -05:00
2017-08-31 17:32:38 -04:00