提交 6a14dd1a 编写于 作者: A Andy Adamson 提交者: J. Bruce Fields

nfsd41: reserve less memory for DRC

Also remove a slightly misleading comment.
Signed-off-by: NAndy Adamson <andros@netapp.com>
Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
上级 b101ebbc
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册