aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfsd/nfsd.h3
-rw-r--r--include/linux/sunrpc/svc.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/nfsd/nfsd.h b/include/linux/nfsd/nfsd.h
index ab9616d09204..1f063d495159 100644
--- a/include/linux/nfsd/nfsd.h
+++ b/include/linux/nfsd/nfsd.h
@@ -331,6 +331,9 @@ extern struct timeval nfssvc_boot;
331#define NFSD_LEASE_TIME (nfs4_lease_time()) 331#define NFSD_LEASE_TIME (nfs4_lease_time())
332#define NFSD_LAUNDROMAT_MINTIMEOUT 10 /* seconds */ 332#define NFSD_LAUNDROMAT_MINTIMEOUT 10 /* seconds */
333 333
334/* The percent of nr_free_buffer_pages used by the V4.1 server DRC */
335#define NFSD_DRC_SIZE_SHIFT 7
336
334/* 337/*
335 * The following attributes are currently not supported by the NFSv4 server: 338 * The following attributes are currently not supported by the NFSv4 server:
336 * ARCHIVE (deprecated anyway) 339 * ARCHIVE (deprecated anyway)
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h
index 815dd589d4db..d209c630a4a1 100644
--- a/include/linux/sunrpc/svc.h
+++ b/include/linux/sunrpc/svc.h
@@ -95,6 +95,8 @@ struct svc_serv {
95 struct module * sv_module; /* optional module to count when 95 struct module * sv_module; /* optional module to count when
96 * adding threads */ 96 * adding threads */
97 svc_thread_fn sv_function; /* main function for threads */ 97 svc_thread_fn sv_function; /* main function for threads */
98 unsigned int sv_drc_max_pages; /* Total pages for DRC */
99 unsigned int sv_drc_pages_used;/* DRC pages used */
98}; 100};
99 101
100/* 102/*