projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b101ebb
)
nfsd41: reserve less memory for DRC
author
Andy Adamson
<andros@netapp.com>
Mon, 27 Jul 2009 23:06:45 +0000
(19:06 -0400)
committer
J. Bruce Fields
<bfields@citi.umich.edu>
Tue, 28 Jul 2009 18:29:59 +0000
(14:29 -0400)
Also remove a slightly misleading comment.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfssvc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/nfssvc.c
b/fs/nfsd/nfssvc.c
index 78d8fcd883fb0cf11ea3631c939ce9761ecdb268..9be2a1932f8afee02c55884d5b2585d5b97e37b1 100644
(file)
--- a/
fs/nfsd/nfssvc.c
+++ b/
fs/nfsd/nfssvc.c
@@
-246,8
+246,7
@@
void nfsd_reset_versions(void)
*/
static void set_max_drc(void)
{
- /* The percent of nr_free_buffer_pages used by the V4.1 server DRC */
- #define NFSD_DRC_SIZE_SHIFT 7
+ #define NFSD_DRC_SIZE_SHIFT 10
nfsd_drc_max_pages = nr_free_buffer_pages()
>> NFSD_DRC_SIZE_SHIFT;
nfsd_drc_pages_used = 0;